Skip to content

Commit

Permalink
Bug fix adding block call protocol instructions
Browse files Browse the repository at this point in the history
meteor and gem list now run with -X-C and block call protocol enabled.

So, first pass of block call protocol is now done and verified
(not very thoroughly) in interpreter mode.

JIT mode, here we come next.
subbuss committed Dec 7, 2015
1 parent ad919a7 commit 61127db
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -83,7 +83,8 @@ public Object execute(IRScope scope, Object... data) {

// For now, we always require frame for closures
boolean requireFrame = doesItRequireFrame(scope, bindingHasEscaped);
boolean requireBinding = !scope.getFlags().contains(IRFlags.DYNSCOPE_ELIMINATED);
boolean reuseParentDynScope = scope.getFlags().contains(IRFlags.REUSE_PARENT_DYNSCOPE);
boolean requireBinding = reuseParentDynScope || !scope.getFlags().contains(IRFlags.DYNSCOPE_ELIMINATED);

if (scope instanceof IRClosure || requireBinding || requireFrame) {
BasicBlock entryBB = cfg.getEntryBB();

0 comments on commit 61127db

Please sign in to comment.