| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 344879291c88bb644e4275edec67fc45d852a3d1..155ef6309cb4fc1d82c1cfee325f3a29275286b6 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -261,7 +261,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());
|
| }
|
|
|
| @@ -314,13 +314,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());
|
| }
|
|
|
|
|
| @@ -365,7 +365,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);
|
| }
|
| @@ -1201,9 +1201,10 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) {
|
| + ASSERT(instr->representation().IsDouble());
|
| + ASSERT(instr->value()->representation().IsDouble());
|
| LOperand* input = UseFixedDouble(instr->value(), f4);
|
| - LMathLog* result = new(zone()) LMathLog(input);
|
| - return MarkAsCall(DefineFixedDouble(result, f4), instr);
|
| + return MarkAsCall(DefineFixedDouble(new(zone()) LMathLog(input), f4), instr);
|
| }
|
|
|
|
|
|
|