Skip to content

Commit 669d29c

Browse files
committed
Remove unused context argument from InlinedBlockGivenNode.
1 parent 9fc6b35 commit 669d29c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/org/truffleruby/core/inlined/CoreMethods.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public RubyNode createCallNode(RubyCallNodeParameters callParameters, Translator
173173
break;
174174
case "block_given?":
175175
if (callParameters.isIgnoreVisibility()) {
176-
return InlinedBlockGivenNodeGen.create(context, callParameters, environment, self);
176+
return InlinedBlockGivenNodeGen.create(callParameters, environment, self);
177177
}
178178
break;
179179
case "nil?":

src/main/java/org/truffleruby/core/inlined/InlinedBlockGivenNode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public abstract class InlinedBlockGivenNode extends UnaryInlinedOperationNode {
2424
protected static final String METHOD = "block_given?";
2525
@Child protected RubyNode readNode;
2626

27-
public InlinedBlockGivenNode(RubyContext context, RubyCallNodeParameters callNodeParameters, TranslatorEnvironment environment) {
27+
public InlinedBlockGivenNode(RubyCallNodeParameters callNodeParameters, TranslatorEnvironment environment) {
2828
super(callNodeParameters);
2929
this.readNode = environment.findLocalVarOrNilNode(TranslatorEnvironment.IMPLICIT_BLOCK_NAME, null);
3030
}

0 commit comments

Comments
 (0)