Index: runtime/vm/find_code_object_test.cc |
diff --git a/runtime/vm/find_code_object_test.cc b/runtime/vm/find_code_object_test.cc |
index 75ffa2b0598067a96921ffed772d70d4c075cd87..a47129e8a055085dc1da4c7b8758155347241919 100644 |
--- a/runtime/vm/find_code_object_test.cc |
+++ b/runtime/vm/find_code_object_test.cc |
@@ -48,13 +48,10 @@ VM_TEST_CASE(FindCodeObject) { |
// Load up class A with 1024 functions. |
int written = OS::SNPrint(scriptChars, kScriptSize, "class A {"); |
for (int i = 0; i < kNumFunctions; i++) { |
- OS::SNPrint(buffer, |
- 256, |
+ OS::SNPrint(buffer, 256, |
"static foo%d([int i=1,int j=2,int k=3]){return i+j+k;}", i); |
- written += OS::SNPrint((scriptChars + written), |
- (kScriptSize - written), |
- "%s", |
- buffer); |
+ written += OS::SNPrint((scriptChars + written), (kScriptSize - written), |
+ "%s", buffer); |
} |
OS::SNPrint((scriptChars + written), (kScriptSize - written), "}"); |
source = String::New(scriptChars); |
@@ -78,32 +75,23 @@ VM_TEST_CASE(FindCodeObject) { |
written = OS::SNPrint(scriptChars, kScriptSize, "class B {"); |
// Create one large function. |
OS::SNPrint(buffer, sizeof(buffer), "static moo0([var i=1]) { "); |
- written += OS::SNPrint((scriptChars + written), |
- (kScriptSize - written), |
- "%s", |
+ written += OS::SNPrint((scriptChars + written), (kScriptSize - written), "%s", |
buffer); |
// Generate a large function so that the code for this function when |
// compiled will reside in a large page. |
for (int i = 0; i < kLoopCount; i++) { |
OS::SNPrint(buffer, sizeof(buffer), "i = i+i;"); |
- written += OS::SNPrint((scriptChars + written), |
- (kScriptSize - written), |
- "%s", |
- buffer); |
+ written += OS::SNPrint((scriptChars + written), (kScriptSize - written), |
+ "%s", buffer); |
} |
OS::SNPrint(buffer, sizeof(buffer), "return i; }"); |
- written += OS::SNPrint((scriptChars + written), |
- (kScriptSize - written), |
- "%s", |
+ written += OS::SNPrint((scriptChars + written), (kScriptSize - written), "%s", |
buffer); |
for (int i = 1; i < kNumFunctions; i++) { |
- OS::SNPrint(buffer, |
- 256, |
+ OS::SNPrint(buffer, 256, |
"static moo%d([int i=1,int j=2,int k=3]){return i+j+k;}", i); |
- written += OS::SNPrint((scriptChars + written), |
- (kScriptSize - written), |
- "%s", |
- buffer); |
+ written += OS::SNPrint((scriptChars + written), (kScriptSize - written), |
+ "%s", buffer); |
} |
OS::SNPrint((scriptChars + written), (kScriptSize - written), "}"); |
url = String::New("dart-test:FindCodeObject"); |