Index: src/runtime/runtime-wasm.cc |
diff --git a/src/runtime/runtime-wasm.cc b/src/runtime/runtime-wasm.cc |
index 9f125c1345edb8d61db3ac4131904bd3e24328af..f3e030e7e4bbf42a71a54ffa743704d29e6dc638 100644 |
--- a/src/runtime/runtime-wasm.cc |
+++ b/src/runtime/runtime-wasm.cc |
@@ -208,5 +208,12 @@ RUNTIME_FUNCTION(Runtime_WasmStackGuard) { |
return isolate->stack_guard()->HandleInterrupts(); |
} |
+RUNTIME_FUNCTION(Runtime_WasmCompileLazy) { |
+ DCHECK(args.length() == 0); |
+ HandleScope scope(isolate); |
+ |
+ return *wasm::CompileLazy(isolate); |
+} |
+ |
} // namespace internal |
} // namespace v8 |