nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SharedScopeCall.java
equal
deleted
inserted
replaced
167 for (final Type type : paramTypes) { |
167 for (final Type type : paramTypes) { |
168 method.load(type, slot); |
168 method.load(type, slot); |
169 slot += type.getSlots(); |
169 slot += type.getSlots(); |
170 } |
170 } |
171 // Shared scope calls disabled in optimistic world. TODO is this right? |
171 // Shared scope calls disabled in optimistic world. TODO is this right? |
172 method.dynamicCall(returnType, 2 + paramTypes.length, flags); |
172 method.dynamicCall(returnType, 2 + paramTypes.length, flags, symbol.getName()); |
173 } |
173 } |
174 |
174 |
175 method._return(returnType); |
175 method._return(returnType); |
176 method.end(); |
176 method.end(); |
177 } |
177 } |