Index: runtime/vm/intrinsifier_arm.cc |
diff --git a/runtime/vm/intrinsifier_arm.cc b/runtime/vm/intrinsifier_arm.cc |
index 4d37b8bbcc2e7730a761e0744d2dd84efa70ba2b..3b63e0c6fe6e33f2193339039d91c5930dba955b 100644 |
--- a/runtime/vm/intrinsifier_arm.cc |
+++ b/runtime/vm/intrinsifier_arm.cc |
@@ -2022,8 +2022,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. |