| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/ic/call-optimization.h" | 7 #include "src/ic/call-optimization.h" |
| 8 | 8 |
| 9 | 9 |
| 10 namespace v8 { | 10 namespace v8 { |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 if (info->call_code()->IsUndefined()) return; | 104 if (info->call_code()->IsUndefined()) return; |
| 105 api_call_info_ = handle(CallHandlerInfo::cast(info->call_code())); | 105 api_call_info_ = handle(CallHandlerInfo::cast(info->call_code())); |
| 106 | 106 |
| 107 if (!info->signature()->IsUndefined()) { | 107 if (!info->signature()->IsUndefined()) { |
| 108 expected_receiver_type_ = | 108 expected_receiver_type_ = |
| 109 handle(FunctionTemplateInfo::cast(info->signature())); | 109 handle(FunctionTemplateInfo::cast(info->signature())); |
| 110 } | 110 } |
| 111 | 111 |
| 112 is_simple_api_call_ = true; | 112 is_simple_api_call_ = true; |
| 113 } | 113 } |
| 114 } | 114 } // namespace internal |
| 115 } // namespace v8::internal | 115 } // namespace v8 |
| OLD | NEW |