Skip to content

Commit

Permalink
Remove old code
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Jan 18, 2017
1 parent 3aeadcc commit 7ac5c5d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/som/VM.java
Expand Up @@ -115,11 +115,7 @@ public static void insertInstrumentationWrapper(final Node node) {
// TODO: can I assert that it is locked?? helper on Node??
if (VmSettings.INSTRUMENTATION) {
assert node.getSourceSection() != null || (node instanceof WrapperNode) : "Node needs source section, or needs to be wrapper";
// TODO: a way to check whether the node needs actually wrapping?
// String[] tags = node.getSourceSection().getTags();
// if (tags != null && tags.length > 0) {
InstrumentationHandler.insertInstrumentationWrapper(node);
// }
InstrumentationHandler.insertInstrumentationWrapper(node);
}
}

Expand Down

0 comments on commit 7ac5c5d

Please sign in to comment.