Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 8c9b5b56ac4389898cfe433f5bb674b932a38a1b..44aec28b5f350b950dec322ae474bc815fd26b4f 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -562,14 +562,9 @@ class Factory final { |
Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); |
Handle<Object> NewSyntaxError(Handle<String> message); |
- Handle<Object> NewReferenceError(const char* message, |
- Vector<Handle<Object> > args); |
Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); |
Handle<Object> NewReferenceError(Handle<String> message); |
- 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, |
@@ -585,6 +580,11 @@ class Factory final { |
Handle<Object> arg1 = Handle<Object>(), |
Handle<Object> arg2 = Handle<Object>()); |
+ Handle<Object> NewReferenceError(MessageTemplate::Template template_index, |
+ Handle<Object> arg0 = Handle<Object>(), |
+ Handle<Object> arg1 = Handle<Object>(), |
+ Handle<Object> arg2 = Handle<Object>()); |
+ |
Handle<Object> NewRangeError(MessageTemplate::Template template_index, |
Handle<Object> arg0 = Handle<Object>(), |
Handle<Object> arg1 = Handle<Object>(), |