platform/upstream/v8.git
10 years agoRemove one more arch-specific target name.
jkummerow@chromium.org [Fri, 13 Jun 2014 11:02:34 +0000 (11:02 +0000)]
Remove one more arch-specific target name.

One more target had the architecture added to its name since r14209
originally landed and was missed when that change was reverted. Remove
the architecture from v8_libbase as well.

BUG=
R=jkummerow@chromium.org

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

Patch from Richard Coles <torne@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21836 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoEmulate MLS on pre-ARMv6T2. Cleaned up thumbee vs. thumb2 confusion.
svenpanne@chromium.org [Fri, 13 Jun 2014 10:50:11 +0000 (10:50 +0000)]
Emulate MLS on pre-ARMv6T2. Cleaned up thumbee vs. thumb2 confusion.

This should unbreak things on the Raspberry Pi.

LOG=y
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21835 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAllow all Names to be fast property names
jkummerow@chromium.org [Fri, 13 Jun 2014 09:59:39 +0000 (09:59 +0000)]
Allow all Names to be fast property names

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21834 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUse generic representation when normalizing boilerplate properties
jkummerow@chromium.org [Fri, 13 Jun 2014 09:46:29 +0000 (09:46 +0000)]
Use generic representation when normalizing boilerplate properties

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21833 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMark timed range in the profile plot.
yangguo@chromium.org [Fri, 13 Jun 2014 09:07:56 +0000 (09:07 +0000)]
Mark timed range in the profile plot.

R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21832 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDisable regress/regress-2653 until deopt_every_n_garbage_collections is fixed.
ulan@chromium.org [Fri, 13 Jun 2014 08:05:34 +0000 (08:05 +0000)]
Disable regress/regress-2653 until deopt_every_n_garbage_collections is fixed.

BUG=3389
LOG=N
R=marja@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21831 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoGVN fix, preventing loads hoisting above stores to the same field when HObjectAccess...
ishell@chromium.org [Fri, 13 Jun 2014 07:51:45 +0000 (07:51 +0000)]
GVN fix, preventing loads hoisting above stores to the same field when HObjectAccess's representation is not the same.

R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21830 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Fixed flooring division by a power of 2, once again...
weiliang.lin@intel.com [Fri, 13 Jun 2014 07:03:11 +0000 (07:03 +0000)]
X87: Fixed flooring division by a power of 2, once again...

port r21769

original message:
    Avoid right shifts by zero bits: On ARM it actually means shifting by
    32 bits (correctness issue) and on other platforms they are useless
    (performance issue). This is fix for the fix in r20544.

    BUG=v8:3259
    LOG=y
R=weiliang.lin@intel.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21829 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFixed undefined behavior in RNG.
svenpanne@chromium.org [Fri, 13 Jun 2014 06:36:09 +0000 (06:36 +0000)]
Fixed undefined behavior in RNG.

We're basically trading undefined behavior for implementation defined
behavior, which should be OK for UBSan. :-) The generated code should
be identical, at least I checked that for GCC 4.6.3 on x64.

BUG=377790
LOG=y
R=dcarney@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21828 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate Lithium AddI, SubI, MulI, BitI, ShiftI, MathMinMax to support x32 port.
haitao.feng@intel.com [Fri, 13 Jun 2014 02:38:46 +0000 (02:38 +0000)]
Update Lithium AddI, SubI, MulI, BitI, ShiftI, MathMinMax to support x32 port.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21827 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSpecially handle the key of the LoadKeyed and StoreKeyed instruction for x32 port.
haitao.feng@intel.com [Fri, 13 Jun 2014 02:19:57 +0000 (02:19 +0000)]
Specially handle the key of the LoadKeyed and StoreKeyed instruction for x32 port.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fix register usage after r21822.
palfia@homejinni.com [Fri, 13 Jun 2014 02:00:13 +0000 (02:00 +0000)]
MIPS: Fix register usage after r21822.

The at register is no longer in usage, so changed it to "scratch".

