Skip to content
Snippets Groups Projects
Commit 6018baa3 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

profile isIrregular flag in RRootNode

parent 1bbd8f19
Branches
No related tags found
No related merge requests found
......@@ -41,6 +41,7 @@ public abstract class RRootNode extends RootNode implements HasSignature {
@CompilationFinal protected boolean checkSingletonFrame = true;
private final ValueProfile functionProfile = ValueProfile.createIdentityProfile();
private final ValueProfile irregularFrameProfile = ValueProfile.createPrimitiveProfile();
/**
* The formal arguments this function is supposed to take.
......@@ -54,6 +55,7 @@ public abstract class RRootNode extends RootNode implements HasSignature {
protected void verifyEnclosingAssumptions(VirtualFrame vf) {
RArguments.setFunction(vf, functionProfile.profile(RArguments.getFunction(vf)));
RArguments.setIsIrregular(vf, irregularFrameProfile.profile(RArguments.getIsIrregular(vf)));
if (checkSingletonFrame) {
checkSingletonFrame = FrameSlotChangeMonitor.checkSingletonFrame(vf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment