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

Unified Diff: src/compiler/simplified-operator.h

Issue 2692753004: [turbofan] escape analysis supports arguments object and rest elements (Closed)
Patch Set: replaced obscure for-loop 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/compiler/simplified-operator.h
diff --git a/src/compiler/simplified-operator.h b/src/compiler/simplified-operator.h
index 969c33070edea3df44534bf6670bc9588fa83b72..674c58f2d3cd2f3fdb1bec71b7b46092092a8682 100644
--- a/src/compiler/simplified-operator.h
+++ b/src/compiler/simplified-operator.h
@@ -242,7 +242,8 @@ V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream&, NumberOperationHint);
NumberOperationHint NumberOperationHintOf(const Operator* op)
WARN_UNUSED_RESULT;
-int ParameterCountOf(const Operator* op) WARN_UNUSED_RESULT;
+int FormalParameterCountOf(const Operator* op) WARN_UNUSED_RESULT;
+bool IsRestLengthOf(const Operator* op) WARN_UNUSED_RESULT;
PretenureFlag PretenureFlagOf(const Operator* op) WARN_UNUSED_RESULT;
@@ -419,11 +420,12 @@ class V8_EXPORT_PRIVATE SimplifiedOperatorBuilder final
const Operator* ObjectIsString();
const Operator* ObjectIsUndetectable();
- // new-rest-parameter-elements
- const Operator* NewRestParameterElements(int parameter_count);
+ const Operator* ArgumentsFrame();
+ const Operator* ArgumentsLength(int formal_parameter_count,
+ bool is_rest_length);
// new-unmapped-arguments-elements
- const Operator* NewUnmappedArgumentsElements(int parameter_count);
+ const Operator* NewUnmappedArgumentsElements();
// array-buffer-was-neutered buffer
const Operator* ArrayBufferWasNeutered();

Powered by Google App Engine
This is Rietveld 408576698