| 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 =
|
|
|