| 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 1ea8dd6201ecee7919693dd24bcfe9a48651e396..9faf5ebcd87e97d075f61b369157c011eb08beaf 100644
|
| --- a/src/compiler/ia32/instruction-selector-ia32.cc
|
| +++ b/src/compiler/ia32/instruction-selector-ia32.cc
|
| @@ -36,9 +36,9 @@ 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.
|
| - Unique<HeapObject> value = OpParameter<Unique<HeapObject> >(node);
|
| - Isolate* isolate = value.handle()->GetIsolate();
|
| - return !isolate->heap()->InNewSpace(*value.handle());
|
| + Handle<HeapObject> value = OpParameter<Handle<HeapObject>>(node);
|
| + Isolate* isolate = value->GetIsolate();
|
| + return !isolate->heap()->InNewSpace(*value);
|
| }
|
| default:
|
| return false;
|
|
|