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/runtime/runtime-utils.h" | 5 #include "src/runtime/runtime-utils.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 | 8 |
9 #include "src/arguments.h" | 9 #include "src/arguments.h" |
| 10 #include "src/compiler-dispatcher/optimizing-compile-dispatcher.h" |
10 #include "src/deoptimizer.h" | 11 #include "src/deoptimizer.h" |
11 #include "src/frames-inl.h" | 12 #include "src/frames-inl.h" |
12 #include "src/full-codegen/full-codegen.h" | 13 #include "src/full-codegen/full-codegen.h" |
13 #include "src/isolate-inl.h" | 14 #include "src/isolate-inl.h" |
| 15 #include "src/runtime-profiler.h" |
14 #include "src/snapshot/code-serializer.h" | 16 #include "src/snapshot/code-serializer.h" |
15 #include "src/snapshot/natives.h" | 17 #include "src/snapshot/natives.h" |
16 #include "src/wasm/wasm-module.h" | 18 #include "src/wasm/wasm-module.h" |
17 | 19 |
18 namespace v8 { | 20 namespace v8 { |
19 namespace internal { | 21 namespace internal { |
20 | 22 |
21 RUNTIME_FUNCTION(Runtime_ConstructDouble) { | 23 RUNTIME_FUNCTION(Runtime_ConstructDouble) { |
22 HandleScope scope(isolate); | 24 HandleScope scope(isolate); |
23 DCHECK(args.length() == 2); | 25 DCHECK(args.length() == 2); |
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 WasmCompiledModuleSerializer::DeserializeWasmModule(isolate, &sc); | 751 WasmCompiledModuleSerializer::DeserializeWasmModule(isolate, &sc); |
750 Handle<FixedArray> compiled_module; | 752 Handle<FixedArray> compiled_module; |
751 if (!maybe_compiled_module.ToHandle(&compiled_module)) { | 753 if (!maybe_compiled_module.ToHandle(&compiled_module)) { |
752 return isolate->heap()->undefined_value(); | 754 return isolate->heap()->undefined_value(); |
753 } | 755 } |
754 return *wasm::CreateCompiledModuleObject(isolate, compiled_module); | 756 return *wasm::CreateCompiledModuleObject(isolate, compiled_module); |
755 } | 757 } |
756 | 758 |
757 } // namespace internal | 759 } // namespace internal |
758 } // namespace v8 | 760 } // namespace v8 |
OLD | NEW |