Always push shadowframe for stack trace lookup.

Change-Id: I1a7249505aa6300fe47331e30772dde64cbe4df3
diff --git a/src/compiler/codegen/MethodBitcode.cc b/src/compiler/codegen/MethodBitcode.cc
index 6f2c52d..5aebc06 100644
--- a/src/compiler/codegen/MethodBitcode.cc
+++ b/src/compiler/codegen/MethodBitcode.cc
@@ -1810,12 +1810,12 @@
           cUnit->shadowMap[j++] = i;
         }
       }
-      greenland::IntrinsicHelper::IntrinsicId id =
-              greenland::IntrinsicHelper::AllocaShadowFrame;
-      llvm::Function* func = cUnit->intrinsic_helper->GetIntrinsicFunction(id);
-      llvm::Value* entries = cUnit->irb->getInt32(cUnit->numShadowFrameEntries);
-      cUnit->irb->CreateCall(func, entries);
     }
+    greenland::IntrinsicHelper::IntrinsicId id =
+            greenland::IntrinsicHelper::AllocaShadowFrame;
+    llvm::Function* func = cUnit->intrinsic_helper->GetIntrinsicFunction(id);
+    llvm::Value* entries = cUnit->irb->getInt32(cUnit->numShadowFrameEntries);
+    cUnit->irb->CreateCall(func, entries);
   } else if (bb->blockType == kExitBlock) {
     /*
      * Because of the differences between how MIR/LIR and llvm handle exit