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

Issue 1580323003: Restrict GeneratePreagedPrologue to proper functions. (Closed)

Created:
4 years, 11 months ago by vogelheim
Modified:
4 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Restrict GeneratePreagedPrologue to proper functions. This solves a bug discovered with fast accessors, where a pre-age prologue was written into a stub. Since StaticMarkingVisitor<.>::IsFlushable will only flush Code::FUNCTION [1], we'll restrict GeneratePreagedPrologue to functions, too, instead of adding a Code::STUB restriction. Also, generalize api accessor test cases to --optimize-for-size. Also, fix CompilationCacheCachingBehavior for --optimize-for-size. [1] https://code.google.com/p/chromium/codesearch#chromium/src/v8/src/heap/objects-visiting-inl.h&l=629-632 R=epertoso BUG= Committed: https://crrev.com/41719a42ac105963c1709e0c6117caea68aaaef8 Cr-Commit-Position: refs/heads/master@{#33291}

Patch Set 1 #

Patch Set 2 : Fix CompilationCacheCachingBehavior for all combinations of --age-code and --optimize-for-size. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -19 lines) Patch
M src/compiler.h View 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 1 chunk +18 lines, -10 lines 0 comments Download
M test/cctest/test-api-accessors.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api-fast-accessor-builder.cc View 5 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
vogelheim
4 years, 11 months ago (2016-01-13 15:47:56 UTC) #1
vogelheim
Toon, would you be the right person to review the CompilationCacheCachingBehavior test?
4 years, 11 months ago (2016-01-13 15:48:52 UTC) #3
epertoso
lgtm
4 years, 11 months ago (2016-01-13 15:52:48 UTC) #4
jochen (gone - plz use gerrit)
lgtm
4 years, 11 months ago (2016-01-14 10:58:37 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580323003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580323003/20001
4 years, 11 months ago (2016-01-14 11:27:24 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-14 11:48:15 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 11:48:23 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/41719a42ac105963c1709e0c6117caea68aaaef8
Cr-Commit-Position: refs/heads/master@{#33291}

Powered by Google App Engine
This is Rietveld 408576698