BUG=
R=plind44@gmail.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21825 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fix r21780 - “Fixed flooring division by a power of 2, once again...”
plind44@gmail.com [Thu, 12 Jun 2014 20:25:47 +0000 (20:25 +0000)]
MIPS: Fix r21780 - “Fixed flooring division by a power of 2, once again...”

Initialize scratch register for all possible code paths.

TEST=mjsunit/compiler/division-by-constant.js
BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21822 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake timestamp of fuzz harness archives finer grained.
mstarzinger@chromium.org [Thu, 12 Jun 2014 18:55:09 +0000 (18:55 +0000)]
Make timestamp of fuzz harness archives finer grained.

R=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21821 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFor-of calls [Symbol.iterator]() on RHS to get iterator
wingo@igalia.com [Thu, 12 Jun 2014 17:31:54 +0000 (17:31 +0000)]
For-of calls [Symbol.iterator]() on RHS to get iterator

R=rossberg@chromium.org
BUG=http://code.google.com/p/v8/issues/detail?id=2735
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21820 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDrop dependency on Isolate* from platform.h
jochen@chromium.org [Thu, 12 Jun 2014 17:06:24 +0000 (17:06 +0000)]
Drop dependency on Isolate* from platform.h

BUG=none
R=dcarney@chromium.org
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21819 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove forced type changes when they can't deopt
m.m.capewell@googlemail.com [Thu, 12 Jun 2014 16:47:51 +0000 (16:47 +0000)]
Remove forced type changes when they can't deopt

Hydrogen attempts to force representation changes on certain operations in order
to deoptimise on the change rather than the operation. However, these forced
changes are often unnecessary on 64-bit platforms, and cause poor code
generation, so this patch makes some of them conditional on whether it's
possible for deoptimisation to occur in the change.

On ARM64, this prevents sequences like:
                  ;;; <@46,#89> smi-tag
0x7ff282c7f050   144  lsl x4, x4, #32
                  ;;; <@48,#90> smi-untag
0x7ff282c7f054   148  asr x5, x4, #32
                  ;;; <@50,#31> mul-const-i-s
0x7ff282c7f058   152  lsl w6, w5, #3

BUG=
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21818 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoOptimize prototype chain when creating initial maps for functions used as constructors
jkummerow@chromium.org [Thu, 12 Jun 2014 16:41:56 +0000 (16:41 +0000)]
Optimize prototype chain when creating initial maps for functions used as constructors

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21817 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd non-miss slow path to LoadIC_Normal.
jkummerow@chromium.org [Thu, 12 Jun 2014 16:38:37 +0000 (16:38 +0000)]
Add non-miss slow path to LoadIC_Normal.

This avoids endless IC patching cycles between "normal" and "nonexistent" handlers when objects having and not having the property are seen alternatingly

R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21816 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fix unsigned comparison.
plind44@gmail.com [Thu, 12 Jun 2014 15:42:14 +0000 (15:42 +0000)]
MIPS: Fix unsigned comparison.

TEST=mjsunit/regress/regress-3380
BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRewrite GetPropertyAttribute to use the LookupIterator
verwaest@chromium.org [Thu, 12 Jun 2014 15:08:33 +0000 (15:08 +0000)]
Rewrite GetPropertyAttribute to use the LookupIterator

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Reland 21774: Generate KeyedLoadGeneric with Hydrogen
weiliang.lin@intel.com [Thu, 12 Jun 2014 15:05:01 +0000 (15:05 +0000)]
X87: Reland 21774: Generate KeyedLoadGeneric with Hydrogen

Port r21781 (4869c528)

BUG=
R=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21813 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Active use of Hydrogen-generated generic KeyedLoad IC"
danno@chromium.org [Thu, 12 Jun 2014 14:59:51 +0000 (14:59 +0000)]
Revert "Active use of Hydrogen-generated generic KeyedLoad IC"

