Revision: 5125
Author: [email protected]
Date: Fri Jul 23 03:15:21 2010
Log: Fix presubmit errors.

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

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

=======================================
--- /branches/bleeding_edge/src/runtime.cc      Fri Jul 23 03:08:55 2010
+++ /branches/bleeding_edge/src/runtime.cc      Fri Jul 23 03:15:21 2010
@@ -6752,24 +6752,23 @@
 }

 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());
-
-   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;
-
+  HandleScope scope;
+  ASSERT(args.length() == 2);
+  CONVERT_ARG_CHECKED(JSFunction, function, 0);
+  CONVERT_ARG_CHECKED(JSArray, params, 1);
+
+  FixedArray* fixed = FixedArray::cast(params->elements());
+
+  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;
 }


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

Reply via email to