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

Unified Diff: src/runtime.js

Issue 215853005: Check stack limit in ArgumentAdaptorTrampoline. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: rebase Created 6 years, 8 months 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
Index: src/runtime.js
diff --git a/src/runtime.js b/src/runtime.js
index a49bc8448dfa52022880ef78e4e10eff632b7a12..89dea0fd08842015070d2abd58470e488b6bc093 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -469,6 +469,11 @@ function APPLY_OVERFLOW(length) {
}
+function STACK_OVERFLOW(length) {
Michael Starzinger 2014/04/08 11:58:40 nit: I don't see a particular reason why we need t
ulan 2014/04/08 14:00:56 Done. Removed APPLY_OVERFLOW
+ throw %MakeRangeError('stack_overflow', []);
+}
+
+
// Convert the receiver to an object - forward to ToObject.
function TO_OBJECT() {
return %ToObject(this);

Powered by Google App Engine
This is Rietveld 408576698