| 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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 555 Handle<JSObject> last, | 555 Handle<JSObject> last, |
| 556 Handle<Name> name); | 556 Handle<Name> name); |
| 557 | 557 |
| 558 Handle<Code> CompileLoadGlobal(Handle<HeapType> type, | 558 Handle<Code> CompileLoadGlobal(Handle<HeapType> type, |
| 559 Handle<GlobalObject> holder, | 559 Handle<GlobalObject> holder, |
| 560 Handle<PropertyCell> cell, | 560 Handle<PropertyCell> cell, |
| 561 Handle<Name> name, | 561 Handle<Name> name, |
| 562 bool is_dont_delete); | 562 bool is_dont_delete); |
| 563 | 563 |
| 564 protected: | 564 protected: |
| 565 ContextualMode contextual_mode() { | 565 TypeofState typeof_state() { |
| 566 return LoadIC::GetContextualMode(extra_state()); | 566 return LoadIC::GetTypeofState(extra_state()); |
| 567 } | 567 } |
| 568 | 568 |
| 569 virtual Register HandlerFrontendHeader(Handle<HeapType> type, | 569 virtual Register HandlerFrontendHeader(Handle<HeapType> type, |
| 570 Register object_reg, | 570 Register object_reg, |
| 571 Handle<JSObject> holder, | 571 Handle<JSObject> holder, |
| 572 Handle<Name> name, | 572 Handle<Name> name, |
| 573 Label* miss); | 573 Label* miss); |
| 574 | 574 |
| 575 virtual void HandlerFrontendFooter(Handle<Name> name, Label* miss); | 575 virtual void HandlerFrontendFooter(Handle<Name> name, Label* miss); |
| 576 | 576 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 Handle<JSFunction> constant_function_; | 822 Handle<JSFunction> constant_function_; |
| 823 bool is_simple_api_call_; | 823 bool is_simple_api_call_; |
| 824 Handle<FunctionTemplateInfo> expected_receiver_type_; | 824 Handle<FunctionTemplateInfo> expected_receiver_type_; |
| 825 Handle<CallHandlerInfo> api_call_info_; | 825 Handle<CallHandlerInfo> api_call_info_; |
| 826 }; | 826 }; |
| 827 | 827 |
| 828 | 828 |
| 829 } } // namespace v8::internal | 829 } } // namespace v8::internal |
| 830 | 830 |
| 831 #endif // V8_STUB_CACHE_H_ | 831 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |