Mercurial > hg > graal-compiler
changeset 21344:6e90bfa0997f
don't create infopoint nodes within intrinsics
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 12 May 2015 16:05:32 +0200 |
parents | ce95a5e36927 |
children | a818a6a57ef4 |
files | graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue May 12 15:57:40 2015 +0200 +++ b/graal/com.oracle.graal.java/src/com/oracle/graal/java/GraphBuilderPhase.java Tue May 12 16:05:32 2015 +0200 @@ -343,7 +343,7 @@ this.entryBCI = entryBCI; this.parent = parent; - if (graphBuilderConfig.insertNonSafepointDebugInfo()) { + if (graphBuilderConfig.insertNonSafepointDebugInfo() && !parsingIntrinsic()) { lnt = method.getLineNumberTable(); previousLineNumber = -1; } @@ -444,7 +444,7 @@ genMonitorEnter(methodSynchronizedObject, bci()); } - if (graphBuilderConfig.insertNonSafepointDebugInfo()) { + if (graphBuilderConfig.insertNonSafepointDebugInfo() && !parsingIntrinsic()) { append(createInfoPointNode(InfopointReason.METHOD_START)); } @@ -1593,7 +1593,7 @@ if (graph.method() != null && graph.method().isJavaLangObjectInit()) { append(new RegisterFinalizerNode(frameState.localAt(0))); } - if (graphBuilderConfig.insertNonSafepointDebugInfo()) { + if (graphBuilderConfig.insertNonSafepointDebugInfo() && !parsingIntrinsic()) { append(createInfoPointNode(InfopointReason.METHOD_END)); } @@ -2233,7 +2233,7 @@ } while (bci < endBCI) { - if (graphBuilderConfig.insertNonSafepointDebugInfo()) { + if (graphBuilderConfig.insertNonSafepointDebugInfo() && !parsingIntrinsic()) { currentLineNumber = lnt != null ? lnt.getLineNumber(bci) : (graphBuilderConfig.insertFullDebugInfo() ? -1 : bci); if (currentLineNumber != previousLineNumber) { append(createInfoPointNode(InfopointReason.LINE_NUMBER));