summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-01-12 16:41:10 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-01-13 15:40:55 +0000
commita25dce9b452ba17ef7cef768926c884177a3025e (patch)
tree0da78b818c256f636badf2f1a97e8f1a8b661be9 /compiler/jit/jit_compiler.h
parentfbd9dfcf4ffc32f0bda831aa898c7ea5dbf8ed9a (diff)
Support --perf with jitted code.
Change-Id: I76f29d815234e9506efc59d4865780e52b2381a1
Diffstat (limited to 'compiler/jit/jit_compiler.h')
-rw-r--r--compiler/jit/jit_compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h
index 913a6d00ae..037a18ac7a 100644
--- a/compiler/jit/jit_compiler.h
+++ b/compiler/jit/jit_compiler.h
@@ -43,6 +43,9 @@ class JitCompiler {
size_t GetTotalCompileTime() const {
return total_time_;
}
+ CompilerOptions* GetCompilerOptions() const {
+ return compiler_options_.get();
+ }
private:
uint64_t total_time_;
@@ -53,6 +56,7 @@ class JitCompiler {
std::unique_ptr<CompilerCallbacks> callbacks_;
std::unique_ptr<CompilerDriver> compiler_driver_;
std::unique_ptr<const InstructionSetFeatures> instruction_set_features_;
+ std::unique_ptr<File> perf_file_;
JitCompiler();