Due to mirror-object test failure (although I'm pretty sure I was framed)

R=mstarzinger@chromium.org
TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoActive use of Hydrogen-generated generic KeyedLoad IC
danno@chromium.org [Thu, 12 Jun 2014 14:23:29 +0000 (14:23 +0000)]
Active use of Hydrogen-generated generic KeyedLoad IC

R=dcarney@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21811 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDon't use LOG() from platform.
jochen@chromium.org [Thu, 12 Jun 2014 14:11:27 +0000 (14:11 +0000)]
Don't use LOG() from platform.

All places that use OS::Allocate either CHECK() that the result is non-NULL,
or use a reasonable fallback if they can't mmap memory.

BUG=none
R=mstarzinger@chromium.org
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21810 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agobuild fix after r21807
dcarney@chromium.org [Thu, 12 Jun 2014 13:25:03 +0000 (13:25 +0000)]
build fix after r21807

TBR=mstarzinger@chromium.org

BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21809 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoGrow big old generation slower.
hpayer@chromium.org [Thu, 12 Jun 2014 12:39:51 +0000 (12:39 +0000)]
Grow big old generation slower.

BUG=
R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21808 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoremove this == null
dcarney@chromium.org [Thu, 12 Jun 2014 12:01:01 +0000 (12:01 +0000)]
remove this == null

R=danno@chromium.org

BUG=chromium:381910

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21807 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSign extend the dehoisted key at the definition point for x64 port only; for x32...
haitao.feng@intel.com [Thu, 12 Jun 2014 12:00:14 +0000 (12:00 +0000)]
Sign extend the dehoisted key at the definition point for x64 port only; for x32 port, we need to sign extend the dehoisted key at the use points.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21806 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd v8::Promise::Then.
rossberg@chromium.org [Thu, 12 Jun 2014 11:33:30 +0000 (11:33 +0000)]
Add v8::Promise::Then.

Blink needs v8::Promise::Then to implement ScriptPromise::then.
Blink-side CL: https://codereview.chromium.org/316453002

BUG=371288
LOG=Y
R=rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDo away with variable length memcpy to Set/Get registers in simulator
svenpanne@chromium.org [Thu, 12 Jun 2014 11:20:31 +0000 (11:20 +0000)]
Do away with variable length memcpy to Set/Get registers in simulator

About a 32% boost.

Before - 5:31

Richards: 84.5
DeltaBlue: 128
Crypto: 65.3
RayTrace: 203
EarleyBoyer: 149
RegExp: 23.4
Splay: 121
NavierStokes: 98.9
----
Score (version 7): 93.8

After - 4:10

Richards: 107
DeltaBlue: 175
Crypto: 93.9
RayTrace: 258
EarleyBoyer: 186
RegExp: 32.7
Splay: 165
NavierStokes: 124
----
Score (version 7): 124

R=jacob.bramley@arm.com, svenpanne@chromium.org

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

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

Patch from Fritz Koenig <frkoenig@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21804 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Revert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen""
danno@chromium.org [Thu, 12 Jun 2014 09:58:10 +0000 (09:58 +0000)]
Revert "Revert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen""

This CL tickled an unrelated arm64 bug which was is fixed separately.

The MIPS port (originally landed 21784) is also included.

TBR=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21803 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove duplicate code in SetPropertyPostInterceptor
verwaest@chromium.org [Thu, 12 Jun 2014 09:56:54 +0000 (09:56 +0000)]
Remove duplicate code in SetPropertyPostInterceptor

BUG=
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Rename kIs64BitArch with kRequiresCodeRange."
danno@chromium.org [Thu, 12 Jun 2014 09:55:25 +0000 (09:55 +0000)]
Revert "Rename kIs64BitArch with kRequiresCodeRange."

TBR=haitao.feng@intel.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21801 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRename kIs64BitArch with kRequiresCodeRange.
haitao.feng@intel.com [Thu, 12 Jun 2014 09:43:51 +0000 (09:43 +0000)]
Rename kIs64BitArch with kRequiresCodeRange.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21800 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemove unnecessary HCompareNumericAndBranch when generating HShr instruction.
haitao.feng@intel.com [Thu, 12 Jun 2014 09:40:59 +0000 (09:40 +0000)]
Remove unnecessary HCompareNumericAndBranch when generating HShr instruction.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix register mixup in arm64's Crankshafted typeof() == 'object'
danno@chromium.org [Thu, 12 Jun 2014 09:20:59 +0000 (09:20 +0000)]
Fix register mixup in arm64's Crankshafted typeof() == 'object'

R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21798 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd @@iterator for generator objects
wingo@igalia.com [Thu, 12 Jun 2014 08:53:07 +0000 (08:53 +0000)]
Add @@iterator for generator objects

R=arv@chromium.org, rossberg@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21797 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "MIPS: Reland 21774: Generate KeyedLoadGeneric with Hydrogen"
machenbach@chromium.org [Thu, 12 Jun 2014 08:34:09 +0000 (08:34 +0000)]
Revert "MIPS: Reland 21774: Generate KeyedLoadGeneric with Hydrogen"

This reverts commit r21784 as the original CL also got reverted.

BUG=
TBR=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21794 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agofilter cross context eval
dcarney@chromium.org [Thu, 12 Jun 2014 08:28:19 +0000 (08:28 +0000)]
filter cross context eval

R=verwaest@chromium.org

BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21793 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen"
danno@chromium.org [Thu, 12 Jun 2014 07:38:49 +0000 (07:38 +0000)]
Revert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen"

Due to lingering arm64 failures in Test262

TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21790 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix detection of VFP3D16 on Galaxy Tab 10.1.
bmeurer@chromium.org [Thu, 12 Jun 2014 06:58:55 +0000 (06:58 +0000)]
Fix detection of VFP3D16 on Galaxy Tab 10.1.

BUG=v8:3387
LOG=y
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21789 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDrop unused v8threads include from platform files
jochen@chromium.org [Thu, 12 Jun 2014 04:30:12 +0000 (04:30 +0000)]
Drop unused v8threads include from platform files

BUG=none
R=marja@chromium.org
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21788 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: add OWNERS file
weiliang.lin@intel.com [Wed, 11 Jun 2014 23:24:27 +0000 (23:24 +0000)]
X87: add OWNERS file

BUG=
R=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21785 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Reland 21774: Generate KeyedLoadGeneric with Hydrogen
palfia@homejinni.com [Wed, 11 Jun 2014 22:58:19 +0000 (22:58 +0000)]
MIPS: Reland 21774: Generate KeyedLoadGeneric with Hydrogen

Port r21781 (4869c528)

BUG=
R=plind44@gmail.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Wed, 11 Jun 2014 22:09:25 +0000 (22:09 +0000)]
Whitespace change to trigger bots.

