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) { |