Skip to content
Permalink
Browse files
Print out which scope has no CFG in error message
  • Loading branch information
enebo committed Oct 15, 2014
1 parent cc46059 commit 3348c117b4a3bb169810ace83bd774fc1c60a4b3
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1034,7 +1034,7 @@ public List<Instr> getInstrs() {
if (persistenceStore != null) {
instrList = persistenceStore.decodeInstructionsAt(this, instructionsOffsetInfoPersistenceBuffer);
}
if (cfg != null) throw new RuntimeException("Please use the CFG to access this scope's instructions.");
if (cfg != null) throw new RuntimeException("Please use the CFG to access this scope's instructions: " + this);
return instrList;
}

0 comments on commit 3348c11

Please sign in to comment.