| Index: src/compiler/ia32/instruction-selector-ia32.cc
|
| diff --git a/src/compiler/ia32/instruction-selector-ia32.cc b/src/compiler/ia32/instruction-selector-ia32.cc
|
| index 18000056b36dc35ee41c5d4d2034a635dac3009d..8a63ec611a02843c71a6aa1bdefc57fb8e32e74b 100644
|
| --- a/src/compiler/ia32/instruction-selector-ia32.cc
|
| +++ b/src/compiler/ia32/instruction-selector-ia32.cc
|
| @@ -30,8 +30,8 @@ class IA32OperandGenerator FINAL : public OperandGenerator {
|
| case IrOpcode::kHeapConstant: {
|
| // Constants in new space cannot be used as immediates in V8 because
|
| // the GC does not scan code objects when collecting the new generation.
|
| - Handle<HeapObject> value = ValueOf<Handle<HeapObject> >(node->op());
|
| - return !isolate()->heap()->InNewSpace(*value);
|
| + Unique<HeapObject> value = OpParameter<Unique<HeapObject> >(node);
|
| + return !isolate()->heap()->InNewSpace(*value.handle());
|
| }
|
| default:
|
| return false;
|
|
|