Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 2ca585d63537d803afa097ac34f52a0580f26919..536396051e0735986104b862ec792c44bde0a11a 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2460,8 +2460,7 @@ void LCodeGen::DoInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr) { |
Register map = ToRegister(instr->temp()); |
__ movq(map, FieldOperand(object, HeapObject::kMapOffset)); |
__ bind(deferred->map_check()); // Label for calculating code patching. |
- Handle<JSGlobalPropertyCell> cache_cell = |
- factory()->NewJSGlobalPropertyCell(factory()->the_hole_value()); |
+ Handle<Cell> cache_cell = factory()->NewCell(factory()->the_hole_value()); |
__ movq(kScratchRegister, cache_cell, RelocInfo::GLOBAL_PROPERTY_CELL); |
__ cmpq(map, Operand(kScratchRegister, 0)); |
__ j(not_equal, &cache_miss, Label::kNear); |
@@ -2631,7 +2630,7 @@ void LCodeGen::DoLoadGlobalGeneric(LLoadGlobalGeneric* instr) { |
void LCodeGen::DoStoreGlobalCell(LStoreGlobalCell* instr) { |
Register value = ToRegister(instr->value()); |
- Handle<JSGlobalPropertyCell> cell_handle = instr->hydrogen()->cell(); |
+ Handle<Cell> cell_handle = instr->hydrogen()->cell(); |
// If the cell we are storing to contains the hole it could have |
// been deleted from the property dictionary. In that case, we need |