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

Issue 196533007: Assert that allocation is allowed in generated code. (Closed)

Created:
6 years, 9 months ago by Yang
Modified:
5 years ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Visibility:
Public.

Description

Assert that allocation is allowed in generated code. Allocation may happen in generated code as well, even though it has to call into runtime for GC. R=mstarzinger@chromium.org

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/execution.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yang
6 years, 9 months ago (2014-03-12 17:24:06 UTC) #1
Michael Starzinger
6 years, 9 months ago (2014-03-13 08:35:51 UTC) #2
This generally looks OK.

But as discussed offline: It currently fails a few tests because the restriction
is tighter than it needs to be. To get a finer grained coverage we just need to
run with Heap::DisableInlineAllocation() turned on and we will get better
assertion checking at the actual place of allocation.

Powered by Google App Engine
This is Rietveld 408576698