Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: runtime/vm/stub_code_arm64_test.cc

Issue 1264543002: Simplify constant pool usage in arm64 code generator (by removing extra argument (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64_test.cc
diff --git a/runtime/vm/stub_code_arm64_test.cc b/runtime/vm/stub_code_arm64_test.cc
index 94e40abf01bcd6b8d95dbbfb0936b8f55688914e..142a824a8e55293fdcdfc3367e695312a3ef0a8d 100644
--- a/runtime/vm/stub_code_arm64_test.cc
+++ b/runtime/vm/stub_code_arm64_test.cc
@@ -45,9 +45,9 @@ static void GenerateCallToCallRuntimeStub(Assembler* assembler,
const Smi& smi1 = Smi::ZoneHandle(Smi::New(value1));
const Smi& smi2 = Smi::ZoneHandle(Smi::New(value2));
__ EnterDartFrame(0);
- __ PushObject(Object::null_object(), PP); // Push Null obj for return value.
- __ PushObject(smi1, PP); // Push argument 1 smi1.
- __ PushObject(smi2, PP); // Push argument 2 smi2.
+ __ PushObject(Object::null_object()); // Push Null obj for return value.
+ __ PushObject(smi1); // Push argument 1 smi1.
+ __ PushObject(smi2); // Push argument 2 smi2.
ASSERT(kTestSmiSubRuntimeEntry.argument_count() == argc);
__ CallRuntime(kTestSmiSubRuntimeEntry, argc); // Call SmiSub runtime func.
__ add(SP, SP, Operand(argc * kWordSize));
@@ -82,8 +82,8 @@ static void GenerateCallToCallLeafRuntimeStub(Assembler* assembler,
const Smi& smi2 = Smi::ZoneHandle(Smi::New(value2));
__ EnterDartFrame(0);
__ ReserveAlignedFrameSpace(0);
- __ LoadObject(R0, smi1, PP); // Set up argument 1 smi1.
- __ LoadObject(R1, smi2, PP); // Set up argument 2 smi2.
+ __ LoadObject(R0, smi1); // Set up argument 1 smi1.
+ __ LoadObject(R1, smi2); // Set up argument 2 smi2.
__ CallRuntime(kTestLeafSmiAddRuntimeEntry, 2); // Call SmiAdd runtime func.
__ LeaveDartFrame();
__ ret(); // Return value is in R0.
« no previous file with comments | « runtime/vm/stub_code_arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698