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

Unified Diff: runtime/vm/stub_code_arm.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.h ('k') | runtime/vm/stub_code_arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm.cc
diff --git a/runtime/vm/stub_code_arm.cc b/runtime/vm/stub_code_arm.cc
index 59bd06f30f5af1b8b049ee151b88379cf635bdf6..4faf29e0107c2a425bdbda29bffb431a3af1838c 100644
--- a/runtime/vm/stub_code_arm.cc
+++ b/runtime/vm/stub_code_arm.cc
@@ -1989,10 +1989,10 @@ void StubCode::GenerateOptimizedIdenticalWithNumberCheckStub(
// Called from megamorphic calls.
// R0: receiver
// R9: MegamorphicCache (preserved)
-// Result:
+// Passed to target:
// CODE_REG: target Code
// R4: arguments descriptor
-void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) {
+void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
__ LoadTaggedClassIdMayBeSmi(R0, R0);
@@ -2046,10 +2046,10 @@ void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) {
// Called from switchable IC calls.
// R0: receiver
// R9: ICData (preserved)
-// Result:
+// Passed to target:
// CODE_REG: target Code object
// R4: arguments descriptor
-void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) {
+void StubCode::GenerateICCallThroughFunctionStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
Label loop, found, miss;
@@ -2086,7 +2086,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.h ('k') | runtime/vm/stub_code_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698