nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/SharedScopeCall.java
changeset 32048 8023426b93ab
parent 27976 ef54dfb4fc7d
equal deleted inserted replaced
31945:eeea9adfd1e3 32048:8023426b93ab
   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     }