BUG=
TBR=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Wed, 11 Jun 2014 21:45:54 +0000 (21:45 +0000)]
Whitespace change to trigger bots.

BUG=
TBR=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21782 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReland 21774: Generate KeyedLoadGeneric with Hydrogen
danno@chromium.org [Wed, 11 Jun 2014 21:44:50 +0000 (21:44 +0000)]
Reland 21774: Generate KeyedLoadGeneric with Hydrogen

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21781 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Fixed flooring division by a power of 2, once again...
plind44@gmail.com [Wed, 11 Jun 2014 20:06:01 +0000 (20:06 +0000)]
MIPS: Fixed flooring division by a power of 2, once again...

Port r21769 (52e191b)

Original commit message:
Avoid right shifts by zero bits: On ARM it actually means shifting by
32 bits (correctness issue) and on other platforms they are useless
(performance issue). This is fix for the fix in r20544.

BUG=v8:3259
LOG=y
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21780 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDrop globals.h include from platform.h
jochen@chromium.org [Wed, 11 Jun 2014 18:12:03 +0000 (18:12 +0000)]
Drop globals.h include from platform.h

Also delete dead cpu-features-implied-by-platform code.

BUG=none
R=jkummerow@chromium.org
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21779 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRossberg's suggested changes to the LookupIterator.
verwaest@chromium.org [Wed, 11 Jun 2014 18:02:38 +0000 (18:02 +0000)]
Rossberg's suggested changes to the LookupIterator.

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21778 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Revert 21774: "Generate KeyedLoadGeneric with Hydrogen"
plind44@gmail.com [Wed, 11 Jun 2014 17:32:32 +0000 (17:32 +0000)]
MIPS: Revert 21774: "Generate KeyedLoadGeneric with Hydrogen"

Port r21776 (10a4872)

Original commit message:
Due to arm64 and GCMole failures

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21777 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert 21774: "Generate KeyedLoadGeneric with Hydrogen"
danno@chromium.org [Wed, 11 Jun 2014 16:33:44 +0000 (16:33 +0000)]
Revert 21774: "Generate KeyedLoadGeneric with Hydrogen"

Due to arm64 and GCMole failures

TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21776 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Generate KeyedLoadGeneric with Hydrogen.
plind44@gmail.com [Wed, 11 Jun 2014 16:28:30 +0000 (16:28 +0000)]
MIPS: Generate KeyedLoadGeneric with Hydrogen.

Port r21774 (f0462b8)

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21775 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoGenerate KeyedLoadGeneric with Hydrogen
danno@chromium.org [Wed, 11 Jun 2014 14:56:38 +0000 (14:56 +0000)]
Generate KeyedLoadGeneric with Hydrogen

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21774 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Simplify string copy in SubStringStub.
plind44@gmail.com [Wed, 11 Jun 2014 14:44:13 +0000 (14:44 +0000)]
MIPS: Simplify string copy in SubStringStub.

Port r21756 (3d58e58)

Original commit message:
The optimizations are unnecessary since the maximum
string length they operate on is currently 12.

BUG=352155
LOG=N
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21773 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Simplify string copy in SubStringStub.
weiliang.lin@intel.com [Wed, 11 Jun 2014 14:09:05 +0000 (14:09 +0000)]
X87: Simplify string copy in SubStringStub.

port r21756.

original commit message:
  The optimizations are unnecessary since the maximum
  string length they operate on is currently 12.

R=yangguo@chromium.org, bmeurer@chromium.org
  BUG=352155
  LOG=N

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21772 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoCorrectly lookup starting at the holder
verwaest@chromium.org [Wed, 11 Jun 2014 14:03:13 +0000 (14:03 +0000)]
Correctly lookup starting at the holder

BUG=
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21771 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIgnore live_edit_ flag when when dealing with LiveEdit in a debug break.
yangguo@chromium.org [Wed, 11 Jun 2014 13:40:18 +0000 (13:40 +0000)]
Ignore live_edit_ flag when when dealing with LiveEdit in a debug break.

LiveEdit maybe disabled when we enter the break and again when we
leave it, but enabled in between.

TEST=https://codereview.chromium.org/329533002
R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21770 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFixed flooring division by a power of 2, once again...
svenpanne@chromium.org [Wed, 11 Jun 2014 13:29:25 +0000 (13:29 +0000)]
Fixed flooring division by a power of 2, once again...

Avoid right shifts by zero bits: On ARM it actually means shifting by
32 bits (correctness issue) and on other platforms they are useless
(performance issue). This is fix for the fix in r20544.

BUG=v8:3259
LOG=y
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21769 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Wed, 11 Jun 2014 12:16:14 +0000 (12:16 +0000)]
Whitespace change to trigger bots.

BUG=
TBR=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21768 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoImplement LookupIterator designed to replace LookupResult
verwaest@chromium.org [Wed, 11 Jun 2014 09:59:14 +0000 (09:59 +0000)]
Implement LookupIterator designed to replace LookupResult

BUG=
R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21767 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSet SAHF flag correctly for ia32
svenpanne@chromium.org [Wed, 11 Jun 2014 09:44:14 +0000 (09:44 +0000)]
Set SAHF flag correctly for ia32

sahf flag will not be set for ia32 on some old platform because some old processors does not support CPUID's extended features.
This also avoids redundant cpuid check in ia32 for sahf.

BUG=
R=danno@chromium.org

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

Patch from Weiliang Lin <weiliang.lin@intel.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21766 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix typos in BUILD.gn source lists
mstarzinger@chromium.org [Wed, 11 Jun 2014 09:42:48 +0000 (09:42 +0000)]
Fix typos in BUILD.gn source lists

