Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 0f7ebc44fb510c4a02a58d2d11411b6062ccfc9a..434e10be5fdcf2c999f34f72d3444af32318c521 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -259,7 +259,7 @@ void LTypeofIsAndBranch::PrintDataTo(StringStream* stream) { |
stream->Add("if typeof "); |
value()->PrintTo(stream); |
stream->Add(" == \"%s\" then B%d else B%d", |
- *hydrogen()->type_literal()->ToCString(), |
+ hydrogen()->type_literal()->ToCString().get(), |
true_block_id(), false_block_id()); |
} |
@@ -312,13 +312,13 @@ void LCallKeyed::PrintDataTo(StringStream* stream) { |
void LCallNamed::PrintDataTo(StringStream* stream) { |
SmartArrayPointer<char> name_string = name()->ToCString(); |
- stream->Add("%s #%d / ", *name_string, arity()); |
+ stream->Add("%s #%d / ", name_string.get(), arity()); |
} |
void LCallGlobal::PrintDataTo(StringStream* stream) { |
SmartArrayPointer<char> name_string = name()->ToCString(); |
- stream->Add("%s #%d / ", *name_string, arity()); |
+ stream->Add("%s #%d / ", name_string.get(), arity()); |
} |
@@ -384,7 +384,7 @@ void LStoreNamedField::PrintDataTo(StringStream* stream) { |
void LStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
object()->PrintTo(stream); |
stream->Add("."); |
- stream->Add(*String::cast(*name())->ToCString()); |
+ stream->Add(String::cast(*name())->ToCString().get()); |
stream->Add(" <- "); |
value()->PrintTo(stream); |
} |