| 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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 922 int argc, | 922 int argc, |
| 923 Code::Kind kind, | 923 Code::Kind kind, |
| 924 ExtraICState extra_state, | 924 ExtraICState extra_state, |
| 925 InlineCacheHolderFlag cache_holder = OWN_MAP); | 925 InlineCacheHolderFlag cache_holder = OWN_MAP); |
| 926 | 926 |
| 927 Handle<Code> CompileCallField(Handle<JSObject> object, | 927 Handle<Code> CompileCallField(Handle<JSObject> object, |
| 928 Handle<JSObject> holder, | 928 Handle<JSObject> holder, |
| 929 PropertyIndex index, | 929 PropertyIndex index, |
| 930 Handle<Name> name); | 930 Handle<Name> name); |
| 931 | 931 |
| 932 // Patch the global proxy over the global object if the global object is the | 932 // Patch the implicit receiver over the global object if the global object is |
| 933 // receiver. | 933 // the receiver. |
| 934 static void FetchGlobalProxy(MacroAssembler* masm, | 934 void PatchImplicitReceiver(Handle<Object> object); |
| 935 Register target, | |
| 936 Register function); | |
| 937 void PatchGlobalProxy(Handle<Object> object, Register function); | |
| 938 void PatchGlobalProxy(Handle<Object> object, Handle<JSFunction> function); | |
| 939 | 935 |
| 940 // Returns the register containing the holder of |name|. | 936 // Returns the register containing the holder of |name|. |
| 941 Register HandlerFrontendHeader(Handle<Object> object, | 937 Register HandlerFrontendHeader(Handle<Object> object, |
| 942 Handle<JSObject> holder, | 938 Handle<JSObject> holder, |
| 943 Handle<Name> name, | 939 Handle<Name> name, |
| 944 CheckType check, | 940 CheckType check, |
| 945 Label* miss); | 941 Label* miss); |
| 946 void HandlerFrontendFooter(Label* miss); | 942 void HandlerFrontendFooter(Label* miss); |
| 947 | 943 |
| 948 void GenerateJumpFunctionIgnoreReceiver(Handle<JSFunction> function); | 944 void GenerateJumpFunctionIgnoreReceiver(Handle<JSFunction> function); |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1081 Handle<JSFunction> constant_function_; | 1077 Handle<JSFunction> constant_function_; |
| 1082 bool is_simple_api_call_; | 1078 bool is_simple_api_call_; |
| 1083 Handle<FunctionTemplateInfo> expected_receiver_type_; | 1079 Handle<FunctionTemplateInfo> expected_receiver_type_; |
| 1084 Handle<CallHandlerInfo> api_call_info_; | 1080 Handle<CallHandlerInfo> api_call_info_; |
| 1085 }; | 1081 }; |
| 1086 | 1082 |
| 1087 | 1083 |
| 1088 } } // namespace v8::internal | 1084 } } // namespace v8::internal |
| 1089 | 1085 |
| 1090 #endif // V8_STUB_CACHE_H_ | 1086 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |