summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/builder.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-01-29 12:02:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-29 12:02:13 +0000
commit193f785e471b38009f7406a030d741ae415c8bb0 (patch)
treebe891d7ae765cce10552faa20b57e5546ca3e8d8 /compiler/optimizing/builder.cc
parentdff2d8422cee19d35d7eac467ac0fc2315c1c899 (diff)
parent10e244f9e7f6d96a95c910a2bedef5bd3810c637 (diff)
downloadandroid_art-193f785e471b38009f7406a030d741ae415c8bb0.tar.gz
android_art-193f785e471b38009f7406a030d741ae415c8bb0.tar.bz2
android_art-193f785e471b38009f7406a030d741ae415c8bb0.zip
Merge "optimizing: NullCheck elimination"
Diffstat (limited to 'compiler/optimizing/builder.cc')
-rw-r--r--compiler/optimizing/builder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc
index 86567ed3ef..955deaa0ae 100644
--- a/compiler/optimizing/builder.cc
+++ b/compiler/optimizing/builder.cc
@@ -161,7 +161,7 @@ void HGraphBuilder::InitializeParameters(uint16_t number_of_parameters) {
if (!dex_compilation_unit_->IsStatic()) {
// Add the implicit 'this' argument, not expressed in the signature.
HParameterValue* parameter =
- new (arena_) HParameterValue(parameter_index++, Primitive::kPrimNot);
+ new (arena_) HParameterValue(parameter_index++, Primitive::kPrimNot, true);
entry_block_->AddInstruction(parameter);
HLocal* local = GetLocalAt(locals_index++);
entry_block_->AddInstruction(new (arena_) HStoreLocal(local, parameter));