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

Unified Diff: src/deoptimizer.h

Issue 2729163002: [turbofan] compute arguments length in deoptimizer (Closed)
Patch Set: fix comment 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/compiler/verifier.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/deoptimizer.h
diff --git a/src/deoptimizer.h b/src/deoptimizer.h
index 7668b8fab794b871e8504e93cd2115aaf932807a..b20dddf37a82b1081b28389f245675cb416c1493 100644
--- a/src/deoptimizer.h
+++ b/src/deoptimizer.h
@@ -318,6 +318,8 @@ class TranslatedState {
int CreateNextTranslatedValue(int frame_index, TranslationIterator* iterator,
FixedArray* literal_array, Address fp,
RegisterValues* registers, FILE* trace_file);
+ Address ComputeArgumentsPosition(Address input_frame_pointer, bool is_rest,
+ int* length);
void CreateArgumentsElementsTranslatedValues(int frame_index,
Address input_frame_pointer,
bool is_rest);
@@ -935,6 +937,7 @@ class TranslationIterator BASE_EMBEDDED {
V(DUPLICATED_OBJECT) \
V(ARGUMENTS_OBJECT) \
V(ARGUMENTS_ELEMENTS) \
+ V(ARGUMENTS_LENGTH) \
V(CAPTURED_OBJECT) \
V(REGISTER) \
V(INT32_REGISTER) \
@@ -984,6 +987,7 @@ class Translation BASE_EMBEDDED {
void BeginSetterStubFrame(int literal_id);
void BeginArgumentsObject(int args_length);
void ArgumentsElements(bool is_rest);
+ void ArgumentsLength(bool is_rest);
void BeginCapturedObject(int length);
void DuplicateObject(int object_index);
void StoreRegister(Register reg);
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698