summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Huang <jserv@0xlab.org>2011-09-07 10:24:07 +0800
committerJim Huang <jserv@0xlab.org>2011-09-20 15:07:25 +0800
commitc80ed899b50fab9c0bc6eeb69e30d3eb15945b35 (patch)
treebea612941b7953b3927a57b8e82b73dffb074b69
parent483f0f4d62832f3183e8cae9fc68a422c1ee49c4 (diff)
downloadandroid_dalvik-c80ed899b50fab9c0bc6eeb69e30d3eb15945b35.tar.gz
android_dalvik-c80ed899b50fab9c0bc6eeb69e30d3eb15945b35.tar.bz2
android_dalvik-c80ed899b50fab9c0bc6eeb69e30d3eb15945b35.zip
Fix uninitialized variable warning pointed out by gcc flag -fdata-sections
Change-Id: I5e0bcec7e3466e48cca84d46f54690aa2b8969c2
-rw-r--r--vm/compiler/codegen/arm/Assemble.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/compiler/codegen/arm/Assemble.c b/vm/compiler/codegen/arm/Assemble.c
index 4f54f1ebe..cf5c41fe4 100644
--- a/vm/compiler/codegen/arm/Assemble.c
+++ b/vm/compiler/codegen/arm/Assemble.c
@@ -1616,6 +1616,7 @@ const Method *dvmJitToPatchPredictedChain(const Method *method,
newCell.branch = assembleChainingBranch(branchOffset, true);
newCell.clazz = clazz;
newCell.method = method;
+ newCell.stagedClazz = NULL;
/*
* Enter the work order to the queue and the chaining cell will be patched