| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_IC_CALL_OPTIMIZATION_H_ | 5 #ifndef V8_IC_CALL_OPTIMIZATION_H_ |
| 6 #define V8_IC_CALL_OPTIMIZATION_H_ | 6 #define V8_IC_CALL_OPTIMIZATION_H_ |
| 7 | 7 |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/ic/access-compiler.h" | 9 #include "src/ic/access-compiler.h" |
| 10 #include "src/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 // Determines whether the given function can be called using the | 55 // Determines whether the given function can be called using the |
| 56 // fast api call builtin. | 56 // fast api call builtin. |
| 57 void AnalyzePossibleApiFunction(Handle<JSFunction> function); | 57 void AnalyzePossibleApiFunction(Handle<JSFunction> function); |
| 58 | 58 |
| 59 Handle<JSFunction> constant_function_; | 59 Handle<JSFunction> constant_function_; |
| 60 bool is_simple_api_call_; | 60 bool is_simple_api_call_; |
| 61 Handle<FunctionTemplateInfo> expected_receiver_type_; | 61 Handle<FunctionTemplateInfo> expected_receiver_type_; |
| 62 Handle<CallHandlerInfo> api_call_info_; | 62 Handle<CallHandlerInfo> api_call_info_; |
| 63 }; | 63 }; |
| 64 } | 64 } // namespace internal |
| 65 } // namespace v8::internal | 65 } // namespace v8 |
| 66 | 66 |
| 67 #endif // V8_IC_CALL_OPTIMIZATION_H_ | 67 #endif // V8_IC_CALL_OPTIMIZATION_H_ |
| OLD | NEW |