Commit Graph

17740 Commits

Author SHA1 Message Date
yangguo@chromium.org
6a2e0cd2a1 Check for negative zero in floor when compiling with MSVC.
R=danno@chromium.org
BUG=v8:3477
LOG=N

Review URL: https://codereview.chromium.org/429603003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 14:20:05 +00:00
verwaest@chromium.org
c6cf7e5465 ahum. Small fix.
BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/429583004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22673 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 14:17:07 +00:00
verwaest@chromium.org
112cbd24e2 Remove unnecessary ";"
BUG=
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/423093003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22672 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 13:39:09 +00:00
verwaest@chromium.org
f08d2690c6 Fix Object.freeze with field type tracking.
Keep the descriptor properly intact while update the field type.

BUG=v8:3458
LOG=y
R=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/424093002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22671 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 13:30:29 +00:00
mstarzinger@chromium.org
947740a6d8 Revert "Make --always-opt also optimize toplevel code."
TBR=ishell@chromium.org

Review URL: https://codereview.chromium.org/429583002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22670 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 13:08:51 +00:00
mstarzinger@chromium.org
b8b8cbf26d Paint the tree green after r22666.
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/428903002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 12:57:25 +00:00
mvstanton@chromium.org
6980c4277c CallIC customization stubs must accept that a vector slot is cleared.
The CallIC Array custom IC stub read from the type vector, expecting
to get an AllocationSite. But there are paths in the system where a
type vector can be re-created with default values, even though we
currently grant an exception to clearing of vector slots with
AllocationSites in them at gc time.

BUG=392114
LOG=N
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/418023002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22668 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 11:53:30 +00:00
hpayer@chromium.org
2c8f9f1667 Reduce max executable size limit.
BUG=395679
LOG=n
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/413313003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22667 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 11:42:59 +00:00
mstarzinger@chromium.org
34f5edd500 Make --always-opt also optimize toplevel code.
R=jacob.bramley@arm.com, titzer@chromium.org, rossberg@chromium.org

Review URL: https://codereview.chromium.org/410153002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 11:41:42 +00:00
yangguo@chromium.org
a8a02a51f1 Inline Math.fround in optimized code.
R=svenpanne@chromium.org
BUG=v8:3469
LOG=N

Review URL: https://codereview.chromium.org/425943002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22665 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 11:34:08 +00:00
machenbach@chromium.org
31c3ba6d1f [Auto-roll] Bump up version to 3.28.46.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/428883002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22664 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 09:34:11 +00:00
verwaest@chromium.org
2902685cae Add generated test
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/424043006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22660 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 08:36:45 +00:00
verwaest@chromium.org
47f9d3ed52 Restore DefineApiAccessorProperty
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/428463005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22659 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 08:09:14 +00:00
weiliang.lin@intel.com
ea31635e66 X87: Restructure the IC / Handler compilers
port r22622.

original commit message:
  Restructure the IC / Handler compilers.

BUG=
R=weiliang.lin@intel.com

Review URL: https://codereview.chromium.org/427463002

Patch from Chunyang Dai <chunyang.dai@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22658 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 07:54:38 +00:00
machenbach@chromium.org
31dd24fe36 Whitespace change to trigger bots.
TBR=machenbach@chromium.org
BUG=

Review URL: https://codereview.chromium.org/426863004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22657 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 07:07:30 +00:00
machenbach@chromium.org
da0a2f8c7b Whitespace change to trigger bots.
TBR=machenbach@chromium.org
BUG=

Review URL: https://codereview.chromium.org/413403012

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22656 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-29 06:30:08 +00:00
hpayer@chromium.org
41c6b0ba3f Rename failure tag to page owner tag and add proper description.
BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/420293003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22655 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 18:54:06 +00:00
ishell@chromium.org
1d51e63706 More accurate usages of Heap::AdjustLiveBytes().
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/424663004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22654 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 18:15:35 +00:00
ishell@chromium.org
81db67928b I said, skip long-running mjsunit/array-functions-prototype-misc test.
TBR=danno@chromium.org

