Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ public Assumption getUnmodifiedAssumption(DynamicObject module) {
}

@TruffleBoundary
@Specialization(guards = "isRubyModule(module)")
@Specialization(guards = "isRubyModuleFast(module)")
protected RubyConstant lookupConstantUncached(DynamicObject module, String name) {
RubyConstant constant = doLookup(module, name);
boolean isVisible = isVisible(module, constant);
@@ -117,7 +117,7 @@ protected boolean guardName(String name, String cachedName, ConditionProfile sam
}
}

protected boolean isRubyModule(DynamicObject module) {
protected boolean isRubyModuleFast(DynamicObject module) {
return checkLayoutNode.isModule(module);
}

0 comments on commit 455fce1

Please sign in to comment.