Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1169)

Unified Diff: src/stub-cache.h

Issue 151019: Changed the global object representation (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime.cc ('k') | src/stub-cache.cc » ('j') | test/cctest/test-api.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « src/runtime.cc ('k') | src/stub-cache.cc » ('j') | test/cctest/test-api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698