Commit Graph

15187 Commits

Author SHA1 Message Date
yangguo@chromium.org
01560f9ccd Do not include native Javascript in ExecutionState frames.
When a debug event is triggered, the ExecutionState object should not
expose native JS code.

R=aandrey@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22849 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 08:16:02 +00:00
yangguo@chromium.org
90bbdacbf8 Merge three PromiseEvent's into one.
This also adds missing instrumentation and removes resolver tracking.

BUG=v8:3093
LOG=N
R=aandrey@chromium.org, yangguo@chromium.org

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

Patch from Alexandra Mikhaylova <amikhaylova@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22846 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 07:42:06 +00:00
alph@chromium.org
5be7020308 Make CPU profiler function names match ones from StackFrame iterator.
R=yangguo@chromium.org, yurys@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22845 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 07:31:17 +00:00
hpayer@chromium.org
2083600aee Remove all encountered weak maps from the list of weak collections when incremental marking is aborted.
BUG=399527
LOG=n
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22844 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 07:29:13 +00:00
hpayer@chromium.org
1ed9516f21 Revert "Also mark as prototype when passing in while creating a function."
Breaks GC stress ARM64.

TBR=verwaest@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22843 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 07:20:57 +00:00
alph@chromium.org
f6ddb89cd3 Move anonymous function name beautifying out of v8.
R=yangguo@chromium.org, yurys@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22842 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 07:08:39 +00:00
weiliang.lin@intel.com
6306a52e0b X87: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
port r22805

original commit message:

  Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22840 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 03:24:18 +00:00
weiliang.lin@intel.com
20fcfc98f6 X87: Avoid one repeated property lookup when computing load ICs.
r22802 touches X87 port but it is not changed completely.

port r22802.

original commit message:
  Avoid one repeated property lookup when computing load ICs.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22839 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-05 03:20:18 +00:00
machenbach@chromium.org
6f17d0356e [Auto-roll] Bump up version to 3.28.56.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22832 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 19:04:14 +00:00
adamk@chromium.org
d8c30bd8e7 Enable ES6 Symbols by default
In doing so also remove all references to the --harmony-symbols flag.
Due to the way context snapshotting works, it's not possible to simply enable
the flag by default.

BUG=v8:2158
LOG=Y
R=dslomov@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22831 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 18:17:54 +00:00
verwaest@chromium.org
10881d87de Also mark as prototype when passing in while creating a function.
BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22830 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 15:23:29 +00:00
rodolph.perfetta@arm.com
14f175d2a7 ARM64: fixed a couple of typos in TF
BUG=
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22829 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 15:17:19 +00:00
verwaest@chromium.org
fafa02ea52 Don't insert transitions between maps for prototypes.
BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22828 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 15:12:01 +00:00
verwaest@chromium.org
1404664e34 Ensure prototypes always stay fast by turning them fast again after an operation that turned them slow
BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22827 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 15:06:28 +00:00
verwaest@chromium.org
f947eff31d Keep function.prototype fast.
BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 15:02:07 +00:00
machenbach@chromium.org
b3ee436730 [Auto-roll] Bump up version to 3.28.55.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 14:34:14 +00:00
akos.palfi@imgtec.com
9664aedd6f MIPS: Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
Port r22805 (d6b2885f)

BUG=
R=dusan.milosavljevic@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22824 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 14:30:01 +00:00
Jacob.Bramley@arm.com
fc57b3c31b ARM64: Use ARRAY_SIZE where possible.
BUG=
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22816 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 12:46:43 +00:00
titzer@chromium.org
a638717dbe Add support for untagged LoadField, StoreField, LoadElement, and StoreElement simplfied operators. This is needed for untagged accesses of typed array backing stores and generally cleans up.
R=bmeurer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 12:39:15 +00:00
bmeurer@chromium.org
1b758c5e52 Fix typo.
TBR=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22813 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 11:40:26 +00:00
bmeurer@chromium.org
d07a2eb806 Rename ASSERT* to DCHECK*.
This way we don't clash with the ASSERT* macros
defined by GoogleTest, and we are one step closer
to being able to replace our homegrown base/ with
base/ from Chrome.

R=jochen@chromium.org, svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 11:34:54 +00:00
ishell@chromium.org
f86ef7c9ef Runtime assert added to %NormalizeElements.
BUG=399654
LOG=N
R=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22809 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 11:00:19 +00:00
verwaest@chromium.org
838c0ab285 Reuse the nonexistent handler frontend for transition handlers
BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22808 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 10:47:10 +00:00
verwaest@chromium.org
e508f1d404 Cleanup in stub-cache.cc; remove unused ArrayLength store ICs.
BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 09:09:21 +00:00
svenpanne@chromium.org
aa45ec52fd Use ARRAY_SIZE instead of DIY code.
This improves r22769.

