Index: runtime/vm/intrinsifier_arm64.cc |
diff --git a/runtime/vm/intrinsifier_arm64.cc b/runtime/vm/intrinsifier_arm64.cc |
index c8b4df7834a0516239a22367abda6391c5e4b760..2886ad67fd5363d37c29c0a4c47c62e3af9a04de 100644 |
--- a/runtime/vm/intrinsifier_arm64.cc |
+++ b/runtime/vm/intrinsifier_arm64.cc |
@@ -2097,8 +2097,6 @@ void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) { |
// Registers are now set up for the lazy compile stub. It expects the function |
// in R0, the argument descriptor in R4, and IC-Data in R5. |
- static const intptr_t arg_count = RegExpMacroAssembler::kParamCount; |
- __ LoadObject(R4, Array::Handle(ArgumentsDescriptor::New(arg_count))); |
__ eor(R5, R5, Operand(R5)); |
// Tail-call the function. |