(ExecutionContext context)
| 105 | } |
| 106 | |
| 107 | @Override |
| 108 | public Object call(ExecutionContext context) { |
| 109 | // Allocate space for variables of this function and establish link to captured ones. |
| 110 | context.allocVars(scope.getLocalVariableSize(), capturedValues); |
| 111 | |
| 112 | if (box.compilationInProgress || box.callCount >= 0) { |
| 113 | if (tryCompile(context)) { |
| 114 | return callJitted(context); |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | return Interpreter.execute(context, scope, instructions); |
| 119 | } |
| 120 | |
| 121 | private Object callJitted(ExecutionContext context) { |
| 122 | return box.compiledFunction.call(context); |
nothing calls this directly
no test coverage detected