Revision: 7617
Author:   [email protected]
Date:     Thu Apr 14 05:05:03 2011
Log:      Fix presubmit errors in bootstrapper.cc.

Review URL: http://codereview.chromium.org/6851015
http://code.google.com/p/v8/source/detail?r=7617

Modified:
 /branches/bleeding_edge/src/bootstrapper.cc

=======================================
--- /branches/bleeding_edge/src/bootstrapper.cc Thu Apr 14 01:01:19 2011
+++ /branches/bleeding_edge/src/bootstrapper.cc Thu Apr 14 05:05:03 2011
@@ -353,7 +353,9 @@
 Handle<DescriptorArray> Genesis::ComputeFunctionInstanceDescriptor(
     PrototypePropertyMode prototypeMode) {
   Handle<DescriptorArray> descriptors =
- factory()->NewDescriptorArray(prototypeMode == DONT_ADD_PROTOTYPE ? 4 : 5);
+      factory()->NewDescriptorArray(prototypeMode == DONT_ADD_PROTOTYPE
+                                    ? 4
+                                    : 5);
   PropertyAttributes attributes =
       static_cast<PropertyAttributes>(DONT_ENUM | DONT_DELETE | READ_ONLY);

@@ -498,7 +500,9 @@
     Handle<FixedArray> arguments,
     Handle<FixedArray> caller) {
   Handle<DescriptorArray> descriptors =
- factory()->NewDescriptorArray(prototypeMode == DONT_ADD_PROTOTYPE ? 4 : 5);
+      factory()->NewDescriptorArray(prototypeMode == DONT_ADD_PROTOTYPE
+                                    ? 4
+                                    : 5);
   PropertyAttributes attributes = static_cast<PropertyAttributes>(
       DONT_ENUM | DONT_DELETE | READ_ONLY);

@@ -1245,10 +1249,11 @@
 }


-#define INSTALL_NATIVE(Type, name, var) \ - Handle<String> var##_name = factory()->LookupAsciiSymbol(name); \ - Object* var##_native = \ - global_context()->builtins()->GetPropertyNoExceptionThrown(*var##_name); \ +#define INSTALL_NATIVE(Type, name, var) \ + Handle<String> var##_name = factory()->LookupAsciiSymbol(name); \ + Object* var##_native = \ + global_context()->builtins()->GetPropertyNoExceptionThrown( \ + *var##_name); \
   global_context()->set_##var(Type::cast(var##_native));


@@ -1311,7 +1316,7 @@

   // Create a bridge function that has context in the global context.
   Handle<JSFunction> bridge =
-      factory()->NewFunction(factory()->empty_symbol(),
+      factory()->NewFunction(factory()->empty_symbol(),
                              factory()->undefined_value());
   ASSERT(bridge->context() == *isolate()->global_context());

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

Reply via email to