Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index 6494727a6c8b69ff6269cc83b35076d1b4e184da..42f54edebbbb767012fbe02fda50741b804579aa 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -2479,7 +2479,7 @@ int Shell::Main(int argc, char* argv[]) { |
result = RunMain(isolate, argc, argv, last_run); |
} |
printf("======== Full Deoptimization =======\n"); |
- Testing::DeoptimizeAll(); |
+ Testing::DeoptimizeAll(isolate); |
#if !defined(V8_SHARED) |
} else if (i::FLAG_stress_runs > 0) { |
options.stress_runs = i::FLAG_stress_runs; |