Index: runtime/vm/intrinsifier_x64.cc |
diff --git a/runtime/vm/intrinsifier_x64.cc b/runtime/vm/intrinsifier_x64.cc |
index b911a990b0fbc8fb9ea9fef0a9a8d80c15ee239a..3453e8199c78de9040a8f994adf2ea4419175e5c 100644 |
--- a/runtime/vm/intrinsifier_x64.cc |
+++ b/runtime/vm/intrinsifier_x64.cc |
@@ -1970,9 +1970,6 @@ void Intrinsifier::JSRegExp_ExecuteMatch(Assembler* assembler) { |
// Registers are now set up for the lazy compile stub. It expects the function |
// in RAX, the argument descriptor in R10, and IC-Data in RCX. |
- static const intptr_t arg_count = RegExpMacroAssembler::kParamCount; |
- __ LoadObject(R10, |
- Array::ZoneHandle(ArgumentsDescriptor::New(arg_count))); |
__ xorq(RCX, RCX); |
// Tail-call the function. |