summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-06-25 09:41:39 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-25 09:41:39 +0000
commitbcc9d2b5f07afb6d7e83d71179c3069825a69d7c (patch)
tree5bac1059019230812287b579e9ab716a43f3bd01 /compiler/optimizing/optimizing_compiler.h
parent1dd3136d9f6b1c7d551897a2d96c8314e40f7324 (diff)
parent335005e2b3a179f26b7a8ae64ca60a1406b669bd (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.h5
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_