OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_STUB_CACHE_H_ | 5 #ifndef V8_STUB_CACHE_H_ |
6 #define V8_STUB_CACHE_H_ | 6 #define V8_STUB_CACHE_H_ |
7 | 7 |
8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 const CallOptimization& call_optimization); | 471 const CallOptimization& call_optimization); |
472 | 472 |
473 Handle<Code> CompileLoadConstant(Handle<Name> name, Handle<Object> value); | 473 Handle<Code> CompileLoadConstant(Handle<Name> name, Handle<Object> value); |
474 | 474 |
475 Handle<Code> CompileLoadInterceptor(Handle<Name> name); | 475 Handle<Code> CompileLoadInterceptor(Handle<Name> name); |
476 | 476 |
477 Handle<Code> CompileLoadViaGetter(Handle<Name> name, | 477 Handle<Code> CompileLoadViaGetter(Handle<Name> name, |
478 Handle<JSFunction> getter); | 478 Handle<JSFunction> getter); |
479 | 479 |
480 Handle<Code> CompileLoadGlobal(Handle<PropertyCell> cell, Handle<Name> name, | 480 Handle<Code> CompileLoadGlobal(Handle<PropertyCell> cell, Handle<Name> name, |
481 bool is_dont_delete); | 481 bool is_configurable); |
482 | 482 |
483 // Static interface | 483 // Static interface |
484 static Handle<Code> ComputeLoadNonexistent(Handle<Name> name, | 484 static Handle<Code> ComputeLoadNonexistent(Handle<Name> name, |
485 Handle<HeapType> type); | 485 Handle<HeapType> type); |
486 | 486 |
487 static void GenerateLoadViaGetter(MacroAssembler* masm, Handle<HeapType> type, | 487 static void GenerateLoadViaGetter(MacroAssembler* masm, Handle<HeapType> type, |
488 Register receiver, | 488 Register receiver, |
489 Handle<JSFunction> getter); | 489 Handle<JSFunction> getter); |
490 | 490 |
491 static void GenerateLoadViaGetterForDeopt(MacroAssembler* masm) { | 491 static void GenerateLoadViaGetterForDeopt(MacroAssembler* masm) { |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 Handle<JSFunction> constant_function_; | 713 Handle<JSFunction> constant_function_; |
714 bool is_simple_api_call_; | 714 bool is_simple_api_call_; |
715 Handle<FunctionTemplateInfo> expected_receiver_type_; | 715 Handle<FunctionTemplateInfo> expected_receiver_type_; |
716 Handle<CallHandlerInfo> api_call_info_; | 716 Handle<CallHandlerInfo> api_call_info_; |
717 }; | 717 }; |
718 | 718 |
719 | 719 |
720 } } // namespace v8::internal | 720 } } // namespace v8::internal |
721 | 721 |
722 #endif // V8_STUB_CACHE_H_ | 722 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |