Chromium Code Reviews| Index: src/a64/lithium-codegen-a64.cc |
| diff --git a/src/a64/lithium-codegen-a64.cc b/src/a64/lithium-codegen-a64.cc |
| index 64da578e5ccf5667e7f44cf9063dd64781341319..da03ccc214700a949048b590d342a434f84521c2 100644 |
| --- a/src/a64/lithium-codegen-a64.cc |
| +++ b/src/a64/lithium-codegen-a64.cc |
| @@ -520,9 +520,8 @@ void LCodeGen::LoadContextFromDeferred(LOperand* context) { |
| } else if (context->IsConstantOperand()) { |
| HConstant* constant = |
| chunk_->LookupConstant(LConstantOperand::cast(context)); |
| - // TODO(all): on ARM this move can handle object in new space, not in A64. |
| - // Check if this can be a problem. |
| - __ Mov(cp, Operand(Handle<Object>::cast(constant->handle(isolate())))); |
| + __ LoadHeapObject(cp, |
|
ulan
2014/02/11 10:49:04
ARM uses "Move(cp.." here.
jochen (gone - plz use gerrit)
2014/02/11 10:50:31
Yes, but A64 doesn't have such a fancy move. Howev
|
| + Handle<HeapObject>::cast(constant->handle(isolate()))); |
| } else { |
| UNREACHABLE(); |
| } |