summaryrefslogtreecommitdiff
path: root/runtime/common_throws.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/common_throws.cc')
-rw-r--r--runtime/common_throws.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/common_throws.cc b/runtime/common_throws.cc
index 912a74a52a..99732c64ab 100644
--- a/runtime/common_throws.cc
+++ b/runtime/common_throws.cc
@@ -640,14 +640,6 @@ void ThrowNullPointerExceptionFromDexPC(bool check_address, uintptr_t addr) {
"Attempt to write to null array");
break;
}
- case Instruction::INVOKE_LAMBDA:
- case Instruction::BOX_LAMBDA:
- case Instruction::UNBOX_LAMBDA:
- case Instruction::LIBERATE_VARIABLE: {
- ThrowException("Ljava/lang/NullPointerException;", nullptr,
- "Using a null lambda");
- break;
- }
case Instruction::MONITOR_ENTER:
case Instruction::MONITOR_EXIT: {
ThrowException("Ljava/lang/NullPointerException;", nullptr,