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

Side by Side Diff: src/stub-cache.h

Issue 93863006: Revert "Load the global proxy from the context of the target function." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/runtime.js ('k') | src/stub-cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
905 ExtraICState extra_state, 905 ExtraICState extra_state,
906 InlineCacheHolderFlag cache_holder = OWN_MAP); 906 InlineCacheHolderFlag cache_holder = OWN_MAP);
907 907
908 Handle<Code> CompileCallField(Handle<JSObject> object, 908 Handle<Code> CompileCallField(Handle<JSObject> object,
909 Handle<JSObject> holder, 909 Handle<JSObject> holder,
910 PropertyIndex index, 910 PropertyIndex index,
911 Handle<Name> name); 911 Handle<Name> name);
912 912
913 // Patch the global proxy over the global object if the global object is the 913 // Patch the global proxy over the global object if the global object is the
914 // receiver. 914 // receiver.
915 static void FetchGlobalProxy(MacroAssembler* masm, 915 void PatchGlobalProxy(Handle<Object> object);
916 Register target,
917 Register function);
918 void PatchGlobalProxy(Handle<Object> object, Register function);
919 void PatchGlobalProxy(Handle<Object> object, Handle<JSFunction> function);
920 916
921 // Returns the register containing the holder of |name|. 917 // Returns the register containing the holder of |name|.
922 Register HandlerFrontendHeader(Handle<Object> object, 918 Register HandlerFrontendHeader(Handle<Object> object,
923 Handle<JSObject> holder, 919 Handle<JSObject> holder,
924 Handle<Name> name, 920 Handle<Name> name,
925 CheckType check, 921 CheckType check,
926 Label* miss); 922 Label* miss);
927 void HandlerFrontendFooter(Label* miss); 923 void HandlerFrontendFooter(Label* miss);
928 924
929 void GenerateJumpFunctionIgnoreReceiver(Handle<JSFunction> function); 925 void GenerateJumpFunctionIgnoreReceiver(Handle<JSFunction> function);
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1062 Handle<JSFunction> constant_function_; 1058 Handle<JSFunction> constant_function_;
1063 bool is_simple_api_call_; 1059 bool is_simple_api_call_;
1064 Handle<FunctionTemplateInfo> expected_receiver_type_; 1060 Handle<FunctionTemplateInfo> expected_receiver_type_;
1065 Handle<CallHandlerInfo> api_call_info_; 1061 Handle<CallHandlerInfo> api_call_info_;
1066 }; 1062 };
1067 1063
1068 1064
1069 } } // namespace v8::internal 1065 } } // namespace v8::internal
1070 1066
1071 #endif // V8_STUB_CACHE_H_ 1067 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/runtime.js ('k') | src/stub-cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698