# HG changeset patch # User Christian Wimmer # Date 1442968792 25200 # Node ID 015f88d8c03fe5307b3e5e5f46aa7ba0cfaf8c76 # Parent 5e4894c6a2f1f42bae0dc8e55024c043f4e0f8a9 Increase visibility of some BytecodeParser methods and fields diff -r 5e4894c6a2f1 -r 015f88d8c03f graal/com.oracle.graal.java/src/com/oracle/graal/java/BytecodeParser.java --- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/BytecodeParser.java Tue Sep 22 17:39:01 2015 -0700 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/BytecodeParser.java Tue Sep 22 17:39:52 2015 -0700 @@ -271,7 +271,7 @@ private ValueNode unwindValue; private FixedWithNextNode beforeUnwindNode; - private FixedWithNextNode lastInstr; // the last instruction added + protected FixedWithNextNode lastInstr; // the last instruction added private final boolean explodeLoops; private final boolean mergeExplosions; private final Map mergeExplosionsMap; @@ -1538,7 +1538,7 @@ return res; } - private void parseAndInlineCallee(ResolvedJavaMethod targetMethod, ValueNode[] args, IntrinsicContext calleeIntrinsicContext) { + protected void parseAndInlineCallee(ResolvedJavaMethod targetMethod, ValueNode[] args, IntrinsicContext calleeIntrinsicContext) { try (IntrinsicScope s = calleeIntrinsicContext != null && !parsingIntrinsic() ? new IntrinsicScope(this, targetMethod.getSignature().toParameterKinds(!targetMethod.isStatic()), args) : null) { BytecodeParser parser = graphBuilderInstance.createBytecodeParser(graph, this, targetMethod, Compiler.INVOCATION_ENTRY_BCI, calleeIntrinsicContext); @@ -1571,7 +1571,7 @@ } } - protected MethodCallTargetNode createMethodCallTarget(InvokeKind invokeKind, ResolvedJavaMethod targetMethod, ValueNode[] args, JavaType returnType, JavaTypeProfile profile) { + public MethodCallTargetNode createMethodCallTarget(InvokeKind invokeKind, ResolvedJavaMethod targetMethod, ValueNode[] args, JavaType returnType, JavaTypeProfile profile) { return new MethodCallTargetNode(invokeKind, targetMethod, args, returnType, profile); }