Author: [EMAIL PROTECTED]
Date: Wed Nov 19 01:50:50 2008
New Revision: 791
Modified:
branches/bleeding_edge/src/jsregexp.cc
Log:
Removed one more occurrence of a failure in a handle.
Review URL: http://codereview.chromium.org/11469
Modified: branches/bleeding_edge/src/jsregexp.cc
==============================================================================
--- branches/bleeding_edge/src/jsregexp.cc (original)
+++ branches/bleeding_edge/src/jsregexp.cc Wed Nov 19 01:50:50 2008
@@ -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
-~----------~----~----~----~------~----~------~--~---