R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22804 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 09:01:26 +00:00
mstarzinger@chromium.org
ab1cb70c8d Ensure LModByPowerOf2I only gets environment when it deopts.
R=svenpanne@chromium.org
TEST=mozilla (with new --always-opt)

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22803 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 08:47:15 +00:00
jkummerow@chromium.org
84525e2b2f Avoid one repeated property lookup when computing load ICs.
R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 08:34:56 +00:00
bmeurer@chromium.org
35f0976895 [turbofan] Support for combining branches with <Operation>WithOverflow.
Also unify the handling of binops in the InstructionSelector
backends.

TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-04 08:18:37 +00:00
mstarzinger@chromium.org
f5b0a37485 Extend TF test coverage to unsupported targets.
R=titzer@chromium.org
TEST=all

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22793 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 13:51:23 +00:00
mstarzinger@chromium.org
c1f60c6c1f Paint the tree green for TF some more.
TBR=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22792 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 13:08:05 +00:00
bmeurer@chromium.org
ba12ca16a2 [turbofan] Add support for Int32SubWithOverflow.
TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22791 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 12:18:20 +00:00
bmeurer@chromium.org
6161d4305d [arm] Unify instruction selector for Word32Neg.
Previously code generation for Word32Neg (implemented as Word32Xor
with -1) was somewhat adhoc and not complete. Now it's uniform
and supports the full range of operand2's.

TEST=cctest/test-instruction-selector-arm,cctest/test-run-machops
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22789 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 11:14:47 +00:00
titzer@chromium.org
ee7f97c8a0 TF: Rename ConvertXToY machine operators to ChangeXToY.
R=bmeurer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22788 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 10:54:58 +00:00
mstarzinger@chromium.org
204f1ce879 Extend TF test coverage to supported targets.
R=danno@google.com, titzer@chromium.org
TEST=all

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22787 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 10:47:01 +00:00
bmeurer@chromium.org
6ccb8704f2 [turbofan] Add Int32AddWithOverflow machine operator.
TEST=cctest/test-run-machops,cctest/test-instruction-selector-arm
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 09:32:58 +00:00
mstarzinger@chromium.org
4491e0e12e Implement lowering of JSStoreContext to machine operators.
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 09:23:07 +00:00
titzer@chromium.org
42fa27187e TF: Lowering representation changes to machine operators (WIP: need inline allocation for some). Move tests related to lowering representation changes into test-changes-lowering.cc.
R=bmeurer@chromium.org, bmeuer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22781 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 08:16:19 +00:00
weiliang.lin@intel.com
956cd1c76c X87: Unify InstanceofStub interface descriptors
port r22755.

original commit message:
  Unify InstanceofStub interface descriptors

BUG=
R=mstarzinger@chromium.org, weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22780 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 08:03:28 +00:00
weiliang.lin@intel.com
f806dc5262 X87: Land the Fan (disabled)
port r22709.

This patch only covers the code change of orginal X87 port.
For the changes under ./src/compiler/ and ./tools/gyp/v8.gyp file,
I will submit it in another seperate patch.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22778 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 07:42:06 +00:00
hpayer@chromium.org
c3d6417b2b Clean-up and repair cumulative marking and sweeping time stats.
BUG=
R=ernstm@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22777 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 07:41:46 +00:00
hpayer@chromium.org
6af92903bb Report precise number of incrementally marked bytes to gc tracer.
BUG=
R=ernstm@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22776 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 07:34:49 +00:00
weiliang.lin@intel.com
cd2a39e3ab X87: Remove keyed_store_calling convention and friends
port r22706.

original commit message:
  Remove keyed_store_calling convention and friends

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22775 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-08-01 01:58:56 +00:00
danno@chromium.org
d9900a2071 Fix Win64 build
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22772 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 16:22:27 +00:00
Jacob.Bramley@arm.com
8d55bbbce4 Correct a misuse of sizeof (introduced in r22709).
BUG=
R=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22769 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 16:02:27 +00:00
mstarzinger@chromium.org
16692be6e4 Ensure environment does not contain nil values.
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22766 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 15:19:41 +00:00
titzer@chromium.org
b7999fd2f5 TF: Clear upper bits of ConvertFloat64ToUint32 because Win64.
R=bmeurer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22765 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 15:06:54 +00:00
akos.palfi@imgtec.com
73d975e1ca MIPS64: Fix build after r22709.
BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 14:56:58 +00:00
titzer@chromium.org
b904441b10 TF: Disable Win64 as a TurboFan target until calling conventions are sorted out.
R=danno@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22760 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 14:17:58 +00:00
mstarzinger@chromium.org
e4894b366a Unify InstanceofStub interface descriptors.
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 12:07:30 +00:00
danno@chromium.org
218395ebaa Fix MIPS build: use stubbed-out TF implementation
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22753 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-07-31 11:59:49 +00:00