| 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 263 |
| 264 // ------------------------------------------------------------------------ | 264 // ------------------------------------------------------------------------ |
| 265 | 265 |
| 266 | 266 |
| 267 // Support functions for IC stubs for callbacks. | 267 // Support functions for IC stubs for callbacks. |
| 268 DECLARE_RUNTIME_FUNCTION(StoreCallbackProperty); | 268 DECLARE_RUNTIME_FUNCTION(StoreCallbackProperty); |
| 269 | 269 |
| 270 | 270 |
| 271 // Support functions for IC stubs for interceptors. | 271 // Support functions for IC stubs for interceptors. |
| 272 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); | 272 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorOnly); |
| 273 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorForLoad); | 273 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptor); |
| 274 DECLARE_RUNTIME_FUNCTION(LoadPropertyWithInterceptorForCall); | |
| 275 DECLARE_RUNTIME_FUNCTION(StoreInterceptorProperty); | 274 DECLARE_RUNTIME_FUNCTION(StoreInterceptorProperty); |
| 276 DECLARE_RUNTIME_FUNCTION(KeyedLoadPropertyWithInterceptor); | 275 DECLARE_RUNTIME_FUNCTION(KeyedLoadPropertyWithInterceptor); |
| 277 | 276 |
| 278 | 277 |
| 279 enum PrototypeCheckType { CHECK_ALL_MAPS, SKIP_RECEIVER }; | 278 enum PrototypeCheckType { CHECK_ALL_MAPS, SKIP_RECEIVER }; |
| 280 enum IcCheckType { ELEMENT, PROPERTY }; | 279 enum IcCheckType { ELEMENT, PROPERTY }; |
| 281 | 280 |
| 282 | 281 |
| 283 // The stub compilers compile stubs for the stub cache. | 282 // The stub compilers compile stubs for the stub cache. |
| 284 class StubCompiler BASE_EMBEDDED { | 283 class StubCompiler BASE_EMBEDDED { |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 826 Handle<JSFunction> constant_function_; | 825 Handle<JSFunction> constant_function_; |
| 827 bool is_simple_api_call_; | 826 bool is_simple_api_call_; |
| 828 Handle<FunctionTemplateInfo> expected_receiver_type_; | 827 Handle<FunctionTemplateInfo> expected_receiver_type_; |
| 829 Handle<CallHandlerInfo> api_call_info_; | 828 Handle<CallHandlerInfo> api_call_info_; |
| 830 }; | 829 }; |
| 831 | 830 |
| 832 | 831 |
| 833 } } // namespace v8::internal | 832 } } // namespace v8::internal |
| 834 | 833 |
| 835 #endif // V8_STUB_CACHE_H_ | 834 #endif // V8_STUB_CACHE_H_ |
| OLD | NEW |