OSDN Git Service

Fix uninitialized variable warning(error).
authorJing Yu <jingyu@google.com>
Thu, 11 Nov 2010 19:48:23 +0000 (11:48 -0800)
committerJing Yu <jingyu@google.com>
Thu, 11 Nov 2010 19:48:23 +0000 (11:48 -0800)
Change-Id: I10815b033199758976950b28af7cc412f093a7f5

vm/compiler/codegen/arm/Assemble.c

index 4f54f1e..cf5c41f 100644 (file)
@@ -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