Reviewers: Mads Ager,

Message:
Little nits which have been bothering me for a while...

-Ivan


Description:
- Added missing braces in an if statement as a drive-by-edit.
- Removed executable bits from Xcode project file.


Please review this at http://codereview.chromium.org/155411

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/api.cc
    M    tools/v8.xcodeproj/project.pbxproj


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,

Property changes on: tools/v8.xcodeproj/project.pbxproj
___________________________________________________________________
Name: svn:executable
    - *




--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to