Index: src/factory.h |
diff --git a/src/factory.h b/src/factory.h |
index 13a5c3e6e15ae95e5d6dccc1f15f195b9d25430c..9ecf3206ea957c70a9c3089ed0cf205ff3a8a267 100644 |
--- a/src/factory.h |
+++ b/src/factory.h |
@@ -537,20 +537,12 @@ class Factory FINAL { |
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, |
@@ -573,6 +565,26 @@ class Factory FINAL { |
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); |