Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 06d8f7108b0505abe6db83c750d38cf228457156..c1059050ce16799d123f6d9dfececc37b58baade 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -741,7 +741,7 @@ static void GenerateCheckPropertyCell(MacroAssembler* masm, |
GlobalObject::EnsurePropertyCell(global, name); |
ASSERT(cell->value()->IsTheHole()); |
__ Move(scratch, cell); |
- __ Cmp(FieldOperand(scratch, JSGlobalPropertyCell::kValueOffset), |
+ __ Cmp(FieldOperand(scratch, Cell::kValueOffset), |
masm->isolate()->factory()->the_hole_value()); |
__ j(not_equal, miss); |
} |
@@ -1485,12 +1485,12 @@ void CallStubCompiler::GenerateGlobalReceiverCheck(Handle<JSObject> object, |
void CallStubCompiler::GenerateLoadFunctionFromCell( |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Label* miss) { |
// Get the value from the cell. |
__ Move(rdi, cell); |
- __ movq(rdi, FieldOperand(rdi, JSGlobalPropertyCell::kValueOffset)); |
+ __ movq(rdi, FieldOperand(rdi, Cell::kValueOffset)); |
// Check that the cell contains the same function. |
if (heap()->InNewSpace(*function)) { |
@@ -1584,7 +1584,7 @@ Handle<Code> CallStubCompiler::CompileCallField(Handle<JSObject> object, |
Handle<Code> CallStubCompiler::CompileArrayPushCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// ----------- S t a t e ------------- |
@@ -1834,7 +1834,7 @@ Handle<Code> CallStubCompiler::CompileArrayPushCall( |
Handle<Code> CallStubCompiler::CompileArrayPopCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// ----------- S t a t e ------------- |
@@ -1915,7 +1915,7 @@ Handle<Code> CallStubCompiler::CompileArrayPopCall( |
Handle<Code> CallStubCompiler::CompileStringCharCodeAtCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// ----------- S t a t e ------------- |
@@ -1995,7 +1995,7 @@ Handle<Code> CallStubCompiler::CompileStringCharCodeAtCall( |
Handle<Code> CallStubCompiler::CompileStringCharAtCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// ----------- S t a t e ------------- |
@@ -2075,7 +2075,7 @@ Handle<Code> CallStubCompiler::CompileStringCharAtCall( |
Handle<Code> CallStubCompiler::CompileStringFromCharCodeCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// ----------- S t a t e ------------- |
@@ -2146,7 +2146,7 @@ Handle<Code> CallStubCompiler::CompileStringFromCharCodeCall( |
Handle<Code> CallStubCompiler::CompileMathFloorCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// TODO(872): implement this. |
@@ -2157,7 +2157,7 @@ Handle<Code> CallStubCompiler::CompileMathFloorCall( |
Handle<Code> CallStubCompiler::CompileMathAbsCall( |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
// ----------- S t a t e ------------- |
@@ -2263,7 +2263,7 @@ Handle<Code> CallStubCompiler::CompileFastApiCall( |
const CallOptimization& optimization, |
Handle<Object> object, |
Handle<JSObject> holder, |
- Handle<JSGlobalPropertyCell> cell, |
+ Handle<Cell> cell, |
Handle<JSFunction> function, |
Handle<String> name) { |
ASSERT(optimization.is_simple_api_call()); |