Index: src/jsregexp.cc |
=================================================================== |
--- src/jsregexp.cc (revision 688) |
+++ src/jsregexp.cc (working copy) |
@@ -382,7 +382,8 @@ |
(error_message == NULL) ? "Unknown regexp error" : error_message))); |
Handle<Object> regexp_err = |
Factory::NewSyntaxError("malformed_regexp", array); |
- return Handle<Object>(Top::Throw(*regexp_err)); |
+ Top::Throw(*regexp_err); |
+ return Handle<Object>(); |
} |
// Convert the return address to a ByteArray pointer. |