Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:function

31 // Scenario: some function is being edited; the outer function has to have its
32 // positions patched. Accoring to a special markup of function text
38 "function F1() { return 5; }\n" +
39 "function ChooseAnimal(/*$*/ ) {\n" +
41 "/*$*/ var res/*$*/ =/*$*/ (function() { return 'Cat'; } )();\n" +
46 "function F2(x, y) { return x + y; }"
49 // Find all *$* markers in text of the function and read corresponding statement
51 function ReadMarkerPositions(func) {
62 function ReadPCMap(func, positions) {
68 // Function was marked for recompilation and it's code was replaced with a
80 function ApplyPatch(orig_animal, new_animal) {
111 // When we patched function for the first time it was deoptimized.
120 // Function can be marked for recompilation at any point (especially if we are
121 // running with --stress-opt). When we mark function for recompilation we
123 // function.