Review URL: https://codereview.chromium.org/426683002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22653 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 16:28:02 +00:00
ishell@chromium.org
f2e5395a32 Regression test for chromium:388880 added.
BUG=chromium:388880
LOG=N
R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/424693006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22652 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 15:33:24 +00:00
ernstm@chromium.org
4bfab33c24 Fix printf formatting.
TBR=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/420273002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22650 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 15:01:57 +00:00
ernstm@chromium.org
1a0e61d414 Track size of incremental marking steps in GCTracer.
- Track size of bytes marked incrementally
- Add method to compute marking speed in bytes/millisecond
- Distinguish between cumulative and differential marking stats.
- Fix methods that compute incremental marking stats.

R=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/420213002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22649 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 14:48:53 +00:00
ishell@chromium.org
ad69b7ab5c Skip long-running mjsunit/array-functions-prototype-misc.js test
TBR=danno@chromium.org

Review URL: https://codereview.chromium.org/428593002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22648 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 14:38:35 +00:00
hpayer@chromium.org
a37f809aed Removed IdleGlobalGC and just perform IdleNotification when incremental marking is on.
BUG=397026
LOG=n
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/422013002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22647 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 14:18:40 +00:00
machenbach@chromium.org
e251f91f0c Teach releases script to read bleeding_edge tags.
The command 'git svn log' does unfortunately not provide the tag-revision relation. We therefore use 'svn log' to retrieve it from the remote repository.

BUG=
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/421553002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22646 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 13:49:07 +00:00
danno@chromium.org
afcfa7d2b7 Keep new arrays allocated with 'new Array(N)' in fast mode (revisited)
Also explicit length setting with a.length = N should remain in fast mode.

R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/416403002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22645 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 13:12:26 +00:00
svenpanne@chromium.org
77529ec746 Unbreak NaCL build
TBR=verwaest@chromium.org

Review URL: https://codereview.chromium.org/422863004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22644 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 12:47:24 +00:00
ernstm@chromium.org
5458a81a38 Trace every incremental marking step.
- This information is required in the chrome trace for a GC telemetry
  benchmark.

R=hpayer@chromium.org, jochen@chromium.org
BUG=

Review URL: https://codereview.chromium.org/420613006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22643 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 12:32:55 +00:00
hpayer@chromium.org
74c35110c8 Fix bogus assert in HeapIterator.
BUG=397485
LOG=n
R=jarin@chromium.org

Review URL: https://codereview.chromium.org/416403011

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22642 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 12:28:28 +00:00
machenbach@chromium.org
6fda23d34d [Auto-roll] Bump up version to 3.28.44.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/422003002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22639 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 12:04:13 +00:00
hpayer@chromium.org
eb7c55651b Use return value of GetPropertyAttributes to make compiler happy.
BUG=
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/420443006

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 12:00:05 +00:00
yangguo@chromium.org
82078339b3 Properly propagate serialization flag when compiling hydrogen code stubs.
R=mvstanton@chromium.org

Review URL: https://codereview.chromium.org/416123002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22637 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 11:47:10 +00:00
yangguo@chromium.org
ac07895213 Revert "Fix a potential overflow in SortedListBSearch".
This reverts r21960.

R=jochen@chromium.org

Review URL: https://codereview.chromium.org/422853005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22636 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 11:42:52 +00:00
verwaest@chromium.org
579dbe40be Move extra_ic_state to the PropertyICCompiler
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/426593002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22635 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 10:55:32 +00:00
rmcilroy@chromium.org
cc532e449b Tests that the GC doesn't mistake non-pointer constant pool entries as pointers.
Adds a test for ConstantPoolArray to ensure that the GC
doesn't mistake non-pointer entries as pointers and try
to modify them during scavenge operations.

Also adds asserts to ConstantPoolArray::set(int, *Object) to
ensure we don't add new-space pointers in constant pool
array.

