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

Issue 8079002: Make sure that heap is iterable prior to iterating it in Logger:: methods. (Closed)

Created:
9 years, 2 months ago by mnaganov (inactive)
Modified:
9 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Make sure that heap is iterable prior to iterating it in Logger:: methods. R=vegorov@chromium.org BUG=v8:1700 TEST=none Committed: http://code.google.com/p/v8/source/detail?r=9487

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/log.cc View 3 chunks +3 lines, -0 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
mnaganov (inactive)
9 years, 2 months ago (2011-09-29 15:00:10 UTC) #1
Vyacheslav Egorov (Chromium)
LGTM! http://codereview.chromium.org/8079002/diff/1/src/log.cc File src/log.cc (right): http://codereview.chromium.org/8079002/diff/1/src/log.cc#newcode1579 src/log.cc:1579: const int compiled_funcs_count = EnumerateCompiledFunctions(NULL, NULL); add AssertNoAllocation ...
9 years, 2 months ago (2011-09-29 15:01:28 UTC) #2
mnaganov (inactive)
9 years, 2 months ago (2011-09-29 15:06:41 UTC) #3
http://codereview.chromium.org/8079002/diff/1/src/log.cc
File src/log.cc (right):

http://codereview.chromium.org/8079002/diff/1/src/log.cc#newcode1579
src/log.cc:1579: const int compiled_funcs_count =
EnumerateCompiledFunctions(NULL, NULL);
On 2011/09/29 15:01:28, Vyacheslav Egorov wrote:
> add 
> 
> AssertNoAllocation no_alloc;
> 
> for the sake of checking?

It's already stated in EnumerateCompiledFunctions.

Powered by Google App Engine
This is Rietveld 408576698