Searched refs:needsCallee (Results 1 - 13 of 13) sorted by relevance
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | FinalScriptFunctionData.java | 55 assert !needsCallee(); 96 protected boolean needsCallee() { method in class:FinalScriptFunctionData 97 final boolean needsCallee = code.getFirst().needsCallee(); 98 assert allNeedCallee(needsCallee); 99 return needsCallee; 104 if(inv.needsCallee() != needCallee) { 143 final int paramCount = t.parameterCount() - (ScriptFunctionData.needsCallee(t) ? 1 : 0); 153 assert !needsCallee(mh); 179 return mh.type().parameterCount() - 1 - (needsCallee(m [all...] |
H A D | ScriptFunctionData.java | 190 abstract boolean needsCallee(); method in class:ScriptFunctionData 342 final MethodType adaptedType = needsCallee() ? type : type.dropParameterTypes(0, 1); 501 final boolean needsCallee = needsCallee(originalInvoker); 502 assert needsCallee == needsCallee() : "callee contract violation 2"; 503 assert !(isTargetBound && needsCallee); // already bound functions don't need a callee 515 } else if (needsCallee) { 531 final Object[] boundArgs = new Object[Math.min(originalInvoker.type().parameterCount() - argInsertPos, args.length + (isTargetBound ? 0 : needsCallee ? 2 : 1))]; 534 if (needsCallee) { 823 protected static boolean needsCallee(final MethodHandle mh) { method in class:ScriptFunctionData 827 static boolean needsCallee(final MethodType type) { method in class:ScriptFunctionData [all...] |
H A D | CompiledFunction.java | 202 boolean needsCallee() { method in class:CompiledFunction 203 return ScriptFunctionData.needsCallee(invoker); 251 final boolean needsCallee = ScriptFunctionData.needsCallee(invoker); 256 final MethodHandle swapped = needsCallee ? swapCalleeAndThis(invoker) : invoker; 273 if (needsCallee) { 540 final int thisThisIndex = needsCallee() ? 1 : 0; // Index of "this" parameter in this function's type
|
H A D | RecompilableScriptFunctionData.java | 170 this.functionFlags = functionNode.getFlags() | (functionNode.needsCallee() ? FunctionNode.NEEDS_CALLEE : 0); 360 if (functionNode.needsCallee()) { 640 return new TypeMap(functionNodeId, explicitParams(fnCallSiteType), needsCallee()); 855 MethodType toType = needsCallee(fromType) ? callSiteType.changeParameterType(0, ScriptFunction.class) : callSiteType.dropParameterTypes(0, 1); 931 public boolean needsCallee() { method in class:RecompilableScriptFunctionData
|
H A D | ScriptFunction.java | 646 return ScriptFunctionData.needsCallee(methodHandle) ? MH.bindTo(methodHandle, this) : methodHandle; 952 if (data.needsCallee()) {
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/ |
H A D | TypeMap.java | 36 * A tuple containing function id, parameter types, return type and needsCallee flag. 42 private final boolean needsCallee; field in class:TypeMap 48 * @param needsCallee does the function using this type map need a callee 50 public TypeMap(final int functionNodeId, final MethodType type, final boolean needsCallee) { argument 60 this.needsCallee = needsCallee; 78 if (needsCallee) { 99 public boolean needsCallee() { method in class:TypeMap 100 return needsCallee;
|
H A D | FunctionSignature.java | 156 functionNode.needsCallee(),
|
H A D | ApplySpecialization.java | 279 if (ptm.needsCallee()) {
|
H A D | AssignSymbols.java | 129 if (!functionNode.needsCallee()) {
|
H A D | MethodEmitter.java | 994 assert !functionNode.needsCallee() || thisSlot == 1; // needsCallee -> thisSlot == 1 995 assert functionNode.needsCallee() || thisSlot == 0; // !needsCallee -> thisSlot == 0
|
H A D | CodeGenerator.java | 1993 if(function.needsCallee()) { 2033 int currentIncomingSlot = function.needsCallee() ? 2 : 1; 2060 if (function.needsCallee()) { 2923 // to synthetic functions, and FunctionNode.needsCallee() will no longer need to test for isSplit().
|
H A D | LocalVariableTypesCalculator.java | 670 if(functionNode.needsCallee()) {
|
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/ |
H A D | FunctionNode.java | 210 * Rather, it is always calculated (see {@link #needsCallee()}). {@link RecompilableScriptFunctionData} 723 public boolean needsCallee() { method in class:FunctionNode
|
Completed in 139 milliseconds