Mercurial > hg > truffle
comparison graal/com.oracle.max.cri/src/com/oracle/max/cri/ci/CiUtil.java @ 5056:2f2c6347fce4
comments cleanup/retagging
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 08 Mar 2012 15:01:19 +0100 |
parents | e43d36482d12 |
children | cce31bc56c00 |
comparison
equal
deleted
inserted
replaced
5053:c53115427ff9 | 5056:2f2c6347fce4 |
---|---|
411 | 411 |
412 /** | 412 /** |
413 * Gets a stack trace element for a given method and bytecode index. | 413 * Gets a stack trace element for a given method and bytecode index. |
414 */ | 414 */ |
415 public static StackTraceElement toStackTraceElement(RiMethod method, @SuppressWarnings("unused") int bci) { | 415 public static StackTraceElement toStackTraceElement(RiMethod method, @SuppressWarnings("unused") int bci) { |
416 // TODO(tw): Look if we can use bci to get the line number. | 416 // TODO (thomaswue): Look if we can use bci to get the line number. |
417 return new StackTraceElement(CiUtil.toJavaName(method.holder()), method.name(), null, -1); | 417 return new StackTraceElement(CiUtil.toJavaName(method.holder()), method.name(), null, -1); |
418 } | 418 } |
419 | 419 |
420 /** | 420 /** |
421 * Converts a Java source-language class name into the internal form. | 421 * Converts a Java source-language class name into the internal form. |