| Index: src/compiler/x87/instruction-selector-x87.cc
|
| diff --git a/src/compiler/x87/instruction-selector-x87.cc b/src/compiler/x87/instruction-selector-x87.cc
|
| index 95aa70ac923c429a11b451a43f56c1da4c2a2c62..fbf0ed9515a0973d2e6b40da12dcf042ab746d77 100644
|
| --- a/src/compiler/x87/instruction-selector-x87.cc
|
| +++ b/src/compiler/x87/instruction-selector-x87.cc
|
| @@ -40,9 +40,9 @@ class X87OperandGenerator 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;
|
|
|