| 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/compiler-dispatcher/optimizing-compile-dispatcher.h" |
| 11 #include "src/compiler.h" |
| 11 #include "src/deoptimizer.h" | 12 #include "src/deoptimizer.h" |
| 12 #include "src/frames-inl.h" | 13 #include "src/frames-inl.h" |
| 13 #include "src/full-codegen/full-codegen.h" | 14 #include "src/full-codegen/full-codegen.h" |
| 14 #include "src/isolate-inl.h" | 15 #include "src/isolate-inl.h" |
| 15 #include "src/runtime-profiler.h" | 16 #include "src/runtime-profiler.h" |
| 16 #include "src/snapshot/code-serializer.h" | 17 #include "src/snapshot/code-serializer.h" |
| 17 #include "src/snapshot/natives.h" | 18 #include "src/snapshot/natives.h" |
| 18 #include "src/wasm/wasm-module.h" | 19 #include "src/wasm/wasm-module.h" |
| 19 | 20 |
| 20 namespace v8 { | 21 namespace v8 { |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 WasmCompiledModuleSerializer::DeserializeWasmModule(isolate, &sc); | 767 WasmCompiledModuleSerializer::DeserializeWasmModule(isolate, &sc); |
| 767 Handle<FixedArray> compiled_module; | 768 Handle<FixedArray> compiled_module; |
| 768 if (!maybe_compiled_module.ToHandle(&compiled_module)) { | 769 if (!maybe_compiled_module.ToHandle(&compiled_module)) { |
| 769 return isolate->heap()->undefined_value(); | 770 return isolate->heap()->undefined_value(); |
| 770 } | 771 } |
| 771 return *wasm::CreateCompiledModuleObject(isolate, compiled_module); | 772 return *wasm::CreateCompiledModuleObject(isolate, compiled_module); |
| 772 } | 773 } |
| 773 | 774 |
| 774 } // namespace internal | 775 } // namespace internal |
| 775 } // namespace v8 | 776 } // namespace v8 |
| OLD | NEW |