Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1154)

Unified Diff: src/factory.h

Issue 176843003: Add StackOverflowError and expose error type to api. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix test Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 00ae587d640aadcaac3e9cb5cf8be0b93dfef162..86ba2c0661cc467db69ece7326569a12e258e1e2 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -437,8 +437,13 @@ class Factory {
Vector< Handle<Object> > args);
Handle<Object> NewReferenceError(Handle<String> message);
+ Handle<Object> NewStackOverflowError(Handle<String> message);
+
Handle<Object> NewEvalError(const char* message,
Vector< Handle<Object> > args);
+ Handle<Object> NewEvalError(Handle<String> message);
+
+ Handle<Object> NewURIError(Handle<String> message);
Handle<JSFunction> NewFunction(Handle<String> name,
« no previous file with comments | « src/bootstrapper.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698