Searched refs:newProperty (Results 1 - 7 of 7) sorted by relevance

/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DSharedPropertyMap.java73 public void propertyModified(final Property oldProperty, final Property newProperty, final boolean isSelf) { argument
77 super.propertyModified(oldProperty, newProperty, isSelf);
H A DPropertyMap.java304 * @param newProperty The new property
307 public void propertyModified(final Property oldProperty, final Property newProperty, final boolean isSelf) { argument
312 listeners.propertyModified(oldProperty, newProperty);
410 private int newSpillLength(final Property newProperty) { argument
411 return newProperty.isSpill() ? Math.max(spillLength, newProperty.getSlot() + 1) : spillLength;
414 private int newFieldCount(final Property newProperty) { argument
415 return !newProperty.isSpill() ? Math.max(fieldCount, newProperty.getSlot() + 1) : fieldCount;
418 private int newFlags(final Property newProperty) { argument
424 updateFreeSlots(final Property oldProperty, final Property newProperty) argument
531 replaceProperty(final Property oldProperty, final Property newProperty) argument
[all...]
H A DFindProperty.java65 * @param newProperty the new property
68 public FindProperty replaceProperty(final Property newProperty) { argument
69 assert this.property.getKey().equals(newProperty.getKey());
70 assert this.property.getSlot() == newProperty.getSlot();
71 return new FindProperty(self, prototype, newProperty);
H A DSetMethodCreator.java155 final Property newProperty = property.removeFlags(Property.NEEDS_DECLARATION);
156 final PropertyMap newMap = oldMap.replaceProperty(property, newProperty);
157 final MethodHandle fastSetter = find.replaceProperty(newProperty).getSetter(type, isStrict, request);
H A DPropertyHashMap.java170 * @param newProperty new property
173 public PropertyHashMap immutableReplace(final Property property, final Property newProperty) { argument
174 assert property.getKey().equals(newProperty.getKey()) : "replacing properties with different keys: '" + property.getKey() + "' != '" + newProperty.getKey() + "'";
176 return cloneMap().replaceNoClone(property.getKey(), newProperty);
H A DAccessorProperty.java561 private PropertyMap getWiderMap(final PropertyMap oldMap, final Property newProperty) { argument
562 final PropertyMap newMap = oldMap.replaceProperty(this, newProperty);
617 final Property newProperty = getWiderProperty(type);
618 final PropertyMap newMap = getWiderMap(currentMap, newProperty);
620 final MethodHandle widerSetter = newProperty.getSetter(type, newMap);
H A DScriptObject.java895 * @param newProperty property to add
899 public final Property addOwnProperty(final Property newProperty) { argument
902 final PropertyMap newMap = oldMap.addProperty(newProperty);
905 final Property oldProperty = oldMap.findProperty(newProperty.getKey());
911 return newProperty;
972 Property newProperty;
975 newProperty = new UserAccessorProperty(key, propertyFlags, slot);
976 newMap = oldMap.addProperty(newProperty);
991 Property newProperty;
1005 newProperty
1035 modifyOwnProperty(final Property oldProperty, final Property newProperty) argument
[all...]

Completed in 61 milliseconds