Skip to content

Commit

Permalink
Remove useless register in backup of non-wide methods (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
canyie authored May 3, 2024
1 parent fb753a7 commit 68360ba
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lsplant/src/main/jni/lsplant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,6 @@ std::tuple<jclass, jfieldID, jmethodID, jmethodID> BuildDex(JNIEnv *env, jobject
backup_builder.BuildReturn(zero, /*is_object=*/false, true);
} else {
LiveRegister zero = backup_builder.AllocRegister();
LiveRegister zero_wide = backup_builder.AllocRegister();
backup_builder.BuildConst(zero, 0);
backup_builder.BuildReturn(zero, /*is_object=*/!return_type.is_primitive(), false);
}
Expand Down

0 comments on commit 68360ba

Please sign in to comment.