| OLD | NEW |
| 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 GlobalObject* holder, | 197 GlobalObject* holder, |
| 198 JSGlobalPropertyCell* cell, | 198 JSGlobalPropertyCell* cell, |
| 199 JSFunction* function); | 199 JSFunction* function); |
| 200 | 200 |
| 201 // --- | 201 // --- |
| 202 | 202 |
| 203 MUST_USE_RESULT static MaybeObject* ComputeCallInitialize(int argc, | 203 MUST_USE_RESULT static MaybeObject* ComputeCallInitialize(int argc, |
| 204 InLoopFlag in_loop, | 204 InLoopFlag in_loop, |
| 205 Code::Kind kind); | 205 Code::Kind kind); |
| 206 | 206 |
| 207 static Handle<Code> ComputeCallInitialize(int argc, InLoopFlag in_loop); |
| 208 |
| 209 static Handle<Code> ComputeKeyedCallInitialize(int argc, InLoopFlag in_loop); |
| 210 |
| 207 MUST_USE_RESULT static MaybeObject* ComputeCallPreMonomorphic( | 211 MUST_USE_RESULT static MaybeObject* ComputeCallPreMonomorphic( |
| 208 int argc, | 212 int argc, |
| 209 InLoopFlag in_loop, | 213 InLoopFlag in_loop, |
| 210 Code::Kind kind); | 214 Code::Kind kind); |
| 211 | 215 |
| 212 MUST_USE_RESULT static MaybeObject* ComputeCallNormal(int argc, | 216 MUST_USE_RESULT static MaybeObject* ComputeCallNormal(int argc, |
| 213 InLoopFlag in_loop, | 217 InLoopFlag in_loop, |
| 214 Code::Kind kind); | 218 Code::Kind kind); |
| 215 | 219 |
| 216 MUST_USE_RESULT static MaybeObject* ComputeCallMegamorphic(int argc, | 220 MUST_USE_RESULT static MaybeObject* ComputeCallMegamorphic(int argc, |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 787 | 791 |
| 788 JSFunction* constant_function_; | 792 JSFunction* constant_function_; |
| 789 bool is_simple_api_call_; | 793 bool is_simple_api_call_; |
| 790 FunctionTemplateInfo* expected_receiver_type_; | 794 FunctionTemplateInfo* expected_receiver_type_; |
| 791 CallHandlerInfo* api_call_info_; | 795 CallHandlerInfo* api_call_info_; |
| 792 }; | 796 }; |
| 793 | 797 |
| 794 } } // namespace v8::internal | 798 } } // namespace v8::internal |
| 795 | 799 |
| 796 #endif // V8_STUB_CACHE_H_ | 800 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |