OLD | NEW |
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 Loading... |
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 void PatchGlobalProxy(Handle<Object> object); | 915 static void FetchGlobalProxy(MacroAssembler* masm, |
| 916 Register target, |
| 917 Register function); |
| 918 void PatchGlobalProxy(Handle<Object> object, Register function); |
| 919 void PatchGlobalProxy(Handle<Object> object, Handle<JSFunction> function); |
916 | 920 |
917 // Returns the register containing the holder of |name|. | 921 // Returns the register containing the holder of |name|. |
918 Register HandlerFrontendHeader(Handle<Object> object, | 922 Register HandlerFrontendHeader(Handle<Object> object, |
919 Handle<JSObject> holder, | 923 Handle<JSObject> holder, |
920 Handle<Name> name, | 924 Handle<Name> name, |
921 CheckType check, | 925 CheckType check, |
922 Label* miss); | 926 Label* miss); |
923 void HandlerFrontendFooter(Label* miss); | 927 void HandlerFrontendFooter(Label* miss); |
924 | 928 |
925 void GenerateJumpFunctionIgnoreReceiver(Handle<JSFunction> function); | 929 void GenerateJumpFunctionIgnoreReceiver(Handle<JSFunction> function); |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 Handle<JSFunction> constant_function_; | 1062 Handle<JSFunction> constant_function_; |
1059 bool is_simple_api_call_; | 1063 bool is_simple_api_call_; |
1060 Handle<FunctionTemplateInfo> expected_receiver_type_; | 1064 Handle<FunctionTemplateInfo> expected_receiver_type_; |
1061 Handle<CallHandlerInfo> api_call_info_; | 1065 Handle<CallHandlerInfo> api_call_info_; |
1062 }; | 1066 }; |
1063 | 1067 |
1064 | 1068 |
1065 } } // namespace v8::internal | 1069 } } // namespace v8::internal |
1066 | 1070 |
1067 #endif // V8_STUB_CACHE_H_ | 1071 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |