Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index 6f86647ef5911348cda4fa55bb590e39d4334b27..7ea484764719ed29e29f1fcb7d7dd1c42e4c577b 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -1067,6 +1067,12 @@ Handle<Object> Factory::NewReferenceError(const char* message, |
} |
+Handle<Object> Factory::NewReferenceError(const char* message, |
+ Handle<JSArray> args) { |
+ return NewError("MakeReferenceError", message, args); |
+} |
+ |
+ |
Handle<Object> Factory::NewReferenceError(Handle<String> message) { |
return NewError("$ReferenceError", message); |
} |