"foo,cc" is not the same as "foo.cc"

R=mstarzinger@chromium.org

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

Patch from James Robinson <jamesr@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21765 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUnbreak build.
svenpanne@chromium.org [Wed, 11 Jun 2014 09:34:25 +0000 (09:34 +0000)]
Unbreak build.

TBR=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRemoved dead API entries.
svenpanne@chromium.org [Wed, 11 Jun 2014 09:12:35 +0000 (09:12 +0000)]
Removed dead API entries.

R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21763 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix unsigned comparisons.
svenpanne@chromium.org [Wed, 11 Jun 2014 09:09:15 +0000 (09:09 +0000)]
Fix unsigned comparisons.

Instead of marking the comparison instruction itself as Uint32, we
look at its arguments. This is more consistent what HChange does.

BUG=v8:3380
TEST=mjsunit/regress/regress-3380
LOG=y
R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21762 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix GN build.
mstarzinger@chromium.org [Wed, 11 Jun 2014 08:31:13 +0000 (08:31 +0000)]
Fix GN build.

R=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21759 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoSimplify string copy in SubStringStub.
yangguo@chromium.org [Wed, 11 Jun 2014 06:59:25 +0000 (06:59 +0000)]
Simplify string copy in SubStringStub.

The optimizations are unnecessary since the maximum
string length they operate on is currently 12.

R=bmeurer@chromium.org
BUG=352155
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21756 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoV8 can clear exception pending message, when should not do this.
yurys@chromium.org [Wed, 11 Jun 2014 05:48:33 +0000 (05:48 +0000)]
V8 can clear exception pending message, when should not do this.

The case:
v8::TryCatch try_catch;
CompileRun(try { CEvaluate('throw 1;'); } finally {});
CHECK(try_catch.HasCaught());
CHECK(!try_catch.Message().IsEmpty());

CEvaluate is native call. Last check is not passed without patch. Patch contains test TryCatchFinallyStoresMessageUsingTryCatchHandler with more details.

R=yangguo@chromium.org, mstarzinger@chromium.org, vsevik@chromium.org

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

Patch from Alexey Kozyatinskiy <kozyatinskiy@google.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21755 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTemporarily disable uint32 mode for comparisons
jkummerow@chromium.org [Tue, 10 Jun 2014 18:54:28 +0000 (18:54 +0000)]
Temporarily disable uint32 mode for comparisons

BUG=v8:3380
LOG=n
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21750 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Fix gn build".
mstarzinger@chromium.org [Tue, 10 Jun 2014 15:34:49 +0000 (15:34 +0000)]
Revert "Fix gn build".

This was reverted due to GN build failures while rolling V8 into
Chromium. Locally reproducing it verified that this makes the GN
build pass again.

R=jkummerow@chromium.org, machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21749 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd arity checks to mjsunit's assertEquals and assertSame
mstarzinger@chromium.org [Tue, 10 Jun 2014 15:19:27 +0000 (15:19 +0000)]
Add arity checks to mjsunit's assertEquals and assertSame

BUG=None
LOG=n
R=mstarzinger@chromium.org

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

Patch from Erik Arvidsson <arv@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21748 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDo not merge adjourning ranges when calculating percentages in plot.
yangguo@chromium.org [Tue, 10 Jun 2014 14:46:30 +0000 (14:46 +0000)]
Do not merge adjourning ranges when calculating percentages in plot.

R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21747 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReland 21720: Introduce FieldIndex to unify and abstract property/field offset
danno@chromium.org [Tue, 10 Jun 2014 14:01:08 +0000 (14:01 +0000)]
Reland 21720: Introduce FieldIndex to unify and abstract property/field offset

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21746 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoTemporary disabled failing tests on ARM64 no-snap.
mstarzinger@chromium.org [Tue, 10 Jun 2014 13:23:05 +0000 (13:23 +0000)]
Temporary disabled failing tests on ARM64 no-snap.

