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

Unified Diff: runtime/vm/stub_code_x64.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_mips.cc ('k') | runtime/vm/thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_x64.cc
diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
index 251d463047bd4a88f37de158ca1af7882c4c1a63..329d3f16bbc46d8f653386059bec9d8901c8ae92 100644
--- a/runtime/vm/stub_code_x64.cc
+++ b/runtime/vm/stub_code_x64.cc
@@ -2011,10 +2011,10 @@ void StubCode::GenerateOptimizedIdenticalWithNumberCheckStub(
// Called from megamorphic calls.
// RDI: receiver
// RBX: MegamorphicCache (preserved)
-// Result:
+// Passed to target:
// CODE_REG: target Code
// R10: arguments descriptor
-void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) {
+void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
// Jump if receiver is a smi.
@@ -2084,10 +2084,10 @@ void StubCode::GenerateMegamorphicLookupStub(Assembler* assembler) {
// Called from switchable IC calls.
// RDI: receiver
// RBX: ICData (preserved)
-// Result:
+// Passed to target:
// CODE_REG: target Code object
// R10: arguments descriptor
-void StubCode::GenerateICLookupThroughFunctionStub(Assembler* assembler) {
+void StubCode::GenerateICCallThroughFunctionStub(Assembler* assembler) {
__ NoMonomorphicCheckedEntry();
Label loop, found, miss;
@@ -2127,7 +2127,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_mips.cc ('k') | runtime/vm/thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698