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

Unified Diff: src/runtime/runtime.h

Issue 2146353002: [stubs] Properly handle length overflow in StringAddStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Throw a proper RangeError Created 4 years, 5 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/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index cccc115bc0d8ab8c2c1f5e34d399760a1bc55063..d84b57e9d6d8b566537d342700fd0b517cbd5303 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -292,6 +292,7 @@ namespace internal {
F(ThrowCannotConvertToPrimitive, 0, 1) \
F(ThrowIllegalInvocation, 0, 1) \
F(ThrowIncompatibleMethodReceiver, 2, 1) \
+ F(ThrowInvalidStringLength, 0, 1) \
F(ThrowIteratorResultNotAnObject, 1, 1) \
F(ThrowNotGeneric, 1, 1) \
F(ThrowGeneratorRunning, 0, 1) \

Powered by Google App Engine
This is Rietveld 408576698