diff options
| author | 2015-06-25 09:41:39 +0000 | |
|---|---|---|
| committer | 2015-06-25 09:41:39 +0000 | |
| commit | bcc9d2b5f07afb6d7e83d71179c3069825a69d7c (patch) | |
| tree | 5bac1059019230812287b579e9ab716a43f3bd01 /compiler/optimizing/optimizing_compiler.h | |
| parent | 1dd3136d9f6b1c7d551897a2d96c8314e40f7324 (diff) | |
| parent | 335005e2b3a179f26b7a8ae64ca60a1406b669bd (diff) | |
Merge "Only do some checks when compiling against the core image."
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.h')
| -rw-r--r-- | compiler/optimizing/optimizing_compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/optimizing_compiler.h b/compiler/optimizing/optimizing_compiler.h index d076fb55f2..0c89da12e8 100644 --- a/compiler/optimizing/optimizing_compiler.h +++ b/compiler/optimizing/optimizing_compiler.h @@ -24,6 +24,11 @@ class CompilerDriver; Compiler* CreateOptimizingCompiler(CompilerDriver* driver); +// Returns whether we are compiling against a "core" image, which +// is an indicative we are running tests. The compiler will use that +// information for checking invariants. +bool IsCompilingWithCoreImage(); + } // namespace art #endif // ART_COMPILER_OPTIMIZING_OPTIMIZING_COMPILER_H_ |