summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-01-28 14:50:01 +0000
committerNicolas Geoffray <ngeoffray@google.com>2015-01-30 17:43:16 +0000
commitcb1b00aedd94785e7599f18065a0b97b314e64f6 (patch)
treefdde101b239c66325243bcc60d3d94f07ff56492 /compiler/optimizing/builder.h
parent9544368685b4aa65e746332e602491a3e8e5b247 (diff)
downloadart-cb1b00aedd94785e7599f18065a0b97b314e64f6.tar.gz
art-cb1b00aedd94785e7599f18065a0b97b314e64f6.tar.bz2
art-cb1b00aedd94785e7599f18065a0b97b314e64f6.zip
Use the non access check entrypoint when possible.
Change-Id: I0b53d63141395e26816d5d2ce3fa6a297bb39b54
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index cc5f6a04dc..592db2348b 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -108,6 +108,7 @@ class HGraphBuilder : public ValueObject {
HInstruction* LoadLocal(int register_index, Primitive::Type type) const;
void PotentiallyAddSuspendCheck(int32_t target_offset, uint32_t dex_pc);
void InitializeParameters(uint16_t number_of_parameters);
+ bool NeedsAccessCheck(uint32_t type_index) const;
template<typename T>
void Unop_12x(const Instruction& instruction, Primitive::Type type);