summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-03-04 23:41:35 -0800
committer Shih-wei Liao <sliao@google.com> 2012-03-04 23:41:35 -0800
commit3ad8b9d7e2f44d7dc5c2e5e500d27f3a31dc5628 (patch)
treee4d24a0c1e7ba5f176a364836858a59a20555dd4
parentedbd6ed0f5881e9cc9e2e864aa35b3ea390afacf (diff)
Fix build. ART mandates the ordering of fields in SIRT.
Change-Id: I3ea8e165d9598b35045d895caf04a276a6c50576
-rw-r--r--src/stack_indirect_reference_table.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stack_indirect_reference_table.h b/src/stack_indirect_reference_table.h
index 77cbddc718..5c6bc0a734 100644
--- a/src/stack_indirect_reference_table.h
+++ b/src/stack_indirect_reference_table.h
@@ -88,14 +88,13 @@ class StackIndirectReferenceTable {
private:
StackIndirectReferenceTable() {}
+ size_t number_of_references_;
StackIndirectReferenceTable* link_;
#if defined(ART_USE_LLVM_COMPILER)
Object* method_;
uint32_t line_num_;
#endif
- size_t number_of_references_;
-
// number_of_references_ are available if this is allocated and filled in by jni_compiler.
Object* references_[1];