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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 Handle<Code> ComputeKeyedCallInitialize(int argc); | 220 Handle<Code> ComputeKeyedCallInitialize(int argc); |
221 | 221 |
222 Handle<Code> ComputeCallPreMonomorphic(int argc, | 222 Handle<Code> ComputeCallPreMonomorphic(int argc, |
223 Code::Kind kind, | 223 Code::Kind kind, |
224 Code::ExtraICState extra_state); | 224 Code::ExtraICState extra_state); |
225 | 225 |
226 Handle<Code> ComputeCallNormal(int argc, | 226 Handle<Code> ComputeCallNormal(int argc, |
227 Code::Kind kind, | 227 Code::Kind kind, |
228 Code::ExtraICState state); | 228 Code::ExtraICState state); |
229 | 229 |
230 Handle<Code> ComputeCallArguments(int argc, Code::Kind kind); | 230 Handle<Code> ComputeCallArguments(int argc); |
231 | 231 |
232 Handle<Code> ComputeCallMegamorphic(int argc, | 232 Handle<Code> ComputeCallMegamorphic(int argc, |
233 Code::Kind kind, | 233 Code::Kind kind, |
234 Code::ExtraICState state); | 234 Code::ExtraICState state); |
235 | 235 |
236 Handle<Code> ComputeCallMiss(int argc, | 236 Handle<Code> ComputeCallMiss(int argc, |
237 Code::Kind kind, | 237 Code::Kind kind, |
238 Code::ExtraICState state); | 238 Code::ExtraICState state); |
239 | 239 |
240 // --- | 240 // --- |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 Handle<JSObject> object, | 478 Handle<JSObject> object, |
479 int index, | 479 int index, |
480 Handle<Map> transition, | 480 Handle<Map> transition, |
481 Handle<String> name, | 481 Handle<String> name, |
482 Register receiver_reg, | 482 Register receiver_reg, |
483 Register name_reg, | 483 Register name_reg, |
484 Register scratch1, | 484 Register scratch1, |
485 Register scratch2, | 485 Register scratch2, |
486 Label* miss_label); | 486 Label* miss_label); |
487 | 487 |
488 static void GenerateLoadMiss(MacroAssembler* masm, | 488 static void GenerateLoadMiss(MacroAssembler* masm, Code::Kind kind); |
489 Code::Kind kind); | 489 static void GenerateStoreMiss(MacroAssembler* masm, Code::Kind kind); |
490 | 490 |
491 static void GenerateKeyedLoadMissForceGeneric(MacroAssembler* masm); | 491 static void GenerateKeyedLoadMissForceGeneric(MacroAssembler* masm); |
492 | 492 |
493 // Generates code that verifies that the property holder has not changed | 493 // Generates code that verifies that the property holder has not changed |
494 // (checking maps of objects in the prototype chain for fast and global | 494 // (checking maps of objects in the prototype chain for fast and global |
495 // objects or doing negative lookup for slow objects, ensures that the | 495 // objects or doing negative lookup for slow objects, ensures that the |
496 // property cells for global objects are still empty) and checks that the map | 496 // property cells for global objects are still empty) and checks that the map |
497 // of the holder has not changed. If necessary the function also generates | 497 // of the holder has not changed. If necessary the function also generates |
498 // code for security check in case of global object holders. Helps to make | 498 // code for security check in case of global object holders. Helps to make |
499 // sure that the current IC is still valid. | 499 // sure that the current IC is still valid. |
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
926 Handle<JSFunction> constant_function_; | 926 Handle<JSFunction> constant_function_; |
927 bool is_simple_api_call_; | 927 bool is_simple_api_call_; |
928 Handle<FunctionTemplateInfo> expected_receiver_type_; | 928 Handle<FunctionTemplateInfo> expected_receiver_type_; |
929 Handle<CallHandlerInfo> api_call_info_; | 929 Handle<CallHandlerInfo> api_call_info_; |
930 }; | 930 }; |
931 | 931 |
932 | 932 |
933 } } // namespace v8::internal | 933 } } // namespace v8::internal |
934 | 934 |
935 #endif // V8_STUB_CACHE_H_ | 935 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |