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

Unified Diff: src/objects.cc

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: addressed comments 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
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 827a4dc796937582ffcc1fc2e8d557899c32c97a..570e96c25a35c5ac59ce9d5b979cbc07ce80b2c5 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -14357,6 +14357,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();

Powered by Google App Engine
This is Rietveld 408576698