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

Unified Diff: src/messages.h

Issue 1086313003: Migrate error messages, part 2. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/messages.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/messages.h
diff --git a/src/messages.h b/src/messages.h
index ba130427225e3e239eb3dbade563855a4b9597d8..fb3e50caf803db4a491c7141cf4481c6d3a310d1 100644
--- a/src/messages.h
+++ b/src/messages.h
@@ -88,9 +88,17 @@ class MessageHandler {
};
-#define MESSAGE_TEMPLATES(T) \
- T(PropertyNotFunction, "Property '%' of object % is not a function") \
- T(WithExpression, "% has no properties")
+#define MESSAGE_TEMPLATES(T) \
+ /* Error */ \
+ T(CyclicProto, "Cyclic __proto__ value") \
+ /* TypeError */ \
+ T(CalledNonCallable, "% is not a function") \
+ T(GeneratorRunning, "Generator is already running") \
+ T(IncompatibleMethodReceiver, "Method % called on incompatible receiver %") \
+ T(PropertyNotFunction, "Property '%' of object % is not a function") \
+ T(WithExpression, "% has no properties") \
+ /* EvalError */ \
+ T(CodeGenFromStrings, "%")
class MessageTemplate {
public:
« no previous file with comments | « src/harmony-typedarray.js ('k') | src/messages.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698