Chromium Code Reviews

Unified Diff: src/accessors.cc

Issue 1169103004: [deoptimizer] Basic support inlining based on SharedFunctionInfo. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | src/deoptimizer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/accessors.cc
diff --git a/src/accessors.cc b/src/accessors.cc
index b82a2663f464ceae57ec0ef4bd34ea79ba3deac0..faa8e51e545d82c846f129e6df149ffd4ee06ef9 100644
--- a/src/accessors.cc
+++ b/src/accessors.cc
@@ -1126,6 +1126,9 @@ static Handle<Object> ArgumentsForInlinedFunction(
&argument_count);
TranslatedFrame::iterator iter = translated_frame->begin();
+ // Skip the function.
+ iter++;
+
// Skip the receiver.
iter++;
argument_count--;
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | src/deoptimizer.h » ('J')

Powered by Google App Engine