Index: src/ia32/stub-cache-ia32.cc |
diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc |
index 3906623a586a17e4e71c0d8ecbfc6244c60e02dd..f4340d68d6477233b068f9b77380c75498ea273e 100644 |
--- a/src/ia32/stub-cache-ia32.cc |
+++ b/src/ia32/stub-cache-ia32.cc |
@@ -1565,13 +1565,13 @@ 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. |
if (Serializer::enabled()) { |
__ mov(edi, Immediate(cell)); |
- __ mov(edi, FieldOperand(edi, JSGlobalPropertyCell::kValueOffset)); |
+ __ mov(edi, FieldOperand(edi, Cell::kValueOffset)); |
} else { |
__ mov(edi, Operand::Cell(cell)); |
} |
@@ -1667,7 +1667,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 ------------- |
@@ -1925,7 +1925,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 ------------- |
@@ -2007,7 +2007,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 ------------- |
@@ -2091,7 +2091,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 ------------- |
@@ -2177,7 +2177,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 ------------- |
@@ -2253,7 +2253,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) { |
// ----------- S t a t e ------------- |
@@ -2384,7 +2384,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 ------------- |
@@ -2491,7 +2491,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()); |
@@ -2673,7 +2673,7 @@ Handle<Code> CallStubCompiler::CompileCallConstant( |
if (HasCustomCallGenerator(function)) { |
Handle<Code> code = CompileCustomCall(object, holder, |
- Handle<JSGlobalPropertyCell>::null(), |
+ Handle<Cell>::null(), |
function, Handle<String>::cast(name)); |
// A null handle means bail out to the regular compiler code below. |
if (!code.is_null()) return code; |