R=machenbach@chromium.org
TEST=cctest/test-serialize
BUG=v8:3385
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21745 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRelax assertion in StoreBuffer::FindPointersToNewSpaceInMapsRegion
hpayer@chromium.org [Tue, 10 Jun 2014 12:49:04 +0000 (12:49 +0000)]
Relax assertion in StoreBuffer::FindPointersToNewSpaceInMapsRegion

Since r21232, maps are now a non-power-of-two size and thus don't fit
evenly into a page.  No test case, as it is somewhat difficult to get
this condition to trigger.  It is possible with this case, however:

    var result;

    (function() {
        for (var i = 0; i < 1e7; i++) {
            result = (function*() { yield 1; })();
            result.foo = 1;
        }
    })();

R=hpayer@chromium.org
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21744 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix invalid attributes when generalizing because of incompatible map change.
bmeurer@chromium.org [Tue, 10 Jun 2014 12:24:54 +0000 (12:24 +0000)]
Fix invalid attributes when generalizing because of incompatible map change.

BUG=382143
LOG=y
TEST=mjsunit/regress/regress-382143
R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21743 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Support external startup data in V8."
machenbach@chromium.org [Tue, 10 Jun 2014 10:51:33 +0000 (10:51 +0000)]
Revert "Support external startup data in V8."

This reverts commit r21696 for breaking chromium windows compilation in the chromium cq.

Conflicts:
src/d8.cc

BUG=
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21740 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert "Port 'external startup data' flag from gyp to gn."
mstarzinger@chromium.org [Tue, 10 Jun 2014 10:06:14 +0000 (10:06 +0000)]
Revert "Port 'external startup data' flag from gyp to gn."

This cause compile failures on the GN buildbot about 'gen/v8/libraries.bin'
missing and no known rule to make it.

TBR=vogelheim@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate DecodeFieldToSmi to support x32 port.
haitao.feng@intel.com [Tue, 10 Jun 2014 09:52:44 +0000 (09:52 +0000)]
Update DecodeFieldToSmi to support x32 port.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21738 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDo not clear mirror cache when fetching loaded scripts.
yangguo@chromium.org [Tue, 10 Jun 2014 09:42:41 +0000 (09:42 +0000)]
Do not clear mirror cache when fetching loaded scripts.

R=yurys@chromium.org
BUG=376534
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21737 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoLog IC misses as timer events.
yangguo@chromium.org [Tue, 10 Jun 2014 09:34:18 +0000 (09:34 +0000)]
Log IC misses as timer events.

R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21736 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMake presubmit script happy again.
svenpanne@chromium.org [Tue, 10 Jun 2014 09:24:00 +0000 (09:24 +0000)]
Make presubmit script happy again.

No clue why this seems to be an issue only for me, though...

R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21735 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoReuse RelocInfo's IsPatchedDebugBreakSlotSequence() implementation.
yangguo@chromium.org [Tue, 10 Jun 2014 09:16:29 +0000 (09:16 +0000)]
Reuse RelocInfo's IsPatchedDebugBreakSlotSequence() implementation.

RelocInfo::IsPatchedDebugBreakSlotSequence() already does this assembly
check, so just reuse it in BreakLocationIterator::IsDebugBreakAtSlot(),
like the other debug ports do.

R=yangguo@chromium.org

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

Patch from Thiago Farina <tfarina@chromium.org>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21734 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoBugfix in inlined versions of Array.indexOf() and Array.lastIndexOf() with a regressi...
ishell@chromium.org [Tue, 10 Jun 2014 09:01:45 +0000 (09:01 +0000)]
Bugfix in inlined versions of Array.indexOf() and Array.lastIndexOf() with a regression test.

BUG=chromium:381534
LOG=N
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21733 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoRevert 21720: "Introduce FieldIndex to unify and abstract property/field offset"
danno@chromium.org [Tue, 10 Jun 2014 09:00:10 +0000 (09:00 +0000)]
Revert 21720: "Introduce FieldIndex to unify and abstract property/field offset"

Due to assorted failures

