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

Unified Diff: src/full-codegen/full-codegen.cc

Issue 2480253006: Only treat lookup-slot-calls going through 'with' special (Closed)
Patch Set: Rebaseline expectations Created 4 years, 1 month 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
Index: src/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index cd32c4db21df55080243eae3d419a9436fb8c5f6..3af540b294c18491514fc7a4e6393aca6063e19d 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -1674,8 +1674,8 @@ void FullCodeGenerator::VisitCall(Call* expr) {
case Call::GLOBAL_CALL:
EmitCallWithLoadIC(expr);
break;
- case Call::LOOKUP_SLOT_CALL:
- // Call to a lookup slot (dynamically introduced variable).
+ case Call::WITH_CALL:
+ // Call to a lookup slot looked up through a with scope.
PushCalleeAndWithBaseObject(expr);
EmitCall(expr);
break;

Powered by Google App Engine
This is Rietveld 408576698