| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 416512a36a5eb8b200f039c4f7fd377fd93adc25..e2b29df02fcf036e75afc1d501ba160e089a72ef 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -256,7 +256,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());
|
| }
|
|
|
| @@ -309,13 +309,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());
|
| }
|
|
|
|
|
| @@ -360,7 +360,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);
|
| }
|
| @@ -1224,9 +1224,10 @@ LInstruction* LChunkBuilder::DoMathAbs(HUnaryMathOperation* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) {
|
| - LOperand* input = UseFixedDouble(instr->value(), d2);
|
| - LMathLog* result = new(zone()) LMathLog(input);
|
| - return MarkAsCall(DefineFixedDouble(result, d2), instr);
|
| + ASSERT(instr->representation().IsDouble());
|
| + ASSERT(instr->value()->representation().IsDouble());
|
| + LOperand* input = UseFixedDouble(instr->value(), d0);
|
| + return MarkAsCall(DefineFixedDouble(new(zone()) LMathLog(input), d0), instr);
|
| }
|
|
|
|
|
|
|