File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
graal-js/src/com.oracle.truffle.js/src/com/oracle/truffle/js/nodes/unary Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 4545import com .oracle .truffle .api .dsl .Cached ;
4646import com .oracle .truffle .api .dsl .Specialization ;
4747import com .oracle .truffle .api .frame .VirtualFrame ;
48- import com .oracle .truffle .api .instrumentation .InstrumentableNode ;
4948import com .oracle .truffle .api .instrumentation .Tag ;
5049import com .oracle .truffle .api .nodes .NodeInfo ;
5150import com .oracle .truffle .js .nodes .JavaScriptNode ;
5251import com .oracle .truffle .js .nodes .Truncatable ;
5352import com .oracle .truffle .js .nodes .cast .JSToInt32Node ;
5453import com .oracle .truffle .js .nodes .cast .JSToNumericNode ;
55- import com .oracle .truffle .js .nodes .instrumentation .JSInputGeneratingNodeWrapper ;
5654import com .oracle .truffle .js .nodes .instrumentation .JSTags .UnaryOperationTag ;
5755import com .oracle .truffle .js .runtime .BigInt ;
5856import com .oracle .truffle .js .runtime .SafeInteger ;
@@ -78,16 +76,6 @@ public boolean hasTag(Class<? extends Tag> tag) {
7876 }
7977 }
8078
81- @ Override
82- public InstrumentableNode materializeInstrumentableNodes (Set <Class <? extends Tag >> materializedTags ) {
83- if (materializedTags .contains (UnaryOperationTag .class ) && !(getOperand () instanceof JSInputGeneratingNodeWrapper )) {
84- JSComplementNode materialized = JSComplementNodeGen .create (JSInputGeneratingNodeWrapper .create (cloneUninitialized (getOperand (), materializedTags )));
85- transferSourceSectionAddExpressionTag (this , materialized );
86- return materialized ;
87- }
88- return this ;
89- }
90-
9179 @ Specialization
9280 protected int doInteger (int a ) {
9381 return ~a ;
You can’t perform that action at this time.
0 commit comments