Author: [email protected]
Date: Mon Jul 13 08:00:35 2009
New Revision: 2443
Modified:
branches/bleeding_edge/src/api.cc
branches/bleeding_edge/tools/v8.xcodeproj/project.pbxproj (props
changed)
Log:
- Added missing braces in an if statement as a drive-by-edit.
- Removed executable bits from Xcode project file.
Review URL: http://codereview.chromium.org/155411
Modified: branches/bleeding_edge/src/api.cc
==============================================================================
--- branches/bleeding_edge/src/api.cc (original)
+++ branches/bleeding_edge/src/api.cc Mon Jul 13 08:00:35 2009
@@ -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,
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---