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

Unified Diff: src/objects.cc

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: handle the case where Deoptimizer::function_ is a Smi Created 3 years, 10 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 | « src/interface-descriptors.cc ('k') | test/mjsunit/arguments-deopt.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 255873c7a0f2974d9e18a96a3dc9bdb5d1d6955f..0609b7085983ce1d1dd17b10bb6b3cc266e1b999 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -14403,6 +14403,12 @@ void DeoptimizationInputData::DeoptimizationInputDataPrint(
break;
}
+ case Translation::ARGUMENTS_ELEMENTS: {
+ bool is_rest = iterator.Next();
+ os << "{is_rest=" << (is_rest ? "true" : "false") << "}";
+ break;
+ }
+
case Translation::ARGUMENTS_OBJECT:
case Translation::CAPTURED_OBJECT: {
int args_length = iterator.Next();
« no previous file with comments | « src/interface-descriptors.cc ('k') | test/mjsunit/arguments-deopt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698