Index: src/stub-cache.h |
=================================================================== |
--- src/stub-cache.h (revision 2285) |
+++ src/stub-cache.h (working copy) |
@@ -78,6 +78,11 @@ |
static Object* ComputeLoadNormal(String* name, JSObject* receiver); |
+ static Object* ComputeLoadGlobal(String* name, |
+ JSGlobalObject* receiver, |
+ JSGlobalPropertyCell* cell); |
+ |
+ |
// --- |
static Object* ComputeKeyedLoadField(String* name, |
@@ -112,6 +117,10 @@ |
int field_index, |
Map* transition = NULL); |
+ static Object* ComputeStoreGlobal(String* name, |
+ JSGlobalObject* receiver, |
+ JSGlobalPropertyCell* cell); |
+ |
static Object* ComputeStoreCallback(String* name, |
JSObject* receiver, |
AccessorInfo* callback); |
@@ -151,6 +160,13 @@ |
Object* object, |
JSObject* holder); |
+ static Object* ComputeCallGlobal(int argc, |
+ InLoopFlag in_loop, |
+ String* name, |
+ JSGlobalObject* receiver, |
+ JSGlobalPropertyCell* cell, |
+ JSFunction* function); |
+ |
// --- |
static Object* ComputeCallInitialize(int argc, InLoopFlag in_loop); |
@@ -416,6 +432,10 @@ |
JSObject* holder, |
String* name); |
+ Object* CompileLoadGlobal(JSGlobalObject* object, |
+ JSGlobalPropertyCell* holder, |
+ String* name); |
+ |
private: |
Object* GetCode(PropertyType type, String* name); |
}; |
@@ -457,7 +477,11 @@ |
AccessorInfo* callbacks, |
String* name); |
Object* CompileStoreInterceptor(JSObject* object, String* name); |
+ Object* CompileStoreGlobal(JSGlobalObject* object, |
+ JSGlobalPropertyCell* holder, |
+ String* name); |
+ |
private: |
Object* GetCode(PropertyType type, String* name); |
}; |
@@ -492,6 +516,10 @@ |
Object* CompileCallInterceptor(Object* object, |
JSObject* holder, |
String* name); |
+ Object* CompileCallGlobal(JSGlobalObject* object, |
+ JSGlobalPropertyCell* cell, |
+ JSFunction* function, |
+ String* name); |
private: |
const ParameterCount arguments_; |