Index: src/runtime/runtime-compiler.cc |
diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc |
index 6e7932c140e9d0f4d03e382a6150c7256a6a970e..73a9aef93a929ea6542c9d8a60b9c631f09ca4f9 100644 |
--- a/src/runtime/runtime-compiler.cc |
+++ b/src/runtime/runtime-compiler.cc |
@@ -256,7 +256,7 @@ RUNTIME_FUNCTION(Runtime_CompileForOnStackReplacement) { |
function->PrintName(); |
PrintF(" at AST id %d]\n", ast_id.ToInt()); |
} |
- maybe_result = Compiler::GetOptimizedCode( |
+ maybe_result = Compiler::GetOptimizedCodeForOSR( |
function, mode, ast_id, |
(mode == Compiler::NOT_CONCURRENT) ? frame : nullptr); |
Handle<Code> result; |