Lines Matching refs:function
42 function OptTracker() {
47 * The possible optimization states of a function. Must be in sync with the
59 * Always call this at the beginning of your test, once for each function
64 OptTracker.prototype.CheckpointOptCount = function(func) {
68 OptTracker.prototype.AssertOptCount = function(func, optcount) {
75 OptTracker.prototype.AssertDeoptCount = function(func, deopt_count) {
82 OptTracker.prototype.AssertDeoptHappened = function(func, expect_deopt) {
93 OptTracker.prototype.AssertIsOptimized = function(func, expect_optimized) {
108 OptTracker.prototype.GetOptCount_ = function(func) {
120 OptTracker.prototype.GetDeoptCount_ = function(func) {
131 OptTracker.prototype.DisableAsserts_ = function(func) {
144 // Example function used by the test below.
145 function f(a) {