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

Unified Diff: src/messages.h

Issue 1620253003: Implement the function.sent proposal. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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/messages.h
diff --git a/src/messages.h b/src/messages.h
index 8cd60b1c5c173db769754a78a0e42f8ebd23acc1..3ee63f16e8ec126cd361f29b29da5d5f54244597 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -495,6 +495,7 @@ class CallSite {
T(TypedArrayTooShort, \
"Derived TypedArray constructor created an array which was too small") \
T(UnexpectedEOS, "Unexpected end of input") \
+ T(UnexpectedFunctionSent, "function.sent expression is not allowed here") \
rossberg 2016/01/22 14:13:06 "...not allowed outside a generator"
neis 2016/01/27 16:49:40 Done.
T(UnexpectedReserved, "Unexpected reserved word") \
T(UnexpectedStrictReserved, "Unexpected strict mode reserved word") \
T(UnexpectedSuper, "'super' keyword unexpected here") \

Powered by Google App Engine
This is Rietveld 408576698