Searched refs:isScope (Results 1 - 25 of 30) sorted by relevance

12

/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/codegen/
H A DObjectCreator.java51 private final boolean isScope; field in class:ObjectCreator
59 * @param isScope is this object scope
62 ObjectCreator(final CodeGenerator codegen, final List<MapTuple<T>> tuples, final boolean isScope, final boolean hasArguments) { argument
65 this.isScope = isScope;
132 protected boolean isScope() { method in class:ObjectCreator
133 return isScope;
H A DFieldObjectCreator.java82 * @param isScope is this a scope object
85 FieldObjectCreator(final CodeGenerator codegen, final List<MapTuple<T>> tuples, final boolean isScope, final boolean hasArguments) { argument
86 super(codegen, tuples, isScope, hasArguments);
109 if (isScope()) {
130 assert isScope();
210 fieldObjectClassName = isScope() ?
H A DMapCreator.java144 if (symbol.isScope() && !evalCode) {
161 if (symbol.isBlockScoped() && symbol.isScope()) {
H A DOptimisticTypesCalculator.java228 assert symbol.isScope();
H A DSpillObjectCreator.java65 assert !isScope() : "spill scope objects are not currently supported";
H A DCodeGenerator.java303 assert symbol.isScope();
337 if (!symbol.isScope()) {
347 assert identNode.getSymbol().isScope() : identNode + " is not in scope!";
426 if (!symbol.isScope()) {
1572 if (symbol.isScope()) {
1894 assert !varsInScope || symbol.isScope();
1895 if (varsInScope || symbol.isScope()) {
1896 assert symbol.isScope() : "scope for " + symbol + " should have been set in Lower already " + function.getName();
1904 } else if (symbol.isParam() && (varsInScope || hasArguments || symbol.isScope())) {
1905 assert symbol.isScope()
[all...]
H A DFindScopeDepths.java279 if (symbol != null && symbol.isScope()) {
H A DAssignSymbols.java646 if (symbol.isScope()) {
768 final boolean failDelete = strictMode || (!symbol.isScope() && (symbol.isParam() || (symbol.isVar() && !symbol.isProgramLevel())));
930 if (!symbol.isScope() && symbolNeedsToBeScope(symbol)) {
H A DCompilationPhase.java237 if (!symbol.isScope()) {
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/
H A DSymbol.java203 if (isScope()) {
242 assert !isScope();
283 if (isScope()) {
316 return hasSlot() && !isScope();
333 public boolean isScope() { method in class:Symbol
347 * Flag this symbol as scope as described in {@link Symbol#isScope()}
351 if (!isScope()) {
615 if (isScope()) { // Avoid dirtying a cache line; we only need the use count for scoped symbols
H A DIdentNode.java128 } else if(symbol != null && symbol.isScope()) {
171 return !getSymbol().isScope();
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DScope.java83 public boolean isScope() { method in class:Scope
H A DWithObject.java169 * @param isScope true if is this a scope access
174 protected FindProperty findProperty(final Object key, final boolean deep, final boolean isScope, final ScriptObject start) { argument
182 return super.findProperty(key, deep, isScope, start);
186 protected Object invokeNoSuchProperty(final Object key, final boolean isScope, final int programPoint) { argument
192 final Object self = isScope && sfunc.isStrict()? UNDEFINED : expression;
197 return getProto().invokeNoSuchProperty(key, isScope, programPoint);
H A DFindProperty.java207 public boolean isScope() { method in class:FindProperty
208 return prototype.isScope();
H A DSetMethodCreator.java128 if (sobj.isScope()) {
138 if (NashornCallSiteDescriptor.isScope(desc) && NashornCallSiteDescriptor.isStrict(desc)) {
H A DNativeJavaPackage.java210 protected Object invokeNoSuchProperty(final Object key, final boolean isScope, final int programPoint) { argument
212 return super.invokeNoSuchProperty(key, isScope, programPoint);
H A DScriptObject.java799 * @param isScope true if this is a scope access
803 protected FindProperty findProperty(final Object key, final boolean deep, final boolean isScope, final ScriptObject start) { argument
814 final FindProperty find = myProto == null ? null : myProto.findProperty(key, true, isScope, start);
1656 public boolean isScope() { method in class:ScriptObject
1964 final FindProperty find = findProperty(name, true, NashornCallSiteDescriptor.isScope(desc), this);
2019 final MethodHandle invoker = MH.insertArguments(MEGAMORPHIC_GET, 1, name, isMethod, NashornCallSiteDescriptor.isScope(desc));
2025 private Object megamorphicGet(final String key, final boolean isMethod, final boolean isScope) { argument
2026 final FindProperty find = findProperty(key, true, isScope, this);
2037 return isMethod ? getNoSuchMethod(key, isScope, INVALID_PROGRAM_POINT) : invokeNoSuchProperty(key, isScope, INVALID_PROGRAM_POIN
2416 invokeNoSuchProperty(final Object key, final boolean isScope, final int programPoint) argument
2443 getNoSuchMethod(final String name, final boolean isScope, final int programPoint) argument
[all...]
H A DGlobalConstants.java340 return receiver.isScope();
H A DScriptRuntime.java837 while (sobj != null && sobj.isScope()) {
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeJavaImporter.java138 protected Object invokeNoSuchProperty(final Object key, final boolean isScope, final int programPoint) { argument
140 return super.invokeNoSuchProperty(key, isScope, programPoint);
H A DGlobal.java1654 final ScriptObject scope = self instanceof ScriptObject && ((ScriptObject)self).isScope() ? (ScriptObject)self : global;
2459 final boolean isScope = NashornCallSiteDescriptor.isScope(desc);
2461 if (lexicalScope != null && isScope && !NashornCallSiteDescriptor.isApplyToCall(desc)) {
2474 if (isScope && context.getEnv()._es6 && (invocation.getSwitchPoints() == null || !hasOwnProperty(name))) {
2482 protected FindProperty findProperty(final Object key, final boolean deep, final boolean isScope, final ScriptObject start) { argument
2483 if (lexicalScope != null && isScope) {
2489 return super.findProperty(key, deep, isScope, start);
2494 final boolean isScope = NashornCallSiteDescriptor.isScope(des
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/linker/
H A DNashornGuards.java143 if (NashornCallSiteDescriptor.isScope(desc) && sobj.isScope()) {
H A DJSObjectLinker.java149 MethodHandle mh = NashornCallSiteDescriptor.isScope(desc)? JSOBJECT_SCOPE_CALL : JSOBJECT_CALL;
H A DNashornCallSiteDescriptor.java435 public static boolean isScope(final CallSiteDescriptor desc) { method in class:NashornCallSiteDescriptor
H A DLinkerCallSite.java423 if (!(arg instanceof ScriptObject && ((ScriptObject)arg).isScope())) {

Completed in 232 milliseconds

12