jkummerow@chromium.org
48c39e57b2
Expand C++ macros in tools/generate-runtime-tests.py to increase coverage
...
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/290513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21340 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-16 13:16:08 +00:00
yangguo@chromium.org
75a7a3157f
Use %DebugGetProperty in debug mirror to check for Promise.
...
R=aandrey@chromium.org , amikhaylova@google.com
Review URL: https://codereview.chromium.org/283373003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21339 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-16 13:06:20 +00:00
yangguo@chromium.org
5c3c644cd3
Make plot shell script nicer.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/284283005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21338 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-16 13:04:45 +00:00
m.m.capewell@googlemail.com
ce8dab82f7
ARM64: Fix native cctest
...
CPUFeatures::Probe has been modified such that it can be called only once, but
the cctests make two calls in native builds: once in VM init, and once in each
test setup. This patch removes the call in the test setup.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/285273003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21337 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-16 12:09:42 +00:00
machenbach@chromium.org
04043b3352
Fix keyboard interrupt in test driver.
...
Drain the queues to prevent failures when queues are garbage collected. Fails when interrupting test262 otherwise.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/286973004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21334 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 15:01:27 +00:00
jkummerow@chromium.org
cede70c21b
Ensure that collection iterators' maps have constructors
...
This fixes JSObject::GetCreationContext() for such iterators.
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/288233002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21333 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 14:13:59 +00:00
jkummerow@chromium.org
628bdf69df
Fix builtin/runtime name clashes generated by macros
...
Specifically: DataView{S,G}et* and a few more Math functions.
Also change indentation in typedarray.js for easier future builtins parsing.
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/286073004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21332 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 13:03:14 +00:00
yangguo@chromium.org
773a7eda67
Adapt test expectations in webkit.
...
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/288163003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21331 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 12:46:32 +00:00
machenbach@chromium.org
1d0db84277
Fix deopt fuzzer after test runner changes.
...
Use the same keyboard interrupt logic as run-tests.
Close the perf database explicitly after one run, as it has two runs on the same architecture. Currently the first run closes on garbage collection, which might corrupt the second run.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/284203002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21330 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 12:40:40 +00:00
yangguo@chromium.org
7a5207803c
Refactor MacroAssembler::Prologue.
...
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/288213002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21329 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 12:10:00 +00:00
machenbach@chromium.org
743e07bad0
Run tests sorted by expected runtime.
...
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/273613005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21328 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 12:01:34 +00:00
hpayer@chromium.org
0bfa182784
Decrease OldSurvivalRateLowThreshold to fit heap growing strategy.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/282223005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21327 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 11:10:07 +00:00
hpayer@chromium.org
ab0033de15
Only allow allocation site lifetime transitions from undicided to tenure or don't tenure.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/289973002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21326 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 11:09:22 +00:00
yangguo@chromium.org
fbd03e4daf
Use table to dispatch debug commands.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/289473005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21325 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 10:40:48 +00:00
marja@chromium.org
11b8551f60
Parser / PreParser: Simplify error message arguments.
...
In some places, we pretended that there can be multiple arguments, though in
practice there was only one. In other places (most importantly, PreParser), we
only handled one argument. (This means that we were not able to produce a
multi-argument error inside a lazy function anyway.)
This CL makes it clear that there is ever only one argument.
R=ulan@chromium.org
BUG=
Review URL: https://codereview.chromium.org/273653002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21324 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 09:44:57 +00:00
mstarzinger@chromium.org
fb5492d601
Ignore Eclipse project description files.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/290453004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21323 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 09:34:47 +00:00
svenpanne@chromium.org
53139a0a9b
Omit stack check in non-looping loops.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/285333002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21322 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 09:25:03 +00:00
yangguo@chromium.org
14e0dd5e6e
Remove custom JSON implementation from d8.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/283943002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21321 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 09:19:02 +00:00
svenpanne@chromium.org
cab2719fd1
Avoid memset(NULL, ...).
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/290453003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21320 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-15 07:16:46 +00:00
plind44@gmail.com
d51e48dced
MIPS: Fix FlooringDivByPowerOf2I.
...
Port r21313 (3b4cb0b)
Original commit message:
Fix for divisor=1, found during code inspection. We can't hit this bug, due to
HDiv::Canonicalize() discarding the operation, but it might avoid a future bug
hunt. Patch also includes a small tidying of the ARM64 code.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/277893003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21317 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 17:34:09 +00:00
yangguo@chromium.org
ca9555120c
Remove socket implementation from V8.
...
R=jkummerow@chromium.org , svenpanne@chromium.org
Review URL: https://codereview.chromium.org/281723007
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21316 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 16:34:13 +00:00
yangguo@chromium.org
33fba3bfa1
Remove DebuggerAgent.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/279423004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21315 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 16:28:46 +00:00
machenbach@chromium.org
c0ec7f20c8
Mark slow mozilla test.
...
This test is the remaining low hanging fruit in quick check and blocks the runner for 5 extra seconds.
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/281153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21314 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 15:05:44 +00:00
m.m.capewell@googlemail.com
41975b90c0
Fix FlooringDivByPowerOf2I on ARM/ARM64
...
Fix for divisor=1, found during code inspection. We can't hit this bug, due to
HDiv::Canonicalize() discarding the operation, but it might avoid a future bug
hunt. Patch also includes a small tidying of the ARM64 code.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/280883003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21313 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 14:34:37 +00:00
ulan@chromium.org
70813e6a82
ARM64: Enable PIE on Android.
...
BUG=373219
LOG=N
R=rmcilroy@chromium.org
Review URL: https://codereview.chromium.org/287893002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21312 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 14:11:54 +00:00
m.m.capewell@googlemail.com
98ebea4e5d
A number of small changes:
...
- Change ConstantD for +/-zero constants to use the fp_zero register.
- Use Bfi in DoConstructDouble.
- Use Tbz for positive dividend check in mod by constant.
- Optimize some deoptimize checks.
- Fix a couple of style/consistency issues.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/272183003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21311 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 14:01:29 +00:00
machenbach@chromium.org
fc437f4007
Introduce a dynamic process pool for the local test driver
...
The new process pool allows adding jobs after testing has been started. It will also allow to restructure building the job queue (in a follow up CL), so that testing can start instantly while the queue is being built.
Also attempts to clean up the keyboard-interrupt logic. Idea: Only catch keyboard interrupt once per process at the outermost level. Use proper "finally" clauses to clean up everywhere where a keyboard interrupt might occur. Never turn named exceptions into none-exceptions using anonymous "raise".
TEST=python -m unittest pool_unittest
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/275093002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21310 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 13:30:57 +00:00
jkummerow@chromium.org
56c0eeb5e4
Add randomized test generation capability to tools/generate-runtime-tests.py
...
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/288443005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21307 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 12:54:34 +00:00
jarin@chromium.org
89816b7a18
Remove a race between sweepers and the free space skipping code (while iterating new space pointers).
...
There has been a race between a sweeper setting the next pointer on
free list node and the main thread skipping free space during update of
new space pointers in the heap.
This change removes the free space skipping code.
R=hpayer@chromium.org
BUG=370551
LOG=N
Review URL: https://codereview.chromium.org/285733003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21306 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 12:35:13 +00:00
ulan@chromium.org
d7c81b557c
Temporarily skip test-heap/NoWeakHashTableLeakWithIncrementalMarking on Windows.
...
BUG=3331
LOG=N
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/286783002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21305 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 12:28:34 +00:00
hpayer@chromium.org
a7632e11fc
Print new space survival rate in --trace-gc-nvp.
...
BUG=
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/287873003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21304 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 11:45:33 +00:00
ulan@chromium.org
4d92ce5752
Fix test after r21299.
...
This fixes Win and Mac test failures.
TBR=danno@chromium.org
Review URL: https://codereview.chromium.org/282863005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21303 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 11:43:21 +00:00
machenbach@chromium.org
8bca653ca7
Add layout dbg trybot to default list.
...
BUG=353487
LOG=n
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/281013003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21302 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 11:11:22 +00:00
rossberg@chromium.org
98849dd1ce
Drop thenable coercion cache
...
R=dslomov@chromium.org
BUG=372788
LOG=Y
Review URL: https://codereview.chromium.org/281753004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21301 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 10:44:34 +00:00
machenbach@chromium.org
7dccec5df7
Fix chromium trunk url in DEPS.
...
Makes "svn/trunk" part of the variable so that it can be replaced with "chrome/trunk" when using mirrors.
BUG=372738
LOG=n
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/289473006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21300 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 09:29:50 +00:00
ulan@chromium.org
876b48f384
Skip write barriers when updating the weak hash table.
...
Write barrier on the weak hash table makes all its pointers strong,
which can cause a memory leak.
BUG=359401
LOG=Y
TEST=cctest/test-heap/NoWeakHashTableLeakWithIncrementalMarking
R=hpayer@chromium.org , mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/284773004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21299 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 09:12:21 +00:00
jkummerow@chromium.org
f5631f7378
Avoid name clashes of builtins and runtime functions.
...
This makes it possible to use %Percent() notation to call any given builtin or runtime function in tests.
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/280243002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21298 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 08:51:10 +00:00
svenpanne@chromium.org
72fcd0dd05
Revert PropertyCallbackInfo::This() signature change from r21022.
...
This exposed an internal implementation detail, which could be handled
differently.
BUG=v8:3274
LOG=y
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/285643008
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21297 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 08:34:05 +00:00
machenbach@chromium.org
7d4cbcbf05
Allow chromium url to be overwritten as a custom variable in DEPS.
...
Using this work around, buildbot can set the chromium_url variable to the golo mirror.
BUG=372738
LOG=n
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/281053003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21296 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 08:30:49 +00:00
yangguo@chromium.org
20a627183f
Rename debug API methods.
...
R=yurys@chromium.org
Review URL: https://codereview.chromium.org/281733002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21295 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-14 08:07:21 +00:00
rodolph.perfetta@arm.com
2ea755fc8c
ARM64: Fix cache line size computation.
...
BUG=
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/268673020
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21290 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 15:13:22 +00:00
jarin@chromium.org
2b4bfce298
Prevent interference of allocation sites with array-natives-elements test.
...
This should make the arm64 build green again.
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/285663005
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21288 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 10:31:53 +00:00
m.m.capewell@googlemail.com
78b3b6b370
ARM64: Fix native builds
...
On ARM64, HasListItem() isn't used, so the compiler complains. Use the
preprocessor to remove it from ARM64 builds.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/285463003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21285 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 09:55:26 +00:00
yangguo@chromium.org
abeb747c92
Simplify DoubleRegister for the ia32 port.
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/284503002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21284 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 09:05:00 +00:00
jarin@chromium.org
2b9de3866f
Fix incremental marking of native context when bootstrapping.
...
This should fix one of the arm64 build breaks - we have tried to mark
half-initialized native context there, but the normalized_map_cache
entry was still undefined.
R=hpayer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/284633002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21283 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 08:48:39 +00:00
machenbach@chromium.org
c0887a9606
Revert "Sync change log from trunk."
...
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21282 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 08:48:37 +00:00
machenbach@chromium.org
cc7111e7d0
Sync change log from trunk.
...
BUG=
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/280703006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21281 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 08:40:30 +00:00
yangguo@chromium.org
5a47bfe3bc
Remove unused -p option from d8.
...
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/280543002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21280 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 08:31:27 +00:00
yangguo@chromium.org
a7a6abbde6
Require CMOV support for the ia32 port.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/275253004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21279 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 08:16:26 +00:00
svenpanne@chromium.org
e7d8fb96e2
Simplified slot buffer logic during weak list visiting.
...
Tiny reformatting cleanup on the way.
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/282493004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-05-13 06:22:49 +00:00