summaryrefslogtreecommitdiff
path: root/runtime/nterp_helpers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/nterp_helpers.cc')
-rw-r--r--runtime/nterp_helpers.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/nterp_helpers.cc b/runtime/nterp_helpers.cc
index 0a306e2f56..90edb54b3f 100644
--- a/runtime/nterp_helpers.cc
+++ b/runtime/nterp_helpers.cc
@@ -236,9 +236,6 @@ bool CanMethodUseNterp(ArtMethod* method, InstructionSet isa) {
method->IsProxyMethod()) {
return false;
}
- if (isa == InstructionSet::kRiscv64 && method->GetDexFile()->IsCompactDexFile()) {
- return false; // Riscv64 nterp does not support compact dex yet.
- }
// There is no need to add the alignment padding size for comparison with aligned limit.
size_t frame_size_without_padding = NterpGetFrameSizeWithoutPadding(method, isa);
DCHECK_EQ(NterpGetFrameSize(method, isa), RoundUp(frame_size_without_padding, kStackAlignment));