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

Unified Diff: test/mjsunit/fuzz-natives.js

Issue 8888006: Make more JS files beter match the coding standard. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 9 years 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 | « test/mjsunit/function-source.js ('k') | test/mjsunit/get-own-property-descriptor.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/fuzz-natives.js
diff --git a/test/mjsunit/fuzz-natives.js b/test/mjsunit/fuzz-natives.js
index c4d18d041103ca7436cf08f65d5d17fa9c9c3738..ffcf9a0aa4cbc3ac33bb4ab2a7fe3d938abb1351 100644
--- a/test/mjsunit/fuzz-natives.js
+++ b/test/mjsunit/fuzz-natives.js
@@ -101,8 +101,9 @@ function testArgumentTypes(name, argc) {
for (var i = 0; i < argc; i++) {
var index = current % numArguments;
current = (current / numArguments) << 0;
- if (index != (numArguments - 1))
+ if (index != (numArguments - 1)) {
hasMore = true;
+ }
argList.push(argPool[index]);
}
try {
@@ -206,8 +207,9 @@ function testNatives() {
for (var i = 0; i < allNatives.length; i++) {
var nativeInfo = allNatives[i];
var name = nativeInfo[0];
- if (name in knownProblems || name in currentlyUncallable)
+ if (name in knownProblems || name in currentlyUncallable) {
continue;
+ }
print(name);
var argc = nativeInfo[1];
testArgumentCount(name, argc);
« no previous file with comments | « test/mjsunit/function-source.js ('k') | test/mjsunit/get-own-property-descriptor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698