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

Unified Diff: test/mjsunit/assert-opt-and-deopt.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/array-unshift.js ('k') | test/mjsunit/break.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/assert-opt-and-deopt.js
diff --git a/test/mjsunit/assert-opt-and-deopt.js b/test/mjsunit/assert-opt-and-deopt.js
index 51cb99adc3354f47aa106e87a90e68a55d559663..1672919d59f4e9afdba67f820c6642877dad3389 100644
--- a/test/mjsunit/assert-opt-and-deopt.js
+++ b/test/mjsunit/assert-opt-and-deopt.js
@@ -82,7 +82,7 @@ OptTracker.prototype.AssertDeoptHappened = function(func, expect_deopt) {
} else {
assertEquals(0, this.GetDeoptCount_(func));
}
-}
+};
OptTracker.prototype.AssertIsOptimized = function(func, expect_optimized) {
if (this.DisableAsserts_(func)) {
@@ -94,7 +94,7 @@ OptTracker.prototype.AssertIsOptimized = function(func, expect_optimized) {
} else {
assertEquals(OptTracker.OptimizationState.NO, raw_optimized);
}
-}
+};
/**
* @private
@@ -106,7 +106,7 @@ OptTracker.prototype.GetOptCount_ = function(func) {
return raw_count - checkpointed_count;
}
return raw_count;
-}
+};
/**
* @private
@@ -117,7 +117,7 @@ OptTracker.prototype.GetDeoptCount_ = function(func) {
count -= 1;
}
return count;
-}
+};
/**
* @private
@@ -132,7 +132,7 @@ OptTracker.prototype.DisableAsserts_ = function(func) {
return true;
}
return false;
-}
+};
// (End of class OptTracker.)
// Example function used by the test below.
« no previous file with comments | « test/mjsunit/array-unshift.js ('k') | test/mjsunit/break.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698