Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/BoxingSnippets.java @ 10074:e8fbc5fd3440
aot: add/fix some javadoc
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Mon, 17 Jun 2013 17:50:09 +0200 |
parents | 5749b583efe1 |
children | 6b9ebfcf5fc5 |
comparison
equal
deleted
inserted
replaced
10073:1397c3e1f642 | 10074:e8fbc5fd3440 |
---|---|
213 } | 213 } |
214 } | 214 } |
215 | 215 |
216 public void lower(BoxNode box) { | 216 public void lower(BoxNode box) { |
217 FloatingNode canonical = canonicalizeBoxing(box, runtime); | 217 FloatingNode canonical = canonicalizeBoxing(box, runtime); |
218 // if in AOT mode, we don't want to embed boxed constants. | |
218 if (!AOTCompilation.getValue() && canonical != null) { | 219 if (!AOTCompilation.getValue() && canonical != null) { |
219 box.graph().replaceFixedWithFloating(box, canonical); | 220 box.graph().replaceFixedWithFloating(box, canonical); |
220 } else { | 221 } else { |
221 Arguments args = new Arguments(boxSnippets.get(box.getBoxingKind())); | 222 Arguments args = new Arguments(boxSnippets.get(box.getBoxingKind())); |
222 args.add("value", box.getValue()); | 223 args.add("value", box.getValue()); |