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 "allocation.h" | 8 #include "src/allocation.h" |
9 #include "arguments.h" | 9 #include "src/arguments.h" |
10 #include "code-stubs.h" | 10 #include "src/code-stubs.h" |
11 #include "ic-inl.h" | 11 #include "src/ic-inl.h" |
12 #include "macro-assembler.h" | 12 #include "src/macro-assembler.h" |
13 #include "objects.h" | 13 #include "src/objects.h" |
14 #include "zone-inl.h" | 14 #include "src/zone-inl.h" |
15 | 15 |
16 namespace v8 { | 16 namespace v8 { |
17 namespace internal { | 17 namespace internal { |
18 | 18 |
19 | 19 |
20 // The stub cache is used for megamorphic calls and property accesses. | 20 // The stub cache is used for megamorphic calls and property accesses. |
21 // It maps (map, name, type)->Code* | 21 // It maps (map, name, type)->Code* |
22 | 22 |
23 // The design of the table uses the inline cache stubs used for | 23 // The design of the table uses the inline cache stubs used for |
24 // mono-morphic calls. The beauty of this, we do not have to | 24 // mono-morphic calls. The beauty of this, we do not have to |
(...skipping 801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 Handle<JSFunction> constant_function_; | 826 Handle<JSFunction> constant_function_; |
827 bool is_simple_api_call_; | 827 bool is_simple_api_call_; |
828 Handle<FunctionTemplateInfo> expected_receiver_type_; | 828 Handle<FunctionTemplateInfo> expected_receiver_type_; |
829 Handle<CallHandlerInfo> api_call_info_; | 829 Handle<CallHandlerInfo> api_call_info_; |
830 }; | 830 }; |
831 | 831 |
832 | 832 |
833 } } // namespace v8::internal | 833 } } // namespace v8::internal |
834 | 834 |
835 #endif // V8_STUB_CACHE_H_ | 835 #endif // V8_STUB_CACHE_H_ |
OLD | NEW |