jkummerow
22f2b13fa8
Fix unobservable constructor replacement on prototype maps
...
BUG=chromium:478522
LOG=y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/1097113003
Cr-Commit-Position: refs/heads/master@{#28126}
2015-04-29 09:31:51 +00:00
mstarzinger
e7292b3c1a
[turbofan] Correctly handle illegal redeclarations.
...
R=titzer@chromium.org
TEST=mjsunit/const-redecl
Review URL: https://codereview.chromium.org/1115613002
Cr-Commit-Position: refs/heads/master@{#28125}
2015-04-29 09:22:45 +00:00
jkummerow
fefe91ce6a
Fix stale pointer issue in heap snapshot generator
...
Review URL: https://codereview.chromium.org/1109153002
Cr-Commit-Position: refs/heads/master@{#28124}
2015-04-29 09:03:15 +00:00
ulan
98390a07a5
Add comment to justify AllowDeferredHandleDereference in WeakCell factory.
...
BUG=
Review URL: https://codereview.chromium.org/1110373002
Cr-Commit-Position: refs/heads/master@{#28123}
2015-04-29 08:36:11 +00:00
machenbach
38a8d369b7
[test] Skip tests on msan.
...
NOTRY=true
BUG=chromium:425187
LOG=n
TBR=Sven Panne, titzer
Review URL: https://codereview.chromium.org/1110903004
Cr-Commit-Position: refs/heads/master@{#28122}
2015-04-29 07:19:59 +00:00
machenbach
4c1f9d53cf
Revert of deprecate non-phantom weak callbacks (patchset #1 id:1 of https://codereview.chromium.org/1103173002/ )
...
Reason for revert:
[Sheriff] This is still used and now blocks the roll here:
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/47889
Original issue's description:
> Reland: deprecate non-phantom weak callbacks
>
> BUG=
>
> Committed: https://crrev.com/3be656fb55ad49834ec8ec0a57ba858bb1b21f37
> Cr-Commit-Position: refs/heads/master@{#28094}
TBR=jochen@chromium.org ,dcarney@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/1117623002
Cr-Commit-Position: refs/heads/master@{#28121}
2015-04-29 05:57:15 +00:00
svenpanne
bc7f79a670
Calculate blocks needing a frame and frame (de)construction sites.
...
Review URL: https://codereview.chromium.org/1053123006
Cr-Commit-Position: refs/heads/master@{#28120}
2015-04-29 05:54:52 +00:00
v8-autoroll
7b9debd09b
Update V8 DEPS.
...
Rolling v8/tools/clang to 44f7f0bbbce9e581d9328e80d5b0ae88efbc3db4
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1108203005
Cr-Commit-Position: refs/heads/master@{#28119}
2015-04-29 03:28:48 +00:00
mbrandy
f76fd06d11
Fix JSArrayBuffer for big endian.
...
BUG=
R=jochen@chromium.org , dcarney@chromium.org , dstence@us.ibm.com , michael_dawson@ca.ibm.com
Review URL: https://codereview.chromium.org/1108373002
Cr-Commit-Position: refs/heads/master@{#28118}
2015-04-28 20:00:52 +00:00
balazs.kilvady
29bee1604f
MIPS: Fix 'Add HArrayBufferNotNeutered instruction'.
...
BUG=
Review URL: https://codereview.chromium.org/1111003002
Cr-Commit-Position: refs/heads/master@{#28117}
2015-04-28 17:20:57 +00:00
mbrandy
b108f4615c
PPC: Fix HArrayBufferNotNeutered instruction
...
Fix faulty condition register usage after andi.
BUG=
R=dstence@us.ibm.com , michael_dawson@ca.ibm.com , jochen@chromium.org , bmeurer@chromium.org
Review URL: https://codereview.chromium.org/1108363002
Cr-Commit-Position: refs/heads/master@{#28116}
2015-04-28 17:19:46 +00:00
arv
525f7c85b9
Import webkit class tests
...
BUG=v8:3330
LOG=N
Review URL: https://codereview.chromium.org/1109783003
Cr-Commit-Position: refs/heads/master@{#28115}
2015-04-28 16:42:46 +00:00
arv
baddc25eb2
[es6] Fix return checking in derived constructors
...
In a derived class constructor in case undefined is returned, we
should return the receiver. If the return is any other value type
we should throw a TypeError.
BUG=v8:4061
LOG=N
R=dslomov@chromium.org , adamk@chromium.org
Review URL: https://codereview.chromium.org/1107203002
Cr-Commit-Position: refs/heads/master@{#28114}
2015-04-28 16:09:30 +00:00
paul.lind
a601987024
MIPS: Fix FP load/store with large offsets from base register.
...
BUG=481519
LOG=y
Review URL: https://codereview.chromium.org/1111633002
Cr-Commit-Position: refs/heads/master@{#28113}
2015-04-28 15:42:33 +00:00
dslomov
80bf5686fa
Parsing binding patterns.
...
Just parsing, no desugaring yet.
R=arv@chromium.org ,rossberg@chromium.org
BUG=v8:811
LOG=N
Review URL: https://codereview.chromium.org/1107053002
Cr-Commit-Position: refs/heads/master@{#28112}
2015-04-28 15:15:09 +00:00
domenic
f39707cd96
Use "define" instead of "const" for natives macros
...
The use of "const" prevented the actual JavaScript const keyword from
functioning as intended.
R=jochen@chromium.org ,yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1110963003
Cr-Commit-Position: refs/heads/master@{#28111}
2015-04-28 14:58:25 +00:00
domenic
8a89a4a5ce
Allow extra library files to be snapshotted
...
BUG=
R=jochen@chromium.org , yangguo@chromium.org
Review URL: https://codereview.chromium.org/1113593002
Cr-Commit-Position: refs/heads/master@{#28110}
2015-04-28 14:56:07 +00:00
jochen
a2e6f970c7
Add HArrayBufferNotNeutered instruction
...
This instruction can be hoisted out of loops even though it contains a branch.
BUG=v8:3996
R=bmeurer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1108313003
Cr-Commit-Position: refs/heads/master@{#28109}
2015-04-28 13:43:03 +00:00
Jochen Eisinger
31dae36f28
Add missing stdlib include for sample
...
BUG=none
R=machenbach@chromium.org , machenbach@chromium.or
LOG=n
Review URL: https://codereview.chromium.org/1113563002
Cr-Commit-Position: refs/heads/master@{#28108}
2015-04-28 12:29:16 +00:00
hpayer
309c082a73
Shrink new space and uncommit from space in idle notification during long idle times.
...
BUG=chromium:481811
LOG=n
Review URL: https://codereview.chromium.org/1108133003
Cr-Commit-Position: refs/heads/master@{#28107}
2015-04-28 12:17:55 +00:00
scottmg
bb940247d9
Update _MSC_FULL_VER for 'final' RC bug workaround
...
Repeat of https://codereview.chromium.org/1084763002/ .
The 'final' RC has changed the version number, but the bug will not be
fixed until RTM.
LOG=N
R=jochen@chromium.org
BUG=chromium:440500
Review URL: https://codereview.chromium.org/1108193002
Cr-Commit-Position: refs/heads/master@{#28106}
2015-04-28 11:33:12 +00:00
jochen
b584bab2f5
Remove support for malloc'd typed arrays
...
All typed arrays should be allocated through the array buffer allocator
BUG=none
R=dcarney@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1110603005
Cr-Commit-Position: refs/heads/master@{#28105}
2015-04-28 11:24:55 +00:00
conradw
6988aec61f
[strong] Disallow implicit conversions for bitwise ops, shifts
...
See https://codereview.chromium.org/1092353002/
Due to parser rewrites, also implements restrictions for unary ~.
Still to come, implementing restrictions for binary + and comparison.
BUG=v8:3956
LOG=N
Review URL: https://codereview.chromium.org/1102923002
Cr-Commit-Position: refs/heads/master@{#28104}
2015-04-28 11:19:49 +00:00
machenbach
b3000dda14
[test] Skip unsuitable tests for msan.
...
NOTRY=true
BUG=chromium:425187
LOG=n
TBR=Sven Panne, titzer
Review URL: https://codereview.chromium.org/1107323003
Cr-Commit-Position: refs/heads/master@{#28103}
2015-04-28 11:18:12 +00:00
yangguo
46b3582f48
Reland: Preprocess structured stack trace on GC to get rid of code reference.
...
BUG=v8:2340
LOG=N
Review URL: https://codereview.chromium.org/1109093002
Cr-Commit-Position: refs/heads/master@{#28102}
2015-04-28 11:12:56 +00:00
jkummerow
6270b797bc
Only try to unregister prototype users that are prototypes themselves
...
Because only such maps would have been registered in the first place.
This is a performance fix/followup to f6187fb3b5
/ r28076.
BUG=chromium:481785
LOG=n
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/1105063003
Cr-Commit-Position: refs/heads/master@{#28101}
2015-04-28 11:02:18 +00:00
ssid
0a1352a716
Extending v8::GetHeapStatistics to return total available size.
...
For dumping memory statistics about v8 heap, we need the total
available size of the heap. This CL adds extra field in HeapStatistics
to return the available size.
BUG=476013
LOG=Y
Review URL: https://codereview.chromium.org/1104123002
Cr-Commit-Position: refs/heads/master@{#28100}
2015-04-28 10:57:15 +00:00
dcarney
12350f16b8
[turbofan] Cleanup LiveRange a bit.
...
Review URL: https://codereview.chromium.org/1111563004
Cr-Commit-Position: refs/heads/master@{#28099}
2015-04-28 09:59:27 +00:00
jochen
1630253f93
Turn JSArrayBuffer::flags into a bit field
...
That way, we can access it more easily without all the smi magic
BUG=none
R=dcarney@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1112503002
Cr-Commit-Position: refs/heads/master@{#28098}
2015-04-28 09:40:07 +00:00
machenbach
4b95b9bb32
[test] Restrict msan to default variant.
...
NOTRY=true
BUG=chromium:425187
LOG=n
TBR=Sven Panne, titzer
Review URL: https://codereview.chromium.org/1110923002
Cr-Commit-Position: refs/heads/master@{#28097}
2015-04-28 09:05:11 +00:00
ofrobots
1f03256de3
fix assertion in Logger::CurrentTimeEvent with --prof
...
assertion did match the conditions under which this method gets called
(Runtime_DateCurrentTime). The bug got introduced as part of this change:
https://codereview.chromium.org/802333002
The assertion crash can be reproduced using:
% out/Debug/d8 --prof -e 'new Date();'
R=jkummerow@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1104303002
Cr-Commit-Position: refs/heads/master@{#28096}
2015-04-28 08:53:49 +00:00
yangguo
4d12e94801
Port CallSite methods to C++.
...
The goal is to port all of error stack trace formatting to C++.
We will do this bottom up, by first porting helper functions.
Eventually, CallSite methods will only be used when a custom
error stack trace formatter is defined via Error.prepareStackTrace.
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/1060583008
Cr-Commit-Position: refs/heads/master@{#28095}
2015-04-28 08:52:47 +00:00
dcarney
3be656fb55
Reland: deprecate non-phantom weak callbacks
...
BUG=
Review URL: https://codereview.chromium.org/1103173002
Cr-Commit-Position: refs/heads/master@{#28094}
2015-04-28 08:31:24 +00:00
bmeurer
4486c47d9b
[clang] Use -Wshorten-64-to-32 to enable warnings about 64bit to 32bit truncations.
...
Currently only the Win64 bots report this warnings, which adds quite
some overhead to the development process. With this flag we also get
compiler warnings about implicit 64bit to 32bit truncations when
building with clang on Linux/x64 and Mac/x64.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/1111733002
Cr-Commit-Position: refs/heads/master@{#28093}
2015-04-28 06:53:41 +00:00
bmeurer
ef15f83bc3
[turbofan] Better fix for Win64 after r28066.
...
TBR=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/1107253003
Cr-Commit-Position: refs/heads/master@{#28092}
2015-04-28 05:09:01 +00:00
v8-autoroll
2613b7fb63
Update V8 DEPS.
...
Rolling v8/tools/clang to 5df4027be48d44a72ef035978746aac46184720e
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/1105343002
Cr-Commit-Position: refs/heads/master@{#28091}
2015-04-28 03:27:32 +00:00
chunyang.dai
e31f5ec7eb
Disable two test cases for turbofan unsupported platform.
...
These two test cases "InlineCreateArrayLiteral" and "InlineCreateObjectLiteral" are
added in d1597b7d22
. They invokes Linkage::GetStubCallDescriptor
which is unimplemented for turbofan unsupported platform.
BUG=
Review URL: https://codereview.chromium.org/1095793007
Cr-Commit-Position: refs/heads/master@{#28090}
2015-04-27 17:02:27 +00:00
mbrandy
63d14580d8
PPC: Don't MISS if you read the hole from certain FastHoley arrays.
...
Port caeb9004f0
Original commit message:
If the array's map is the initial FastHoley array map, and the array prototype
chain is undisturbed and empty of elements, then keyed loads can convert the
load of a hole to undefined.
BUG=
R=dstence@us.ibm.com , michael_dawson@ca.ibm.com
Review URL: https://codereview.chromium.org/1110623002
Cr-Commit-Position: refs/heads/master@{#28089}
2015-04-27 17:01:17 +00:00
machenbach
3f27bb2188
Revert of Make it possible to hoist the neutering check for TA property accesses (patchset #1 id:1 of https://codereview.chromium.org/1107993002/ )
...
Reason for revert:
[Sheriff] Breaks benchmarks:
http://build.chromium.org/p/client.v8/builders/V8%20Linux/builds/3403
Original issue's description:
> Make it possible to hoist the neutering check for TA property accesses
>
> Also correctly set up the dependency between propoerty and elements
> accesses and the checks
>
> BUG=v8:3996
> R=hpayer@chromium.org
> LOG=n
>
> Committed: https://crrev.com/6a62e321381e1a212983804c4197068e842b240f
> Cr-Commit-Position: refs/heads/master@{#28087}
TBR=hpayer@chromium.org ,jochen@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3996
Review URL: https://codereview.chromium.org/1108823003
Cr-Commit-Position: refs/heads/master@{#28088}
2015-04-27 16:56:08 +00:00
jochen
6a62e32138
Make it possible to hoist the neutering check for TA property accesses
...
Also correctly set up the dependency between propoerty and elements
accesses and the checks
BUG=v8:3996
R=hpayer@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/1107993002
Cr-Commit-Position: refs/heads/master@{#28087}
2015-04-27 16:17:51 +00:00
dslomov
919c54910f
Revert of Preprocess structured stack trace on GC to get rid of code reference. (patchset #5 id:80001 of https://codereview.chromium.org/1103843002/ )
...
Reason for revert:
Broke GCStress
Original issue's description:
> Preprocess structured stack trace on GC to get rid of code reference.
>
> R=verwaest@chromium.org
> BUG=v8:2340
> LOG=N
>
> Committed: https://crrev.com/462ffa1dfa0ab3a851ea0294470d1ed7ed12dd56
> Cr-Commit-Position: refs/heads/master@{#28085}
TBR=verwaest@chromium.org ,ulan@chromium.org,hpayer@chromium.org,yurys@chromium.org,yangguo@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:2340
Review URL: https://codereview.chromium.org/1102383002
Cr-Commit-Position: refs/heads/master@{#28086}
2015-04-27 15:53:23 +00:00
yangguo
462ffa1dfa
Preprocess structured stack trace on GC to get rid of code reference.
...
R=verwaest@chromium.org
BUG=v8:2340
LOG=N
Review URL: https://codereview.chromium.org/1103843002
Cr-Commit-Position: refs/heads/master@{#28085}
2015-04-27 14:50:39 +00:00
dslomov
671ac25cf9
Use ExpressionClassifier for bindings.
...
Just a refactoring, real pattern parsing comes in a later CL.
R=rossberg@chromium.org ,marja@chromium.org
BUG=v8:811
LOG=N
Review URL: https://codereview.chromium.org/1066933005
Cr-Commit-Position: refs/heads/master@{#28084}
2015-04-27 14:35:18 +00:00
titzer
44350b3d49
Remove kOsrCompileFailed bailout.
...
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1105133002
Cr-Commit-Position: refs/heads/master@{#28083}
2015-04-27 14:24:28 +00:00
erikcorry
da66e720a3
Do more to avoid last-resort stop-the-world GC
...
BUG=chromium:481433
R=hpayer@chromium.org
LOG=y
Review URL: https://codereview.chromium.org/1104113002
Cr-Commit-Position: refs/heads/master@{#28082}
2015-04-27 14:10:05 +00:00
dcarney
1d2be2af40
Reland: track global accesses to constant types
...
R=verwaest@chromium.org
BUG=468620
LOG=N
Review URL: https://codereview.chromium.org/1102543002
Cr-Commit-Position: refs/heads/master@{#28081}
2015-04-27 14:00:51 +00:00
ssid
0be81a43ea
Changing Size to SizeOfObjects in GetHeapSpaceStatistics api.
...
This CL changes GetHeapSpaceStatistics api to return SizeOfObjects()
instead of Size(). SizeOfObjects is the required field and is
consistent with GetHeapStatistics api.
BUG=476013
LOG=N
Review URL: https://codereview.chromium.org/1095393005
Cr-Commit-Position: refs/heads/master@{#28080}
2015-04-27 14:00:04 +00:00
machenbach
c5797f859a
Revert of deprecate non-phantom weak callbacks (patchset #1 id:1 of https://codereview.chromium.org/1103173002/ )
...
Reason for revert:
[Sheriff] Fails compilation on chromium android:
http://build.chromium.org/p/client.v8/builders/Android%20Builder/builds/4131
Is the chromium version our builder used maybe too old (it uses lkcr)? In that case please reland as soon as it's up-to-date.
Original issue's description:
> deprecate non-phantom weak callbacks
>
> BUG=
>
> Committed: https://crrev.com/39c31da2142ab0fca9dae279b9e59cd4951a1982
> Cr-Commit-Position: refs/heads/master@{#28077}
TBR=jochen@chromium.org ,dcarney@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=
Review URL: https://codereview.chromium.org/1104163002
Cr-Commit-Position: refs/heads/master@{#28079}
2015-04-27 13:30:19 +00:00
machenbach
db1674c532
Reland [test] Make msan work for v8 stand-alone. (patchset #1 id:1 of https://codereview.chromium.org/1104073002/ )
...
Reason for revert:
Reland after switching bot to ninja.
Original issue's description:
> Revert of [test] Make msan work for v8 stand-alone. (patchset #6 id:100001 of https://codereview.chromium.org/802583003/ )
>
> Reason for revert:
> Compile failures: http://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20arm64%20-%20sim%20-%20MSAN/builds/2047
>
> Original issue's description:
> > [test] Make msan work for v8 stand-alone.
> >
> > The msan configuration can be used in combination with
> > v8_use_snapshot=false.
> >
> > BUG=chromium:425187
> > LOG=n
> >
> > Committed: https://crrev.com/a65ef0d53fc28b0908f228938c6d84effa83c596
> > Cr-Commit-Position: refs/heads/master@{#28064}
>
> TBR=jochen@chromium.org ,earthdok@chromium.org,svenpanne@chromium.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=chromium:425187
>
> Committed: https://crrev.com/f69a48696ec3ec0ea1169a41b4c84fb36b059968
> Cr-Commit-Position: refs/heads/master@{#28068}
TBR=jochen@chromium.org ,earthdok@chromium.org,svenpanne@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:425187
Review URL: https://codereview.chromium.org/1102323002
Cr-Commit-Position: refs/heads/master@{#28078}
2015-04-27 13:19:45 +00:00
dcarney
39c31da214
deprecate non-phantom weak callbacks
...
BUG=
Review URL: https://codereview.chromium.org/1103173002
Cr-Commit-Position: refs/heads/master@{#28077}
2015-04-27 13:06:18 +00:00