mstarzinger
5db82a57b6
Switch CFGBuilder to use NodeMarker.
...
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/753063004
Cr-Commit-Position: refs/heads/master@{#25622}
2014-12-02 16:51:55 +00:00
mstarzinger
f9e4527f32
Restrict floating control to minimal control-connected component.
...
R=jarin@chromium.org
TEST=cctest/test-scheduler/NestedFloatingDiamondWithChain
Review URL: https://codereview.chromium.org/738613005
Cr-Commit-Position: refs/heads/master@{#25621}
2014-12-02 15:56:30 +00:00
mstarzinger
0672b64d1c
Make generic algorithm a little less generic.
...
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/760493003
Cr-Commit-Position: refs/heads/master@{#25620}
2014-12-02 15:38:00 +00:00
weiliang.lin
4f3d27e64f
[ia32] Introduce FMA3 instructions on scalar data elements.
...
port 83a635e0d7
BUG=
Review URL: https://codereview.chromium.org/773783002
Cr-Commit-Position: refs/heads/master@{#25619}
2014-12-02 15:30:09 +00:00
jochen
4fcc2dca7e
Trace how long it takes to compute the weak closure during mark-compact
...
BUG=none
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/769253002
Cr-Commit-Position: refs/heads/master@{#25618}
2014-12-02 15:09:27 +00:00
dslomov
dba8e83b41
Stage ES6 classes and object literal extensions.
...
R=arv@chromium.org ,rossberg@chromium.org
BUG=v8:3330
LOG=Y
Review URL: https://codereview.chromium.org/774653002
Cr-Commit-Position: refs/heads/master@{#25617}
2014-12-02 14:54:40 +00:00
danno
f6e5bc1642
Clean up node iteration
...
- Create a first-class Edge type.
- Separate node and edge iterators
- Make iterators only responsible for iteration
- Make it possible to modify the use edge iterator while iterating.
- Add the ability to update inputs to Edges directly.
Review URL: https://codereview.chromium.org/765983002
Cr-Commit-Position: refs/heads/master@{#25616}
2014-12-02 14:38:58 +00:00
ulan
2ac522ab15
Reland parts of 'Use weak cells in map checks in polymorphic ICs'
...
This relands macroassembler instructions and weak cell caching and
does not include parts that caused "Linux ASan LSan" test failures.
BUG=v8:3663
LOG=N
Review URL: https://codereview.chromium.org/764003003
Cr-Commit-Position: refs/heads/master@{#25615}
2014-12-02 14:25:26 +00:00
machenbach
6a3460129c
Add Android platform to performance runner.
...
BUG=chromium:374740
LOG=n
TEST=python -m unittest run_perf_test
NOTRY=true
Review URL: https://codereview.chromium.org/768143002
Cr-Commit-Position: refs/heads/master@{#25614}
2014-12-02 14:24:00 +00:00
svenpanne
c16b8f6cbb
Fixed environment handling for LFlooringDivI on ARM.
...
Beautiful code... :-}
BUG=chromium:437765
LOG=y
Review URL: https://codereview.chromium.org/775613002
Cr-Commit-Position: refs/heads/master@{#25613}
2014-12-02 13:47:19 +00:00
Marja Hölttä
d3c217674f
Make the ParserSync test faster (and re-enable it).
...
Most of the run time came from testing with all possible flag combinations. None
of the flags passed affect the test, and there are specialized tests for testing
the features behind the flags; no need to slow down the generic test.
With these changes, run time for debug build goes from 186 s to 0.5 s.
In addition, fixed some missing commas between the test cases.
R=svenpanne@chromium.org
BUG=v8:3707
LOG=N
Review URL: https://codereview.chromium.org/766673003
Cr-Commit-Position: refs/heads/master@{#25612}
2014-12-02 13:23:39 +00:00
Benedikt Meurer
5a37253b1a
[turbofan] Use the temporary zone for the VN cache.
...
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/760403003
Cr-Commit-Position: refs/heads/master@{#25611}
2014-12-02 12:45:19 +00:00
Benedikt Meurer
0a020550c6
[turbofan] Cache the Branch operator(s).
...
TEST=unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/771153002
Cr-Commit-Position: refs/heads/master@{#25610}
2014-12-02 12:41:44 +00:00
Benedikt Meurer
a94a612220
[turbofan] Cache the JSStoreProperty operator(s).
...
TEST=unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/769193003
Cr-Commit-Position: refs/heads/master@{#25609}
2014-12-02 11:40:32 +00:00
dslomov
71d166ee70
Restore correct logic in GC test.
...
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/767453004
Cr-Commit-Position: refs/heads/master@{#25608}
2014-12-02 11:34:38 +00:00
hpayer
ee798e203f
Perform smaller marking steps incrementally in idle notification.
...
BUG=
Review URL: https://codereview.chromium.org/767233003
Cr-Commit-Position: refs/heads/master@{#25607}
2014-12-02 11:25:07 +00:00
jochen
49859dc3bb
After moving unreachable weak global handles only process harmony collections
...
Groups and implicit references are no longer relevant at this point.
Also add tests that fail if the first or second round of ephemeral
marking is omitted
BUG=none
R=mstarzinger@chromium.org ,hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/761343004
Cr-Commit-Position: refs/heads/master@{#25606}
2014-12-02 11:24:00 +00:00
Benedikt Meurer
d33cabea57
[turbofan] Add missing tests for SimplifiedOperatorBuilder.
...
TEST=unittests
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/772723003
Cr-Commit-Position: refs/heads/master@{#25605}
2014-12-02 11:10:55 +00:00
titzer
10750f0e80
[turbofan] Enable stage 1.
...
R=danno@chromium.org ,bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/770203003
Cr-Commit-Position: refs/heads/master@{#25604}
2014-12-02 11:07:26 +00:00
marja
0a0e6c8c81
ES6 unicode extensions, part 1.
...
Allows \u{xxxxx} in variable names and string literals (not yet in regexps).
Everything's behind the --harmony-unicode flag.
BUG=
Review URL: https://codereview.chromium.org/716423002
Cr-Commit-Position: refs/heads/master@{#25603}
2014-12-02 10:58:19 +00:00
titzer
027cbf8d7f
[turbofan] Initialize less frequently used types in typer.cc lazily.
...
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/771683002
Cr-Commit-Position: refs/heads/master@{#25602}
2014-12-02 10:43:13 +00:00
marja
007028cded
Parser: Removing debug code.
...
The mystery crash never reappeared once the debugging code was in place.
R=jochen@chromium.org
BUG=
Review URL: https://codereview.chromium.org/760863003
Cr-Commit-Position: refs/heads/master@{#25601}
2014-12-02 10:31:54 +00:00
titzer
77c6ee0c04
[turbofan] Make context specialization into a reducer.
...
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/771713002
Cr-Commit-Position: refs/heads/master@{#25600}
2014-12-02 10:02:46 +00:00
Hannes Payer
81ec9916ba
Fix idle time trace printing.
...
BUG=
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/771123002
Cr-Commit-Position: refs/heads/master@{#25599}
2014-12-02 09:27:55 +00:00
yurys
f434123a16
Add GetIdentityHash to v8::Name object API
...
v8::Object already has GetIdentityHash on it. This change adds its counterpart to v8::Name.
BUG=chromium:437416
LOG=Y
Review URL: https://codereview.chromium.org/753373003
Cr-Commit-Position: refs/heads/master@{#25598}
2014-12-02 09:13:30 +00:00
machenbach
d9c83f6bd0
Revert of Use weak cells in map checks in polymorphic ICs. (patchset #8 id:140001 of https://codereview.chromium.org/753993003/ )
...
Reason for revert:
[Sheriff] Speculative revert for breaking chromium asan (roll blocker):
http://build.chromium.org/p/client.v8/builders/Linux%20ASan%20LSan%20Tests%20%281%29/builds/1683
Original issue's description:
> Use weak cells in map checks in polymorphic ICs.
>
> BUG=v8:3663
> LOG=N
TBR=mvstanton@chromium.org ,akos.palfi@imgtec.com,weiliang.lin@intel.com,ulan@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=v8:3663
Review URL: https://codereview.chromium.org/771033003
Cr-Commit-Position: refs/heads/master@{#25597}
2014-12-02 08:17:05 +00:00
machenbach
58553437fa
Revert of MIPS: Use weak cells in map checks in polymorphic ICs. (patchset #1 id:1 of https://codereview.chromium.org/767623003/ )
...
Reason for revert:
Need to revert the ported CL:
https://codereview.chromium.org/771033003/
Original issue's description:
> MIPS: Use weak cells in map checks in polymorphic ICs.
>
> Port 45a36948e1
>
> Fix typo in the mips ports.
>
> BUG=
TBR=ulan@chromium.org ,danno@chromium.org,akos.palfi@imgtec.com,balazs.kilvady@imgtec.com,gergely.kis@imgtec.com,dusan.milosavljevic@imgtec.com,paul.lind@imgtec.com
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/768303002
Cr-Commit-Position: refs/heads/master@{#25596}
2014-12-02 08:15:34 +00:00
weiliang.lin
2ad1c224b8
[ia32] Introduce vex prefix version of float64 arithmetic binop
...
port 50c4d8826b
BUG=
Review URL: https://codereview.chromium.org/770183002
Cr-Commit-Position: refs/heads/master@{#25595}
2014-12-02 08:09:53 +00:00
bmeurer
34874b98b3
[turbofan] Workaround inconsistency of the type system.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/770193002
Cr-Commit-Position: refs/heads/master@{#25594}
2014-12-02 07:30:44 +00:00
bmeurer
d45ed61f43
Get rid of the unused __my_bool__ macro.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/770163002
Cr-Commit-Position: refs/heads/master@{#25593}
2014-12-02 07:25:51 +00:00
thakis
643c24eb95
Set V8_CC_GNU or V8_CC_MSVC for clang in gcc / cl mode.
...
Also, remove V8_CC_CLANG since it's not read anywhere (and ideally shouldn't
be).
Clang tries to be compatible with gcc in clang mode, and with msvc in clang-cl
mode. It wants to go down the same code paths that these compilers want to go
down in most cases.
For example, V8PRIxPTR was set incorrectly on Windows 64-bit before this change
since macros.h assumed that checking for V8_CC_MSVC is enough to find LLP64
systems, but V8_CC_MSVC wasn't set for clang. Most other existing checks for
V8_CC_MSVC should be taken for clang-cl too (and for the remaining ones,
clang-cl is happy with either code path).
Likewise, V8_IMMEDIATE_CRASH is currently set to a suboptimal value with clang
since __builtin_trap() is only used if V8_CC_GNU is set.
Including clang in the gcc and cl macros is also what chromium does.
BUG=chromium:82385
LOG=y
Review URL: https://codereview.chromium.org/757553004
Cr-Commit-Position: refs/heads/master@{#25592}
2014-12-02 05:23:21 +00:00
Benedikt Meurer
c516d4f094
[turbofan] Add checked load/store operators.
...
TEST=mjsunit,cctest,unittests
R=jarin@chromium.org
Review URL: https://codereview.chromium.org/763963002
Cr-Commit-Position: refs/heads/master@{#25591}
2014-12-02 04:49:11 +00:00
paul.lind
ce5246756f
MIPS: Use weak cells in map checks in polymorphic ICs.
...
Port 45a36948e1
Fix typo in the mips ports.
BUG=
Review URL: https://codereview.chromium.org/767623003
Cr-Commit-Position: refs/heads/master@{#25590}
2014-12-01 22:26:48 +00:00
dslomov
573401a422
harmony-classes: Fix some issues with syntactic restriction on super(...).
...
R=arv@chromium.org
BUG=v8:3330
LOG=N
Review URL: https://codereview.chromium.org/770843002
Cr-Commit-Position: refs/heads/master@{#25589}
2014-12-01 20:13:54 +00:00
hpayer
d452d8fe8d
Use just one marking deque.
...
BUG=
Review URL: https://codereview.chromium.org/770453003
Cr-Commit-Position: refs/heads/master@{#25588}
2014-12-01 17:03:08 +00:00
titzer
ba04cddf43
[turbofan] Add a PhaseScope for initialization.
...
R=dcarney@chromium.org
BUG=
Review URL: https://codereview.chromium.org/773443002
Cr-Commit-Position: refs/heads/master@{#25587}
2014-12-01 16:15:49 +00:00
svenpanne
88b82ff5ac
Improved Makefile.android's readability a bit.
...
Review URL: https://codereview.chromium.org/770783003
Cr-Commit-Position: refs/heads/master@{#25586}
2014-12-01 14:30:37 +00:00
ishell
c81e9f5970
Do not call Heap::IterateAndMarkPointersToFromSpace() for unboxed double fields.
...
BUG=chromium:437143
LOG=N
Review URL: https://codereview.chromium.org/768113002
Cr-Commit-Position: refs/heads/master@{#25585}
2014-12-01 14:19:29 +00:00
ulan
1fb3932221
Android ARM: enable PIE.
...
BUG=
Review URL: https://codereview.chromium.org/757103003
Cr-Commit-Position: refs/heads/master@{#25584}
2014-12-01 14:06:28 +00:00
titzer
31c6427717
[turbofan] NodeMarker in ControlReducer.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/767743003
Cr-Commit-Position: refs/heads/master@{#25583}
2014-12-01 11:50:52 +00:00
Weiliang Lin
50c4d8826b
[x64] introduce vex prefix version of float64 arithmetic binop
...
BUG=
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/764863002
Patch from Weiliang Lin <weiliang.lin@intel.com>.
Cr-Commit-Position: refs/heads/master@{#25582}
2014-12-01 10:45:18 +00:00
ulan
45a36948e1
Use weak cells in map checks in polymorphic ICs.
...
BUG=v8:3663
LOG=N
Review URL: https://codereview.chromium.org/753993003
Cr-Commit-Position: refs/heads/master@{#25581}
2014-12-01 10:41:14 +00:00
danno
91ec654bf9
[turbofan]: Use "leal" more prevasively on x64
...
Only use "addl" and "subl" in cases that have been measured to be
faster (currently only immediate operations).
Review URL: https://codereview.chromium.org/735293004
Cr-Commit-Position: refs/heads/master@{#25580}
2014-12-01 10:04:42 +00:00
halton.huo
82d0f800a2
Fix clang++ warnings on -Wtautological-constant-out-of-range-compare
...
BUG=v8:3730
LOG=N
R=dslomov@chromium.org
Review URL: https://codereview.chromium.org/750093003
Cr-Commit-Position: refs/heads/master@{#25579}
2014-12-01 09:17:32 +00:00
jochen
b8c667729c
Make sure we have non-zero idle time even after rounding to size_t
...
BUG=v8:3728
R=machenbach@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/764263002
Cr-Commit-Position: refs/heads/master@{#25578}
2014-12-01 09:15:18 +00:00
dslomov
9e02e98771
Introduce a kill-switch for shipping features.
...
R=rossberg@chromium.org
TBR=hpayer@chromium.org
Committed: d628562086
Review URL: https://codereview.chromium.org/763273002
Cr-Commit-Position: refs/heads/master@{#25577}
2014-11-28 20:07:18 +00:00
machenbach
e471bef904
Abstract platform in perf runner.
...
This is basically a refactoring that extracts desktop
specific code into a separate class.
Also adds flags for android runs (not used yet).
BUG=chromium:374740
LOG=n
TEST=python -m unittest run_perf_test
NOTRY=true
Review URL: https://codereview.chromium.org/762163002
Cr-Commit-Position: refs/heads/master@{#25576}
2014-11-28 18:39:45 +00:00
mstarzinger
a2564da19c
Remove deprecated NodeData class.
...
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/768853002
Cr-Commit-Position: refs/heads/master@{#25575}
2014-11-28 18:38:44 +00:00
dslomov
557bf53b79
Revert of Introduce a kill-switch for shipping features. (patchset #2 id:20001 of https://codereview.chromium.org/763273002/ )
...
Reason for revert:
Reverted for breaking nosnap: http://chromegw.corp.google.com/i/client.v8/builders/V8%20Linux%20-%20nosnap/builds/1003/steps/Check/logs/Threading3
Original issue's description:
> Introduce a kill-switch for shipping features.
>
> R=rossberg@chromium.org
>
> Committed: d628562086
TBR=rossberg@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/763353002
Cr-Commit-Position: refs/heads/master@{#25574}
2014-11-28 18:27:55 +00:00
dslomov
a2b5c7abae
Stage @@toStringTag (--harmony-tostring)
...
R=rossberg@chromium.org ,caitpotter88@gmail.com
LOG=Y
Review URL: https://codereview.chromium.org/768833002
Cr-Commit-Position: refs/heads/master@{#25573}
2014-11-28 15:41:47 +00:00