hpayer@chromium.org
24fceeeabb
Move store-buffer to heap and remove some unnecessary includes.
...
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/463523002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23046 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-11 14:22:24 +00:00
yangguo@chromium.org
4db68f26e2
Fix GN build.
...
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/459623002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23013 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-09 10:02:42 +00:00
rossberg@chromium.org
7cd2c215ac
Fix BUILD.gn after unflagging unscopables
...
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/455823002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23001 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-08 13:55:17 +00:00
wingo@igalia.com
cebddb662e
Enable ES6 iteration by default
...
This enables for-of, as well as @@iterator implementations for strings
and arrays.
R=rossberg@chromium.org
BUG=v8:2214
LOG=Y
Review URL: https://codereview.chromium.org/446023002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22980 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-07 16:42:14 +00:00
hpayer@chromium.org
604eaa0d27
Move objects-visiting into heap.
...
BUG=
R=jochen@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/443933002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22971 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-07 12:21:01 +00:00
yangguo@chromium.org
2e4114975f
Fix BUILD.gn after r22923.
...
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/449783002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22956 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-07 08:02:37 +00:00
rossberg@chromium.org
25b978cbf4
This implements unscopables
...
The unscobables allow us to black list properties from showing up in
with statements.
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-environment-records-hasbinding-n
The spec draft is not fully up to date.
https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-07/jul-29.md#conclusionresolution
BUG=v8:3401
LOG=Y
R=rossberg@chromium.org , verwaest@chromium.org
Review URL: https://codereview.chromium.org/384963002
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22942 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-06 15:50:40 +00:00
yangguo@chromium.org
d07203bc90
Fix BUILD.gn
...
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/442343003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22937 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-06 14:57:04 +00:00
yangguo@chromium.org
71857295b4
Reland "Implement trigonometric functions using a fdlibm port."
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/448643002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22923 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-06 11:39:39 +00:00
yangguo@chromium.org
ff7975aa8d
Revert "Implement trigonometric functions using a fdlibm port."
...
This reverts r22918 and r22920.
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/448633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22921 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-06 11:04:47 +00:00
yangguo@chromium.org
3c4d23b917
Implement trigonometric functions using a fdlibm port.
...
R=jochen@chromium.org , rtoy@chromium.org , svenpanne@chromium.org
BUG=v8:3006
LOG=N
Review URL: https://codereview.chromium.org/411263004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22918 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-06 10:33:17 +00:00
adamk@chromium.org
bcf8b05072
Enable ES6 Map and Set by default
...
In doing so also remove all references to the --harmony-collections flag.
Due to the way context snapshotting works, it's not possible to simply
enable the flag by default.
Depends on ES6 Symbols: https://codereview.chromium.org/421313004
BUG=v8:1622
LOG=Y
R=arv@chromium.org , rossberg@chromium.org
Review URL: https://codereview.chromium.org/427723002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22889 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 19:37:32 +00:00
verwaest@chromium.org
62714a58cd
Inline LookupInHolder and NextHolder
...
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/437513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22853 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 09:32:55 +00:00
jochen@chromium.org
c608c2f0be
Move a bunch of GC related files to heap/ subdirectory
...
BUG=none
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/437993003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22850 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 08:18:22 +00:00
mstarzinger@chromium.org
bff9c5daeb
Add new files to the GN build after r22709.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/434673002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 15:36:22 +00:00
ernstm@chromium.org
70e2a040b3
Move GCTracer to separate files.
...
- No functional changes.
R=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/416543003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 13:06:38 +00:00
jochen@chromium.org
b019be29eb
Fix v8 Windows GN build.
...
The paths for some of the Windows-specific files was incorrect.
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/402693002
Patch from Brett Wilson <brettw@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22455 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-17 17:39:54 +00:00
yangguo@chromium.org
59de1ffbe5
Fix ninja build.
...
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/397463004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22435 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-16 14:59:49 +00:00
jochen@chromium.org
168742b81a
Introduce a PrototypeIterator class and use it for prototype access
...
The new pattern is that we first get the map of the root of the
prototype chain using Object::GetMapRoot() and then walk up the
prototype chain using Map::prototype().
BUG=???
R=verwaest@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/376233002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22365 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-14 07:19:49 +00:00
jarin@chromium.org
cfccf7938e
Reland "Linux perf tool support update + refactoring." (r22146, fifth attempt)
...
Bringing the offending timer functions to the platform dependent files.
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/367033002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22210 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-03 19:18:26 +00:00
jochen@chromium.org
7b94143287
Don't even include v8.h from libbase or libplatform
...
BUG=none
R=yangguo@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/369073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22182 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-03 08:50:52 +00:00
jochen@chromium.org
ca16bb7ae2
Split out libplatform into a separate libary
...
Also remove the "use default platform" compile flag. Instead, the embedder
has to provide the platform.
Change all binaries to use the default platfrom from libplatform.
Unless --job-based-sweeping is passed, nothing uses the platform yet, so
nothing will break for embedders (yet).
BUG=none
R=jkummerow@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/345903004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22180 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-03 07:37:27 +00:00
yangguo@chromium.org
b6fcac16a3
Revert "Reland "Linux perf tool support update + refactoring." (r22118)"
...
This reverts r22146.
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/366883004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22150 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-02 10:19:35 +00:00
jarin@chromium.org
1dbeb822bd
Reland "Linux perf tool support update + refactoring." (r22118)
...
This disables the perf support in Android because of build problems with librt (should be fixable with a bit of effort, but priority is low).
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/360783006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22146 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-02 08:38:52 +00:00
jarin@chromium.org
06e082c815
Revert "Linux perf tool support update + refactoring." (r22118).
...
Android ninja build still failing.
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/367633003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22119 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-01 13:12:08 +00:00
jarin@chromium.org
2b7580c2d4
Reland "Linux perf tool support update + refactoring."
...
This relands r22098.
BUG=
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/368433006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22118 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-01 12:20:21 +00:00
jochen@chromium.org
2e1a6ba72a
Revert 22098 "Linux perf tool support update + refactoring."
...
GetCurrentThreadId doesn't compile on android
Also reverts follow up build fix attempts
BUG=none
LOG=n
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/337093005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22104 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-30 17:21:35 +00:00
jarin@chromium.org
398a59e791
Fix build (forgot to update BUILD.gn)
...
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/341063008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22100 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-30 15:06:04 +00:00
jochen@chromium.org
a4506cd3f2
Move platform abstraction to base library
...
Also split v8-core independent methods from checks.h to base/logging.h and
merge v8checks with the rest of checks.
The CPU::FlushICache method is moved to CpuFeatures::FlushICache
RoundUp and related methods are moved to base/macros.h
Remove all layering violations from src/libplatform
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/358363002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22092 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-30 13:25:46 +00:00
svenpanne@chromium.org
e25f833496
Added slim versions of output streams.
...
R=bmeurer@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/352823003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22049 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-27 08:42:17 +00:00
marja@chromium.org
62ffc7de20
New try: Parser: Delay internalizing strings and values
...
This is a reincarnation of r21841.
The previous try was https://codereview.chromium.org/314603004/ but it regressed
JSBench and morejs.
BUG=
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/335293004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21972 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-24 14:03:24 +00:00
jochen@chromium.org
8a21855b7f
Don't list platform-posix.cc twice on android
...
BUG=387326
R=marja@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/350893002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21967 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-24 12:41:17 +00:00
vogelheim@chromium.org
7b7bb25a24
Support external startup data in V8.
...
[Re-retry of r21696 and r21739]
If the embedder chooses, the 'natives' (library sources) and the
precompiled startup blob can be written to files during the build
process and handed over to V8 at startup. The main purpose would be
to reduce the size of the compiled binary for space constrained
platforms.
The build-time option is off by default. Nothing should change if
it's not enabled.
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/334913004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21941 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-23 13:52:17 +00:00
jkummerow@chromium.org
01dde7513c
Add safe numerics classes, imported from Chromium.
...
Not used for anything yet.
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/336183003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21883 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-18 11:01:54 +00:00
marja@chromium.org
9ad39a8043
Revert "Parser: Delay internalizing strings and values." (r21841)
...
Plus the fixes on top.
Reason: regresses benchmarks (JSBench) and perf (morejs).
TBR=rossberg@chromium.org
BUG=385404
LOG=N
Review URL: https://codereview.chromium.org/345513003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21882 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-18 07:30:56 +00:00
marja@chromium.org
2b52295935
Fix gn build.
...
TBR=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/338553002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21843 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-13 13:45:49 +00:00
verwaest@chromium.org
bb2b08b194
Implement LookupIterator designed to replace LookupResult
...
BUG=
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/314953006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21767 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-11 09:59:14 +00:00
mstarzinger@chromium.org
ce947a4392
Fix typos in BUILD.gn source lists
...
"foo,cc" is not the same as "foo.cc"
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/326193002
Patch from James Robinson <jamesr@chromium.org>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21765 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-11 09:42:48 +00:00
mstarzinger@chromium.org
05216fdd56
Fix GN build.
...
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/328883005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21759 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-11 08:31:13 +00:00
mstarzinger@chromium.org
2709e30562
Revert "Fix gn build".
...
This was reverted due to GN build failures while rolling V8 into
Chromium. Locally reproducing it verified that this makes the GN
build pass again.
R=jkummerow@chromium.org , machenbach@chromium.org
Review URL: https://codereview.chromium.org/324013006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21749 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-10 15:34:49 +00:00
machenbach@chromium.org
6ccf6f8bf8
Revert "Support external startup data in V8."
...
This reverts commit r21696 for breaking chromium windows compilation in the chromium cq.
Conflicts:
src/d8.cc
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/328693003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21740 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-10 10:51:33 +00:00
mstarzinger@chromium.org
2d8dc7c691
Revert "Port 'external startup data' flag from gyp to gn."
...
This cause compile failures on the GN buildbot about 'gen/v8/libraries.bin'
missing and no known rule to make it.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/327703004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-10 10:06:14 +00:00
vogelheim@chromium.org
1d29b1824b
Port 'external startup data' flag from gyp to gn.
...
R=jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/316363004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-06 14:30:33 +00:00
jochen@chromium.org
3086f3735a
Fix gn build
...
BUG=none
TBR=brettw@chromium.org ,vogelheim@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/318043002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-06 07:26:23 +00:00
vogelheim@chromium.org
ba9f391bc0
Support external startup data in V8.
...
[Retry of crrev.com/293993021, which caused problems with 'ninja all' in Chromium. First patch set if a clean apply
of crrev.com/293993021. Subsequent sets are the actual fix
for that issue.]
If the embedder chooses, the 'natives' (library sources) and the
precompiled startup blob can be written to files during the build
process and handed over to V8 at startup. The main purpose would be
to reduce the size of the compiled binary for space constrained
platforms.
The build-time option is off by default. Nothing should change if
it's not enabled.
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/315033002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-05 13:06:21 +00:00
jochen@chromium.org
799fc835f8
Move atomic ops and related files to base library
...
BUG=none
R=jkummerow@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/316133002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-05 12:14:47 +00:00
jochen@chromium.org
d208d2f661
Address a few TODOs in the gn config
...
- add direct dependant settings
- only compile mksnapshot on the host toolset
BUG=none
LOG=n
R=machenbach@chromium.org , brettw@chromium.org
Review URL: https://codereview.chromium.org/314073002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-05 08:45:24 +00:00
jochen@chromium.org
f136e8fcb7
Fix building android gn
...
BUG=none
TBR=machenbach@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/313923002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21678 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-04 15:21:26 +00:00
mvstanton@chromium.org
e039477000
Revert "Support external startup data in V8."
...
This reverts commit r21646, as it blocks pushing to chromium.
TBR=vogelheim@chromium.org
Review URL: https://codereview.chromium.org/317633003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-04 08:35:42 +00:00
vogelheim@chromium.org
61509aaea5
Support external startup data in V8.
...
If the embedder chooses, the 'natives' (library sources) and the
precompiled startup blob can be written to files during the build
process and handed over to V8 at startup. The main purpose would be
to reduce the size of the compiled binary for space constrained
platforms.
The build-time option is off by default. Nothing should change if
it's not enabled.
BUG=
R=bmeurer@chromium.org , jochen@chromium.org
Review URL: https://codereview.chromium.org/293993021
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21646 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-06-03 14:38:35 +00:00