Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 600f312927e144bb20d93b7a6db72be2effe592c..a4b741a2e6e5a50b740f935526984e621ac6d327 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -540,27 +540,13 @@ class Factory final { |
Handle<Object> NewError(const char* maker, const char* message, |
Handle<JSArray> args); |
Handle<String> EmergencyNewError(const char* message, Handle<JSArray> args); |
- 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(Handle<String> message); |
Handle<Object> NewError(const char* constructor, Handle<String> message); |
- Handle<Object> NewTypeError(Handle<String> message); |
- |
- Handle<Object> NewRangeError(Handle<String> message); |
- |
Handle<Object> NewInvalidStringLengthError() { |
return NewRangeError(MessageTemplate::kInvalidStringLength); |
} |
- Handle<Object> NewSyntaxError(const char* message, Handle<JSArray> args); |
- Handle<Object> NewSyntaxError(Handle<String> message); |
- |
- Handle<Object> NewReferenceError(const char* message, Handle<JSArray> args); |
- Handle<Object> NewReferenceError(Handle<String> message); |
- |
Handle<Object> NewError(const char* maker, |
MessageTemplate::Template template_index, |
Handle<Object> arg0, Handle<Object> arg1, |
@@ -576,6 +562,11 @@ class Factory final { |
Handle<Object> arg1 = Handle<Object>(), |
Handle<Object> arg2 = Handle<Object>()); |
+ Handle<Object> NewSyntaxError(MessageTemplate::Template template_index, |
+ Handle<Object> arg0 = Handle<Object>(), |
+ 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>(), |