Lines Matching refs:Code
6 // * Redistributions of source code must retain the above copyright
33 #include "code-stubs.h"
179 // If the code is not optimizable or references context slots, don't try OSR.
180 if (!shared->code()->optimizable() || !shared->allows_lazy_compilation()) {
185 // allocated arguments object. The optimized code would bypass it for
189 // We're using on-stack replacement: patch the unoptimized code so that
198 // Get the stack check stub code object to match against. We aren't
204 Code* replacement_code =
206 Code* unoptimized_code = shared->code();
208 Code::cast(check_code),
288 Code* unoptimized = function->shared()->code();
291 int new_nesting = Min(nesting + 1, Code::kMaxLoopNestingMarker);
308 // in JS code.
310 // If we spend less than 20% of the time in JS code,
314 // Below 75% of time spent in JS code, only optimize very