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

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

Issue 2487483004: Only treat possible eval calls going through 'with' as special. (Closed)
Patch Set: Fix AstGraphBuilder 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
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index 3af540b294c18491514fc7a4e6393aca6063e19d..43ba0b529f00cee2cbed41084f3d6274b409df37 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -1669,6 +1669,7 @@ void FullCodeGenerator::VisitCall(Call* expr) {
switch (call_type) {
case Call::POSSIBLY_EVAL_CALL:
+ case Call::POSSIBLY_EVAL_THROUGH_WITH_CALL:
Toon Verwaest 2016/11/09 14:13:08 Shouldn't POSSIBLY_EVAL_CALL be moved to OTHER_CAL
rmcilroy 2016/11/09 17:02:29 Nope because we also need to resolve the eval func
Toon Verwaest 2016/11/10 09:40:19 I see. But it is still relevant in the ast-graph-b
EmitPossiblyEvalCall(expr);
break;
case Call::GLOBAL_CALL:
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/interpreter/bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698