| 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/code-factory.h" |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/code-factory.h" | |
| 9 #include "src/ic/ic.h" | 8 #include "src/ic/ic.h" |
| 10 | 9 |
| 11 namespace v8 { | 10 namespace v8 { |
| 12 namespace internal { | 11 namespace internal { |
| 13 | 12 |
| 14 | 13 |
| 15 // static | 14 // static |
| 16 Callable CodeFactory::LoadIC(Isolate* isolate, TypeofMode typeof_mode, | 15 Callable CodeFactory::LoadIC(Isolate* isolate, TypeofMode typeof_mode, |
| 17 LanguageMode language_mode) { | 16 LanguageMode language_mode) { |
| 18 return Callable( | 17 return Callable( |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 | 231 |
| 233 // static | 232 // static |
| 234 Callable CodeFactory::CallFunction(Isolate* isolate, int argc, | 233 Callable CodeFactory::CallFunction(Isolate* isolate, int argc, |
| 235 CallFunctionFlags flags) { | 234 CallFunctionFlags flags) { |
| 236 CallFunctionStub stub(isolate, argc, flags); | 235 CallFunctionStub stub(isolate, argc, flags); |
| 237 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); | 236 return Callable(stub.GetCode(), stub.GetCallInterfaceDescriptor()); |
| 238 } | 237 } |
| 239 | 238 |
| 240 } // namespace internal | 239 } // namespace internal |
| 241 } // namespace v8 | 240 } // namespace v8 |
| OLD | NEW |