Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 73f6478338258fe2c9cdbfb3c0e67c7c85ce7e6b..f5dc537b4518cfd3baed0a4d6dbf4bc07fd69c16 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -400,7 +400,7 @@ RUNTIME_FUNCTION(Runtime_DisassembleFunction) { |
DCHECK(args.length() == 1); |
// Get the function and make sure it is compiled. |
CONVERT_ARG_HANDLE_CHECKED(JSFunction, func, 0); |
- if (!Compiler::EnsureCompiled(func, KEEP_EXCEPTION)) { |
+ if (!Compiler::Compile(func, KEEP_EXCEPTION)) { |
return isolate->heap()->exception(); |
} |
OFStream os(stdout); |