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

Unified Diff: src/factory.h

Issue 1095573002: Revert of 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/execution.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 9ecf3206ea957c70a9c3089ed0cf205ff3a8a267..13a5c3e6e15ae95e5d6dccc1f15f195b9d25430c 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -537,12 +537,20 @@
Handle<Object> NewError(const char* maker, const char* message,
Vector<Handle<Object> > args);
Handle<Object> NewError(const char* message, Vector<Handle<Object> > args);
+ Handle<Object> NewError(const char* maker,
+ MessageTemplate::Template template_index,
+ Handle<Object> arg0, Handle<Object> arg1,
+ Handle<Object> arg2);
Handle<Object> NewError(Handle<String> message);
Handle<Object> NewError(const char* constructor, Handle<String> message);
Handle<Object> NewTypeError(const char* message,
Vector<Handle<Object> > args);
+ Handle<Object> NewTypeError(MessageTemplate::Template template_index,
+ Handle<Object> arg0 = Handle<Object>(),
+ Handle<Object> arg1 = Handle<Object>(),
+ Handle<Object> arg2 = Handle<Object>());
Handle<Object> NewTypeError(Handle<String> message);
Handle<Object> NewRangeError(const char* message,
@@ -564,26 +572,6 @@
Handle<Object> NewEvalError(const char* message,
Vector<Handle<Object> > args);
-
- Handle<Object> NewError(const char* maker,
- MessageTemplate::Template template_index,
- Handle<Object> arg0, Handle<Object> arg1,
- Handle<Object> arg2);
-
- Handle<Object> NewError(MessageTemplate::Template template_index,
- Handle<Object> arg0 = Handle<Object>(),
- Handle<Object> arg1 = Handle<Object>(),
- Handle<Object> arg2 = Handle<Object>());
-
- Handle<Object> NewTypeError(MessageTemplate::Template template_index,
- Handle<Object> arg0 = Handle<Object>(),
- Handle<Object> arg1 = Handle<Object>(),
- Handle<Object> arg2 = Handle<Object>());
-
- Handle<Object> NewEvalError(MessageTemplate::Template template_index,
- Handle<Object> arg0 = Handle<Object>(),
- Handle<Object> arg1 = Handle<Object>(),
- Handle<Object> arg2 = Handle<Object>());
Handle<String> NumberToString(Handle<Object> number,
bool check_number_string_cache = true);
« no previous file with comments | « src/execution.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698