Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index e855c85e30b0e24697a90928f531594f62559dbc..d227ac3a3dcea03755ced48391ac2616592f2bc0 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1358,6 +1358,9 @@ bool Shell::SetOptions(int argc, char* argv[]) { |
if (strcmp(argv[i], "--stress-opt") == 0) { |
options.stress_opt = true; |
argv[i] = NULL; |
+ } else if (strcmp(argv[i], "--nostress-opt") == 0) { |
+ options.stress_opt = false; |
+ argv[i] = NULL; |
} else if (strcmp(argv[i], "--stress-deopt") == 0) { |
options.stress_deopt = true; |
argv[i] = NULL; |