Working on switching to std::string.

This commit is contained in:
Ben Vanik
2014-08-16 02:30:23 -07:00
parent 01f0b14250
commit a4dfc23abc
34 changed files with 211 additions and 250 deletions

View File

@@ -13,7 +13,9 @@ namespace alloy {
namespace frontend {
namespace ppc {
uint64_t ParseInt64(const char* value) { return xestrtoulla(value, NULL, 0); }
uint64_t ParseInt64(const char* value) {
return std::strtoull(value, nullptr, 0);
}
void PPCContext::SetRegFromString(const char* name, const char* value) {
int n;