Index: runtime/vm/stub_code_x64.cc |
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc |
index 13e0f014de0941685aa81fccf406c3c8897e7eb0..53f153e2c25d4d1d337309569f7377f94a1654c1 100644 |
--- a/runtime/vm/stub_code_x64.cc |
+++ b/runtime/vm/stub_code_x64.cc |
@@ -1939,7 +1939,7 @@ void StubCode::GenerateOptimizeFunctionStub(Assembler* assembler) { |
__ pushq(Immediate(0)); // Result slot. |
__ pushq(RDI); // Arg0: function to optimize |
__ CallRuntime(kOptimizeInvokedFunctionRuntimeEntry, 1); |
- __ popq(RAX); // Disard argument. |
+ __ popq(RAX); // Discard argument. |
__ popq(RAX); // Get Code object. |
__ popq(R10); // Restore argument descriptor. |
__ LeaveStubFrame(); |