summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2018-01-13 01:40:55 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-01-13 01:40:55 +0000
commitc3e60f38c81a3dd4ff49dca0f05f84a8b464004f (patch)
treefa10893a270bad91d3503a761f140cbe9c97a74c /compiler/optimizing/builder.h
parent3c9e0f69b04b614c44448e66e15c6f8a78da4b2c (diff)
parent8892c6bd9235e7ae697039c901aaeea1597a7473 (diff)
Merge changes Ib983e85c,Ic01ea4e8
* changes: Move debug info offsets into a side table Revert "Revert "Move quickening info logic to its own table""
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index c16a3a928d..5a1914ce08 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -18,6 +18,7 @@
#define ART_COMPILER_OPTIMIZING_BUILDER_H_
#include "base/arena_object.h"
+#include "base/array_ref.h"
#include "dex/code_item_accessors.h"
#include "dex/dex_file-inl.h"
#include "dex/dex_file.h"
@@ -40,7 +41,7 @@ class HGraphBuilder : public ValueObject {
CompilerDriver* driver,
CodeGenerator* code_generator,
OptimizingCompilerStats* compiler_stats,
- const uint8_t* interpreter_metadata,
+ ArrayRef<const uint8_t> interpreter_metadata,
VariableSizedHandleScope* handles);
// Only for unit testing.
@@ -73,7 +74,7 @@ class HGraphBuilder : public ValueObject {
CodeGenerator* const code_generator_;
OptimizingCompilerStats* const compilation_stats_;
- const uint8_t* const interpreter_metadata_;
+ const ArrayRef<const uint8_t> interpreter_metadata_;
VariableSizedHandleScope* const handles_;
const DataType::Type return_type_;