Chromium Code Reviews

Issue 8341019: Fix bug in inlining call-as-function when inlining multiple levels deep. (Closed)

Created:
9 years, 2 months ago by fschneider
Modified:
9 years, 1 month ago
Reviewers:
Kevin Millikin (Chromium)
CC:
v8-dev
Visibility:
Public.

Description

Fix bug in inlining call-as-function when inlining multiple levels deep. This change fixes a off-by-one level error when dropping the function from the environment. The function of the outermost environment was not dropped. BUG=v8:1785 TEST=test/mjsunit/compiler/regress-inline-callfunctionstub.js Committed: http://code.google.com/p/v8/source/detail?r=9789

Patch Set 1 #

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Stats (+57 lines, -5 lines)
M src/hydrogen.h View 1 chunk +1 line, -1 line 0 comments
M src/hydrogen.cc View 4 chunks +10 lines, -4 lines 0 comments
A test/mjsunit/compiler/regress-inline-callfunctionstub.js View 1 chunk +46 lines, -0 lines 0 comments

Messages

Total messages: 2 (0 generated)
fschneider
9 years, 2 months ago (2011-10-25 15:36:51 UTC) #1
Kevin Millikin (Chromium)
9 years, 1 month ago (2011-10-26 08:34:18 UTC) #2
Yuck.  LGTM.

Powered by Google App Engine