Index: src/hydrogen-instructions.cc |
diff --git a/src/hydrogen-instructions.cc b/src/hydrogen-instructions.cc |
index 9f962023572b38d3b2f879933171eccb0f13c49d..219fd21c42c6ce37b213cb0f36f898bfea5927ac 100644 |
--- a/src/hydrogen-instructions.cc |
+++ b/src/hydrogen-instructions.cc |
@@ -2501,7 +2501,7 @@ void HEnterInlined::RegisterReturnTarget(HBasicBlock* return_target, |
void HEnterInlined::PrintDataTo(StringStream* stream) { |
SmartArrayPointer<char> name = function()->debug_name()->ToCString(); |
- stream->Add("%s, id=%d", *name, function()->id().ToInt()); |
+ stream->Add("%s, id=%d", name.get(), function()->id().ToInt()); |
} |
@@ -3112,7 +3112,7 @@ HCheckMaps* HCheckMaps::New(Zone* zone, |
void HLoadNamedGeneric::PrintDataTo(StringStream* stream) { |
object()->PrintNameTo(stream); |
stream->Add("."); |
- stream->Add(*String::cast(*name())->ToCString()); |
+ stream->Add(String::cast(*name())->ToCString().get()); |
} |
@@ -3250,7 +3250,7 @@ void HStoreNamedGeneric::PrintDataTo(StringStream* stream) { |
object()->PrintNameTo(stream); |
stream->Add("."); |
ASSERT(name()->IsString()); |
- stream->Add(*String::cast(*name())->ToCString()); |
+ stream->Add(String::cast(*name())->ToCString().get()); |
stream->Add(" = "); |
value()->PrintNameTo(stream); |
} |
@@ -4402,11 +4402,15 @@ void HObjectAccess::PrintTo(StringStream* stream) { |
break; |
case kDouble: // fall through |
case kInobject: |
- if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
+ if (!name_.is_null()) { |
+ stream->Add(String::cast(*name_)->ToCString().get()); |
+ } |
stream->Add("[in-object]"); |
break; |
case kBackingStore: |
- if (!name_.is_null()) stream->Add(*String::cast(*name_)->ToCString()); |
+ if (!name_.is_null()) { |
+ stream->Add(String::cast(*name_)->ToCString().get()); |
+ } |
stream->Add("[backing-store]"); |
break; |
case kExternalMemory: |