Fix presubmit errors.
authorricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Jul 2010 10:15:21 +0000 (10:15 +0000)
committerricow@chromium.org <ricow@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 23 Jul 2010 10:15:21 +0000 (10:15 +0000)
Review URL: http://codereview.chromium.org/3009017

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5125 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/runtime.cc

index 83eaeec..0330abd 100644 (file)
@@ -6752,24 +6752,23 @@ static Object* Runtime_NewClosure(Arguments args) {
 }
 
 static Object* Runtime_NewObjectFromBound(Arguments args) {
-   HandleScope scope;
-   ASSERT(args.length() == 2);
-   CONVERT_ARG_CHECKED(JSFunction, function, 0);
-   CONVERT_ARG_CHECKED(JSArray, params, 1);
-
-   FixedArray* fixed = FixedArray::cast(params->elements());
+  HandleScope scope;
+  ASSERT(args.length() == 2);
+  CONVERT_ARG_CHECKED(JSFunction, function, 0);
+  CONVERT_ARG_CHECKED(JSArray, params, 1);
 
-   bool exception = false;
-   Object*** param_data = NewArray<Object**>(fixed->length());
-   for (int i = 0; i < fixed->length();  i++) {
-     Handle<Object> val = Handle<Object>(fixed->get(i));
-     param_data[i] = val.location();
-   }
+  FixedArray* fixed = FixedArray::cast(params->elements());
 
-   Handle<Object> result = Execution::New(
-       function, fixed->length(), param_data, &exception);
-   return *result;
+  bool exception = false;
+  Object*** param_data = NewArray<Object**>(fixed->length());
+  for (int i = 0; i < fixed->length();  i++) {
+    Handle<Object> val = Handle<Object>(fixed->get(i));
+    param_data[i] = val.location();
+  }
 
+  Handle<Object> result = Execution::New(
+      function, fixed->length(), param_data, &exception);
+  return *result;
 }