R=mstarzinger@chromium.org
TBR=mstarzginer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21732 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoWhitespace change to trigger bots.
machenbach@chromium.org [Tue, 10 Jun 2014 08:51:12 +0000 (08:51 +0000)]
Whitespace change to trigger bots.

BUG=
TBR=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21731 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Preliminary support for block contexts in hydrogen.
weiliang.lin@intel.com [Tue, 10 Jun 2014 08:09:56 +0000 (08:09 +0000)]
X87: Preliminary support for block contexts in hydrogen.

Port r21684.

Origin message:
   Preliminary support for block contexts in hydrogen.

   Patch from Steven Keuchel <keuchel@chromium.org>;

   BUG=v8:2198
   LOG=N
   TEST=mjsunit/harmony/block-let-crankshaft.js
R=ulan@chromium.org

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21730 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoAdd whitespace file to allow no-op changelists for bot maintenance.
machenbach@chromium.org [Tue, 10 Jun 2014 07:13:36 +0000 (07:13 +0000)]
Add whitespace file to allow no-op changelists for bot maintenance.

BUG=
TBR=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21729 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoEnsure that constant-capacity elements are initialized on copy
danno@chromium.org [Tue, 10 Jun 2014 04:47:06 +0000 (04:47 +0000)]
Ensure that constant-capacity elements are initialized on copy

R=ishell@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21728 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoFix missing smi check in inlined indexOf/lastIndexOf.
bmeurer@chromium.org [Tue, 10 Jun 2014 04:26:15 +0000 (04:26 +0000)]
Fix missing smi check in inlined indexOf/lastIndexOf.

BUG=382513
LOG=y
R=danno@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21727 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate DoNumberTagI to support x32 port.
haitao.feng@intel.com [Tue, 10 Jun 2014 04:08:48 +0000 (04:08 +0000)]
Update DoNumberTagI to support x32 port.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21726 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoUpdate SmiShiftLeft, SmiShiftLogicalRight, SmiShiftArithmeticRight and SmiDiv to...
haitao.feng@intel.com [Tue, 10 Jun 2014 04:03:51 +0000 (04:03 +0000)]
Update SmiShiftLeft, SmiShiftLogicalRight, SmiShiftArithmeticRight and SmiDiv to support x32 port.

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21725 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoX87: Introduce FieldIndex to unify and abstract property/field offset
weiliang.lin@intel.com [Tue, 10 Jun 2014 03:43:48 +0000 (03:43 +0000)]
X87: Introduce FieldIndex to unify and abstract property/field offset

port r21720.

Original commit message:
   Introduce FieldIndex to unify and abstract property/field offset.

R=danno@chromium.org

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21724 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoARM64: Clean up support for explicit literal load.
rodolph.perfetta@arm.com [Mon, 9 Jun 2014 14:23:46 +0000 (14:23 +0000)]
ARM64: Clean up support for explicit literal load.

This is the first patch to improve literal pool handling in arm64. Cleans up
assembler/macro-assembler access to literal pools.

BUG=
R=rmcilroy@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21723 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoMIPS: Introduce FieldIndex to unify and abstract property/field offset.
plind44@gmail.com [Fri, 6 Jun 2014 15:43:19 +0000 (15:43 +0000)]
MIPS: Introduce FieldIndex to unify and abstract property/field offset.

Port r21720 (aeb7bef)

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoPort 'external startup data' flag from gyp to gn.
vogelheim@chromium.org [Fri, 6 Jun 2014 14:30:33 +0000 (14:30 +0000)]
Port 'external startup data' flag from gyp to gn.

R=jochen@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoIntroduce FieldIndex to unify and abstract property/field offset
danno@chromium.org [Fri, 6 Jun 2014 14:05:10 +0000 (14:05 +0000)]
Introduce FieldIndex to unify and abstract property/field offset

R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

10 years agoDrop unused Object::GetMarkerMap method
jochen@chromium.org [Fri, 6 Jun 2014 13:54:08 +0000 (13:54 +0000)]
Drop unused Object::GetMarkerMap method

R=verwaest@chromium.org
BUG=none
LOG=n

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00