From d54583f1407ad4a6614fe124a3fef28663b05043 Mon Sep 17 00:00:00 2001 From: "ager@chromium.org" Date: Wed, 19 Nov 2008 09:50:50 +0000 Subject: [PATCH] Removed one more occurrence of a failure in a handle. Review URL: http://codereview.chromium.org/11469 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@791 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/jsregexp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jsregexp.cc b/src/jsregexp.cc index 2dd21bd..cacf5ed 100644 --- a/src/jsregexp.cc +++ b/src/jsregexp.cc @@ -103,7 +103,7 @@ Handle RegExpImpl::CreateRegExpLiteral(Handle constructor, // Ensure that the constructor function has been loaded. if (!constructor->IsLoaded()) { LoadLazy(constructor, has_pending_exception); - if (*has_pending_exception) return Handle(Failure::Exception()); + if (*has_pending_exception) return Handle(); } // Call the construct code with 2 arguments. Object** argv[2] = { Handle::cast(pattern).location(), -- 2.7.4