Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 0e66ec6268268f42b439a2acdf03693900266749..fca1e1c1ca8abc821566f8e697fd591c7705e098 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1076,23 +1076,11 @@ Handle<HeapNumber> Factory::NewHeapNumber(double value, |
} |
-Handle<Object> Factory::NewTypeError(const char* message, |
- Vector<Handle<Object> > args) { |
- return NewError("MakeTypeError", message, args); |
-} |
- |
- |
Handle<Object> Factory::NewTypeError(Handle<String> message) { |
return NewError("$TypeError", message); |
} |
-Handle<Object> Factory::NewRangeError(const char* message, |
- Vector<Handle<Object> > args) { |
- return NewError("MakeRangeError", message, args); |
-} |
- |
- |
Handle<Object> Factory::NewRangeError(Handle<String> message) { |
return NewError("$RangeError", message); |
} |