Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 145608bda8e45acb1109f21c0983318265bb9f27..9b27a8cc5fe0dea89b6171c9dea8cdbcd75ad9be 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -6494,6 +6494,7 @@ void Testing::PrepareStressRun(int run) { |
void Testing::DeoptimizeAll() { |
+ i::HandleScope scope; |
internal::Deoptimizer::DeoptimizeAll(); |
} |