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

Unified Diff: runtime/vm/stub_code_mips.cc

Issue 2272793004: Update some switchable call stub names and comments. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: . Created 4 years, 4 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_ia32.cc ('k') | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_mips.cc
diff --git a/runtime/vm/stub_code_mips.cc b/runtime/vm/stub_code_mips.cc
index dc5788bb928be504734e2f5c39495f044c027064..e98ce2bebea5264191af297526f2b8666e97c3fc 100644
--- a/runtime/vm/stub_code_mips.cc
+++ b/runtime/vm/stub_code_mips.cc
@@ -2149,9 +2149,10 @@ void StubCode::GenerateOptimizedIdenticalWithNumberCheckStub(
// Called from megamorphic calls.
// T0: receiver
// S5: MegamorphicCache (preserved)
-// Result:
+// Passed to target:
+// CODE_REG: target Code object
// S4: arguments descriptor
-void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) {
+void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
__ LoadTaggedClassIdMayBeSmi(T0, T0);
@@ -2201,10 +2202,10 @@ void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) {
// Called from switchable IC calls.
// T0: receiver
// S5: ICData (preserved)
-// Result:
+// Passed to target:
// CODE_REG: target Code object
// S4: arguments descriptor
-void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) {
+void StubCode::GenerateICCallThroughFunctionStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
Label loop, found, miss;
@@ -2240,7 +2241,7 @@ void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) {
}
-void StubCode::GenerateICLookupThroughCodeStub(Assembler* assembler) {
+void StubCode::GenerateICCallThroughCodeStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
Label loop, found, miss;
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698