Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jruby/jruby
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 33f05bcdac5a
Choose a base ref
...
head repository: jruby/jruby
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6fb12a832ed5
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 19, 2017

  1. Copy the full SHA
    58473fc View commit details
  2. Copy the full SHA
    6fb12a8 View commit details
Original file line number Diff line number Diff line change
@@ -294,6 +294,12 @@ private void promoteToFullBuild(ThreadContext context) {
if (runtime.isBooting() && !Options.JIT_KERNEL.load()) return; // don't Promote to full build during runtime boot

if (callCount++ >= Options.JIT_THRESHOLD.load()) runtime.getJITCompiler().buildThresholdReached(context, this);

if (Options.IR_PRINT.load()) {
ByteArrayOutputStream baos = IRDumper.printIR(method, true, true);

LOG.info("Printing full IR for " + method.getName() + ":\n" + new String(baos.toByteArray()));
}
}

public String getClassName(ThreadContext context) {
Original file line number Diff line number Diff line change
@@ -388,9 +388,15 @@ protected static void processBookKeepingOp(ThreadContext context, Block block, I
// Everything else is PUBLIC by default.
context.setCurrentVisibility(Visibility.PUBLIC);
break;
case PUSH_BACKREF_FRAME:
context.preBackrefMethod();
break;
case POP_METHOD_FRAME:
context.popFrame();
break;
case POP_BACKREF_FRAME:
context.postBackrefMethod();
break;
case POP_BINDING:
context.popScope();
break;