Mercurial > hg > graal-compiler
comparison graal/com.oracle.jvmci.code/src/com/oracle/jvmci/code/CompilationResult.java @ 21780:3d15183f3c93
Introduce Compiler interface in jvmci. Use it from jvmci.hotspot.CompilationTask
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 15:47:54 +0200 |
parents | b9f9b8af17ff |
children |
comparison
equal
deleted
inserted
replaced
21779:20ace3139510 | 21780:3d15183f3c93 |
---|---|
512 * {@code null}, then the compilation did not record method dependencies. Otherwise, the first | 512 * {@code null}, then the compilation did not record method dependencies. Otherwise, the first |
513 * element of this array is the root method of the compilation. | 513 * element of this array is the root method of the compilation. |
514 */ | 514 */ |
515 private ResolvedJavaMethod[] methods; | 515 private ResolvedJavaMethod[] methods; |
516 | 516 |
517 private int bytecodeSize; | |
518 | |
517 public CompilationResult() { | 519 public CompilationResult() { |
518 this(null); | 520 this(null); |
519 } | 521 } |
520 | 522 |
521 public CompilationResult(String name) { | 523 public CompilationResult(String name) { |
647 */ | 649 */ |
648 public ResolvedJavaMethod[] getMethods() { | 650 public ResolvedJavaMethod[] getMethods() { |
649 return methods; | 651 return methods; |
650 } | 652 } |
651 | 653 |
654 public void setBytecodeSize(int bytecodeSize) { | |
655 this.bytecodeSize = bytecodeSize; | |
656 } | |
657 | |
658 public int getBytecodeSize() { | |
659 return bytecodeSize; | |
660 } | |
661 | |
652 public DataSection getDataSection() { | 662 public DataSection getDataSection() { |
653 return dataSection; | 663 return dataSection; |
654 } | 664 } |
655 | 665 |
656 /** | 666 /** |