Index: src/runtime/runtime-test.cc |
diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc |
index 716826c2b33e0cf2f7a3ec6f431c60ed8b4891a7..4fe438bf95bf8d93cea38ebd5e08c4b5f338f843 100644 |
--- a/src/runtime/runtime-test.cc |
+++ b/src/runtime/runtime-test.cc |
@@ -165,6 +165,7 @@ RUNTIME_FUNCTION(Runtime_DeoptimizeFunction) { |
return isolate->heap()->undefined_value(); |
} |
Handle<JSFunction> function = Handle<JSFunction>::cast(function_object); |
+ function->shared()->set_marked_for_tier_up(false); |
// If the function is not optimized, just return. |
if (!function->IsOptimized()) return isolate->heap()->undefined_value(); |