Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: src/prototype.h

Issue 2509843005: [fuzzing] consistently honor --abort-on-stack-overflow. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.h ('k') | src/regexp/regexp-parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/prototype.h
diff --git a/src/prototype.h b/src/prototype.h
index e52d20efd8f143a55f9b02b615fecd7065b9e79b..6e9015da63f1d8029592c9632d2b02ae45cc5bc3 100644
--- a/src/prototype.h
+++ b/src/prototype.h
@@ -147,8 +147,7 @@ class PrototypeIterator {
// we visit to an arbitrarily chosen large number.
seen_proxies_++;
if (seen_proxies_ > kProxyPrototypeLimit) {
- isolate_->Throw(
- *isolate_->factory()->NewRangeError(MessageTemplate::kStackOverflow));
+ isolate_->StackOverflow();
return false;
}
MaybeHandle<Object> proto =
« no previous file with comments | « src/isolate.h ('k') | src/regexp/regexp-parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698