ART: Fix test
Fixes a breakage from 38536287f61c9c0fc3bab8c1950cf8c74881482a. Ensure
that v4 is not undefined when an exception may be thrown (at the
new-instance).
Bug: 22331663
Bug: 22371999
(cherry picked from commit 7135ff0fdfd02796d40e7ef3c7527ff127512bd3)
Change-Id: Ice36ddda5ca92ea32fa88523dd616d4f2a61027e
diff --git a/test/800-smali/smali/b_22331663.smali b/test/800-smali/smali/b_22331663.smali
index af99152..057fc7f 100644
--- a/test/800-smali/smali/b_22331663.smali
+++ b/test/800-smali/smali/b_22331663.smali
@@ -4,6 +4,9 @@
.method public static run(Z)V
.registers 6
+ # Make v4 defined, just use null.
+ const v4, 0
+
if-eqz v5, :Label2
:Label1