Index: src/api.cc |
=================================================================== |
--- src/api.cc (revision 2430) |
+++ src/api.cc (working copy) |
@@ -1085,8 +1085,9 @@ |
// handle it if it turns out not to be in release mode. |
ASSERT(pre_data == NULL || pre_data->SanityCheck()); |
// If the pre-data isn't sane we simply ignore it |
- if (pre_data != NULL && !pre_data->SanityCheck()) |
+ if (pre_data != NULL && !pre_data->SanityCheck()) { |
pre_data = NULL; |
+ } |
i::Handle<i::JSFunction> boilerplate = i::Compiler::Compile(str, |
name_obj, |
line_offset, |