Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 199fca5fe9226198076c1be283dc94f18b810349..223a7fc216f8ccad4b2f36ada3fd9fa1b2058712 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -906,10 +906,17 @@ class CallStubCompiler: public StubCompiler { |
PropertyIndex index, |
Handle<Name> name); |
- void CompileHandlerFrontend(Handle<Object> object, |
- Handle<JSObject> holder, |
- Handle<Name> name, |
- CheckType check); |
+ // Patch the global proxy over the global object if the global object is the |
+ // receiver. |
+ void PatchGlobalProxy(Handle<Object> object); |
+ |
+ // Returns the register containing the holder of |name|. |
+ Register HandlerFrontendHeader(Handle<Object> object, |
+ Handle<JSObject> holder, |
+ Handle<Name> name, |
+ CheckType check, |
+ Label* miss); |
+ void HandlerFrontendFooter(Label* miss); |
void CompileHandlerBackend(Handle<JSFunction> function); |
@@ -967,11 +974,6 @@ class CallStubCompiler: public StubCompiler { |
void GenerateNameCheck(Handle<Name> name, Label* miss); |
- void GenerateGlobalReceiverCheck(Handle<JSObject> object, |
- Handle<JSObject> holder, |
- Handle<Name> name, |
- Label* miss); |
- |
// Generates code to load the function from the cell checking that |
// it still contains the same function. |
void GenerateLoadFunctionFromCell(Handle<Cell> cell, |