Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Unified Diff: src/runtime.cc

Issue 3009017: Fix presubmit errors. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
===================================================================
--- src/runtime.cc (revision 5124)
+++ src/runtime.cc (working copy)
@@ -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);
+ HandleScope scope;
+ ASSERT(args.length() == 2);
+ CONVERT_ARG_CHECKED(JSFunction, function, 0);
+ CONVERT_ARG_CHECKED(JSArray, params, 1);
- FixedArray* fixed = FixedArray::cast(params->elements());
+ 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();
- }
+ 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;
-
+ Handle<Object> result = Execution::New(
+ function, fixed->length(), param_data, &exception);
+ return *result;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698