R=hpayer@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=22608

Review URL: https://codereview.chromium.org/396803009

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22634 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 10:04:36 +00:00
jochen@chromium.org
d9075bf07e Reland r22460 - "Bootstrapper::DetachGlobal also need to unset g..."
| DetachGlobal detaches original context of a global proxy object.
|
| Before this patch, the constructor JSFunction still carried a
| reference to the old context after |Bootstrapper::DetachGlobal|
| call.
| This patch removes the reference by setting the constructor
| null.
|
| Review URL: https://codereview.chromium.org/397953009

TEST=http/tests/security/isolatedWorld w/ --enable-leak-detection
LOG=N
BUG=364377
R=dcarney@chromium.org

Review URL: https://codereview.chromium.org/424703002

Patch from Kouhei Ueno <kouhei@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22633 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 09:15:10 +00:00
hpayer@chromium.org
e52908e428 Added histogram to track distribution of requested idle notifications.
BUG=397026
LOG=n
R=rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/420753002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-28 09:13:33 +00:00
machenbach@chromium.org
3db23c80c4 [Auto-roll] Bump up version to 3.28.42.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/420943002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22628 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-26 00:34:19 +00:00
akos.palfi@imgtec.com
d3da21b594 MIPS: Restructure the IC / Handler compilers
Port r22622 (319e3252)

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/414303003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 21:54:12 +00:00
machenbach@chromium.org
85cee45ef2 [Auto-roll] Bump up version to 3.28.41.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/423553002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 20:04:11 +00:00
verwaest@chromium.org
4a956ab1c2 Change Has* and Get*Attributes to return Maybe<*>, indicating possible exceptions.
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/418383002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22624 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 18:32:11 +00:00
verwaest@chromium.org
3c873c4305 Restructure the IC / Handler compilers
BUG=
R=ishell@chromium.org, mvstanton@chromium.org

Review URL: https://codereview.chromium.org/411973002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 17:50:53 +00:00
machenbach@chromium.org
553e069f3b [Auto-roll] Bump up version to 3.28.40.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/419243002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22621 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 15:34:10 +00:00
ishell@chromium.org
9444388f1b Kraken recover after r20312.
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/416393002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22620 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 13:00:06 +00:00
machenbach@chromium.org
21be95fcf7 [Auto-roll] Bump up version to 3.28.39.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/416333005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22618 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 12:34:13 +00:00
verwaest@chromium.org
3586c074d4 Smi arrays are only guaranteed to be initialized in non-holey case
BUG=
R=ishell@chromium.org

Review URL: https://codereview.chromium.org/413393004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22617 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 12:27:55 +00:00
verwaest@chromium.org
60df9dabad In GrowMode, force the value to the right representation to avoid deopts between storing the length and storing the value.
BUG=16459193
LOG=n
R=danno@chromium.org

Review URL: https://codereview.chromium.org/419683004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22616 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 11:48:25 +00:00
ernstm@chromium.org
d556278ff3 Always trace garbage collection events in GCTracer.
- always trace events in GCTracer, but only print stats when the command
  line flag is set.
- required to collect statistis that will be used to schedue garbage
  collection.
- we need to watch the perf bots after this lands, as it could regress
  performance.

R=hpayer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/410413007

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22613 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-25 07:32:28 +00:00
machenbach@chromium.org
47d6f32b3c [Auto-roll] Bump up version to 3.28.37.0
TBR=machenbach@chromium.org

Review URL: https://codereview.chromium.org/415093004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22610 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 19:05:05 +00:00
machenbach@chromium.org
110a5fdae4 Revert "Tests that the GC doesn't mistake non-pointer constant pool entries as pointers."
This reverts commit r22608 for breaking win and arm64, ConstantPoolExtended and ConstantPoolSmall.

BUG=
TBR=rmcilroy@chromium.org

Review URL: https://codereview.chromium.org/415773010

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22609 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-24 18:59:19 +00:00