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

Unified Diff: src/factory.cc

Issue 1130783002: Migrate error messages, part 9. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/factory.h ('k') | src/ic/ic.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index 332dc5e39df269d250c3161888584d176c103599..0e66ec6268268f42b439a2acdf03693900266749 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1110,12 +1110,6 @@ Handle<Object> Factory::NewSyntaxError(Handle<String> message) {
Handle<Object> Factory::NewReferenceError(const char* message,
- Vector<Handle<Object> > args) {
- return NewError("MakeReferenceError", message, args);
-}
-
-
-Handle<Object> Factory::NewReferenceError(const char* message,
Handle<JSArray> args) {
return NewError("MakeReferenceError", message, args);
}
@@ -1173,12 +1167,6 @@ Handle<Object> Factory::NewError(const char* maker,
}
-Handle<Object> Factory::NewEvalError(const char* message,
- Vector<Handle<Object> > args) {
- return NewError("MakeEvalError", message, args);
-}
-
-
Handle<Object> Factory::NewError(MessageTemplate::Template template_index,
Handle<Object> arg0, Handle<Object> arg1,
Handle<Object> arg2) {
@@ -1193,6 +1181,13 @@ Handle<Object> Factory::NewTypeError(MessageTemplate::Template template_index,
}
+Handle<Object> Factory::NewReferenceError(
+ MessageTemplate::Template template_index, Handle<Object> arg0,
+ Handle<Object> arg1, Handle<Object> arg2) {
+ return NewError("MakeReferenceError", template_index, arg0, arg1, arg2);
+}
+
+
Handle<Object> Factory::NewRangeError(MessageTemplate::Template template_index,
Handle<Object> arg0, Handle<Object> arg1,
Handle<Object> arg2) {
« no previous file with comments | « src/factory.h ('k') | src/ic/ic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698