vogelheim
8c04c33f28
Generalize 'fast accessor' tests to work with --always-opt.
...
BUG=508898
LOG=N
Review URL: https://codereview.chromium.org/1588053002
Cr-Commit-Position: refs/heads/master@{#33297}
2016-01-14 14:25:02 +00:00
vogelheim
41719a42ac
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=
Review URL: https://codereview.chromium.org/1580323003
Cr-Commit-Position: refs/heads/master@{#33291}
2016-01-14 11:48:17 +00:00
vogelheim
5819e4be5b
Re-re-land FastAccessorBuilder.
...
... using the RawMachineAssembler and the work in crrev.com/1407313004.
The original change collided with crrev.com/1513543003.
BUG=chromium:508898
LOG=Y
Committed: https://crrev.com/515d9ccd8e6df7bf2ca01e2a55aaad30226399e1
Cr-Commit-Position: refs/heads/master@{#32742}
patch from issue 1474543004 at patchset 260001 (http://crrev.com/1474543004#ps260001 )
Committed: https://crrev.com/ee5c38d7db907ff86dd4049721c0cb4bc90a6c4d
Cr-Commit-Position: refs/heads/master@{#32753}
patch from issue 1504713012 at patchset 20001 (http://crrev.com/1504713012#ps20001 )
Review URL: https://codereview.chromium.org/1518703002
Cr-Commit-Position: refs/heads/master@{#32786}
2015-12-11 09:54:00 +00:00
jochen
6f472db65a
Disable soon to be deprecated APIs per default for v8
...
Embedders still can use those APIs by default
test-api.cc still has an exception to use the old APIs...
BUG=v8:4143
R=vogelheim@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1505803004
Cr-Commit-Position: refs/heads/master@{#32701}
2015-12-09 10:35:04 +00:00
epertoso
4307e44899
Adds the possibility of setting a Code object as the callback of a FunctionTemplate.
...
BUG=
Review URL: https://codereview.chromium.org/1407313004
Cr-Commit-Position: refs/heads/master@{#32213}
2015-11-24 14:33:23 +00:00
vogelheim
ed110a1715
Allow JavaScript accessors on API objects.
...
(This is somewhat experimental; hence protected by #ifdef.)
R=epertoso@chromium.org , jochen@chromium.org
BUG=chromium:508898
LOG=N
Review URL: https://codereview.chromium.org/1367953002
Cr-Commit-Position: refs/heads/master@{#31002}
2015-09-29 11:16:14 +00:00