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

Issue 2836021: Only flush code when there are no heap allocated locals in the scopeinfo.... (Closed)

Created:
10 years, 6 months ago by Rico
Modified:
9 years, 6 months ago
Reviewers:
Kasper Lund
CC:
v8-dev
Visibility:
Public.

Description

Only flush code when there are no heap allocated locals in the scopeinfo. When flushing code we can potentially flush code with a scopeinfo that we later need to resolve variables. This makes an explicit check that there are heap allocated locals in the scopeinfo. Committed: http://code.google.com/p/v8/source/detail?r=4921

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
M src/heap.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/scopeinfo.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/scopeinfo.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Rico
10 years, 6 months ago (2010-06-23 07:00:33 UTC) #1
Kasper Lund
LGTM. http://codereview.chromium.org/2836021/diff/5001/6001 File src/heap.cc (right): http://codereview.chromium.org/2836021/diff/5001/6001#newcode2270 src/heap.cc:2270: if ( ScopeInfo<>::HasHeapAllocatedLocals(function_info->code())) Remove space before ScopeInfo.
10 years, 6 months ago (2010-06-23 07:14:27 UTC) #2
Rico
10 years, 6 months ago (2010-06-23 07:16:00 UTC) #3
http://codereview.chromium.org/2836021/diff/5001/6001
File src/heap.cc (right):

http://codereview.chromium.org/2836021/diff/5001/6001#newcode2270
src/heap.cc:2270: if (
ScopeInfo<>::HasHeapAllocatedLocals(function_info->code()))
On 2010/06/23 07:14:27, Kasper Lund wrote:
> Remove space before ScopeInfo.

Done.

Powered by Google App Engine
This is Rietveld 408576698