Reviewers: Kevin Millikin, Description: Removed one more occurrence of a failure in a handle.
Please review this at http://codereview.chromium.org/11469 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/jsregexp.cc Index: src/jsregexp.cc =================================================================== --- src/jsregexp.cc (revision 784) +++ src/jsregexp.cc (working copy) @@ -103,7 +103,7 @@ // Ensure that the constructor function has been loaded. if (!constructor->IsLoaded()) { LoadLazy(constructor, has_pending_exception); - if (*has_pending_exception) return Handle<Object>(Failure::Exception()); + if (*has_pending_exception) return Handle<Object>(); } // Call the construct code with 2 arguments. Object** argv[2] = { Handle<Object>::cast(pattern).location(), --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
