summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-04-04 10:50:14 +0100
committerNicolas Geoffray <ngeoffray@google.com>2014-04-04 10:50:14 +0100
commit707c809f661554713edfacf338365adca8dfd3a3 (patch)
tree21aaa53a3beb7d73fb2af9ab55bee7a538254fcb /compiler/optimizing/code_generator.cc
parent7efad5d3a806a15166109837439f2e149031feef (diff)
downloadart-707c809f661554713edfacf338365adca8dfd3a3.zip
art-707c809f661554713edfacf338365adca8dfd3a3.tar.gz
art-707c809f661554713edfacf338365adca8dfd3a3.tar.bz2
Use target-specific word instead of runtime word.
Change-Id: Ia11dc3cc520a1a5c7bd017013e5699af9570ce91
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index 05e5d7b..d6295db 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -30,7 +30,7 @@
namespace art {
void CodeGenerator::Compile(CodeAllocator* allocator) {
- frame_size_ = GetGraph()->GetMaximumNumberOfOutVRegs() * kWordSize;
+ frame_size_ = GetGraph()->GetMaximumNumberOfOutVRegs() * GetWordSize();
const GrowableArray<HBasicBlock*>* blocks = GetGraph()->GetBlocks();
DCHECK(blocks->Get(0) == GetGraph()->GetEntryBlock());
DCHECK(GoesToNextBlock(GetGraph()->GetEntryBlock(), blocks->Get(1)));