platform/upstream/v8.git
10 years agoSupport for super keyed loads where key is a name.
dslomov@chromium.org [Mon, 6 Oct 2014 08:25:27 +0000 (08:25 +0000)]
Support for super keyed loads where key is a name.

R=arv@chromium.org, ishell@chromium.org
BUG=v8:3330
LOG=N

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

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

10 years agoUse the pnacl-clang toolchain for (P)NaCL builds
svenpanne@chromium.org [Mon, 6 Oct 2014 08:10:50 +0000 (08:10 +0000)]
Use the pnacl-clang toolchain for (P)NaCL builds

Patch from JF Bastien <jfb@google.com>.

R=bmeurer@chromium.org

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

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

10 years agoExtend snapshot creation to generate 4-byte values
yangguo@chromium.org [Sat, 4 Oct 2014 10:30:24 +0000 (10:30 +0000)]
Extend snapshot creation to generate 4-byte values

R=rmcilroy@chromium.org, yangguo@chromium.org

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

Patch from Andre Baixo <baixo@google.com>.

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

10 years agoAdd a use counter for Intl.v8BreakIterator
erikcorry@chromium.org [Fri, 3 Oct 2014 10:29:12 +0000 (10:29 +0000)]
Add a use counter for Intl.v8BreakIterator

R=marja@chromium.org
BUG=

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

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

10 years agoMIPS: Add turbofan support for mips32.
paul.lind@imgtec.com [Thu, 2 Oct 2014 15:48:48 +0000 (15:48 +0000)]
MIPS: Add turbofan support for mips32.

BUG=
R=bmeurer@chromium.org, dusan.milosavljevic@imgtec.com

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

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

10 years agoRemoved the Isolate* field from literal nodes.
svenpanne@chromium.org [Thu, 2 Oct 2014 13:05:11 +0000 (13:05 +0000)]
Removed the Isolate* field from literal nodes.

Again 50MB less peak memory usage in the bug mentioned below...

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

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

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

10 years agofix imul(reg, op, imm) emission on x64
dcarney@chromium.org [Thu, 2 Oct 2014 12:22:36 +0000 (12:22 +0000)]
fix imul(reg, op, imm) emission on x64

R=bmeurer@chromium.org

BUG=

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

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

10 years agoRevert of Extend CPU profiler with mapping ticks to source lines (patchset #3 id...
yurys@chromium.org [Thu, 2 Oct 2014 11:58:21 +0000 (11:58 +0000)]
Revert of Extend CPU profiler with mapping ticks to source lines (patchset #3 id:40001 of https://codereview.chromium.org/616963005/)

Reason for revert:
It broke layout test fast/events/window-onerror-02.html, error column reported by window.onerror is now wrong (I believe it is because of the change in full-codegen):

http://build.chromium.org/p/client.v8/builders/V8-Blink%20Linux%2064%20%28dbg%29/builds/652

Original issue's description:
> Extend CPU profiler with mapping ticks to source lines
>
> The idea behind of this solution is to use the existing "relocation info" instead of consumption the CodeLinePosition events emitted by the V8 compilers.
> During generation code and relocation info are generated simultaneously.
> When code generation is done you each code object has associated "relocation info".
> Relocation information lets V8 to mark interesting places in the generated code: the pointers that might need to be relocated (after garbage collection),
> correspondences between the machine program counter and source locations for stack walking.
>
> This patch:
> 1. Add more source positions info in reloc info to make it suitable for source level mapping.
> The amount of data should not be increased dramatically because (1) V8 already marks interesting places in the generated code and
> (2) V8 does not write redundant information (it writes a pair (pc_offset, pos) only if pos is changed and skips other).
> I measured it on Octane benchmark - for unoptimized code the number of source positions may achieve 2x ('lin_solve' from NavierStokes benchmark).
>
> 2. When a sample happens, CPU profiler finds a code object by pc, then use its reloc info to match the sample to a source line.
> If a source line is found that hit counter is increased by one for this line.
>
> 3. Add a new public V8 API to get the hit source lines by CDT CPU profiler.
> Note that it's expected a minor patch in Blink to pack the source level info in JSON to be shown.
>
> 4.Add a test that checks how the samples are distributed through source lines.
> It tests two cases: (1) relocation info created during code generation and (2) relocation info associated with precompiled function's version.
>
> Patch from Denis Pravdin <denis.pravdin@intel.com>
> BUG=None
> LOG=Y
> R=svenpanne@chromium.org
>
> Committed: https://code.google.com/p/v8/source/detail?r=24389

TBR=svenpanne@chromium.org,danno@chromium.org,alph@chromium.org,denis.pravdin@intel.com,weiliang.lin@intel.com
BUG=None
LOG=N

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

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

10 years agoSqueeze the layout of expression nodes a bit.
svenpanne@chromium.org [Thu, 2 Oct 2014 11:52:54 +0000 (11:52 +0000)]
Squeeze the layout of expression nodes a bit.

Again 112MB less peak memory usage in the bug mentioned below. :-)
Routed all writes to to_boolean_types_ through its setter on the way.

BUG=417697
LOG=y
R=mvstanton@chromium.org

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

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

10 years agoDrop some unused code
jkummerow@chromium.org [Thu, 2 Oct 2014 10:52:12 +0000 (10:52 +0000)]
Drop some unused code

Bonus: fix bitrot in (disabled) Hydrogen-BCH

R=yangguo@chromium.org

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

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

10 years agoSerialize all external strings except for native source code strings.
yangguo@chromium.org [Thu, 2 Oct 2014 09:39:13 +0000 (09:39 +0000)]
Serialize all external strings except for native source code strings.

R=mvstanton@chromium.org

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

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

10 years agoMerged FeedbackSlotInterface into AstNode, removing the need for a 2nd vtable.
svenpanne@chromium.org [Thu, 2 Oct 2014 09:38:28 +0000 (09:38 +0000)]
Merged FeedbackSlotInterface into AstNode, removing the need for a 2nd vtable.

This tiny change shaves off 112MB from the peak memory usage in the
bug mentioned below, more to come...

BUG=417697
LOG=y
R=mvstanton@chromium.org

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

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

10 years agoExtend CPU profiler with mapping ticks to source lines
yurys@chromium.org [Thu, 2 Oct 2014 09:20:37 +0000 (09:20 +0000)]
Extend CPU profiler with mapping ticks to source lines

The idea behind of this solution is to use the existing "relocation info" instead of consumption the CodeLinePosition events emitted by the V8 compilers.
During generation code and relocation info are generated simultaneously.
When code generation is done you each code object has associated "relocation info".
Relocation information lets V8 to mark interesting places in the generated code: the pointers that might need to be relocated (after garbage collection),
correspondences between the machine program counter and source locations for stack walking.

This patch:
1. Add more source positions info in reloc info to make it suitable for source level mapping.
The amount of data should not be increased dramatically because (1) V8 already marks interesting places in the generated code and
(2) V8 does not write redundant information (it writes a pair (pc_offset, pos) only if pos is changed and skips other).
I measured it on Octane benchmark - for unoptimized code the number of source positions may achieve 2x ('lin_solve' from NavierStokes benchmark).

2. When a sample happens, CPU profiler finds a code object by pc, then use its reloc info to match the sample to a source line.
If a source line is found that hit counter is increased by one for this line.

3. Add a new public V8 API to get the hit source lines by CDT CPU profiler.
Note that it's expected a minor patch in Blink to pack the source level info in JSON to be shown.

4.Add a test that checks how the samples are distributed through source lines.
It tests two cases: (1) relocation info created during code generation and (2) relocation info associated with precompiled function's version.

Patch from Denis Pravdin <denis.pravdin@intel.com>
BUG=None
LOG=Y
R=svenpanne@chromium.org

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

Patch from Denis Pravdin <denis.pravdin@intel.com>.

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

10 years ago[turbofan] support all shift operands on x64
dcarney@chromium.org [Thu, 2 Oct 2014 09:08:09 +0000 (09:08 +0000)]
[turbofan] support all shift operands on x64

R=bmeurer@chromium.org

BUG=

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

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

10 years ago[turbofan] support all shift operands on ia32
dcarney@chromium.org [Thu, 2 Oct 2014 09:04:04 +0000 (09:04 +0000)]
[turbofan] support all shift operands on ia32

R=bmeurer@chromium.org

BUG=

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

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

10 years ago[turbofan] Fix lowering of typed loads/stores.
bmeurer@chromium.org [Thu, 2 Oct 2014 08:38:37 +0000 (08:38 +0000)]
[turbofan] Fix lowering of typed loads/stores.

We can only access to external typed arrays; lowering of internal
typed arrays would require a map check plus eager deoptimization.
Also embed the array buffer reference directly instead of embedding
the typed array.

TEST=cctest,mjsunit,unittests
R=mstarzinger@chromium.org

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

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

10 years agoSkip test on all architectures but arm.
machenbach@chromium.org [Thu, 2 Oct 2014 08:37:51 +0000 (08:37 +0000)]
Skip test on all architectures but arm.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoChange minimum code range size to 3MB
jochen@chromium.org [Thu, 2 Oct 2014 08:28:29 +0000 (08:28 +0000)]
Change minimum code range size to 3MB

There will be at least 2MB of guard pages around allocatable code memory

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

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

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

10 years agoUpdate the documentation of Isolate::GetCodeRange
jochen@chromium.org [Thu, 2 Oct 2014 08:28:04 +0000 (08:28 +0000)]
Update the documentation of Isolate::GetCodeRange

On Win64, the first page is reserved for the embedder.

BUG=v8:3597
R=svenpanne@chromium.org
LOG=n

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

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

10 years agoRemove support for parallel sweeping
jochen@chromium.org [Thu, 2 Oct 2014 08:24:48 +0000 (08:24 +0000)]
Remove support for parallel sweeping

BUG=none
R=hpayer@chromium.org
LOG=y

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

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

10 years agoFix name clashes in cctests.
yangguo@chromium.org [Thu, 2 Oct 2014 08:18:03 +0000 (08:18 +0000)]
Fix name clashes in cctests.

R=marja@chromium.org

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

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

10 years agoFix Windows compile.
hpayer@chromium.org [Thu, 2 Oct 2014 07:42:11 +0000 (07:42 +0000)]
Fix Windows compile.

BUG=
R=yangguo@chromium.org

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

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

10 years agoForce scavenge in idle notification if we estimate that it will take long.
hpayer@chromium.org [Thu, 2 Oct 2014 07:21:53 +0000 (07:21 +0000)]
Force scavenge in idle notification if we estimate that it will take long.

BUG=
R=ulan@chromium.org

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

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

10 years agoHandle external strings in the code serializer.
yangguo@chromium.org [Thu, 2 Oct 2014 07:12:46 +0000 (07:12 +0000)]
Handle external strings in the code serializer.

R=mvstanton@chromium.org

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

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

10 years agoFulfill some code serializer related TODOs.
yangguo@chromium.org [Thu, 2 Oct 2014 07:04:28 +0000 (07:04 +0000)]
Fulfill some code serializer related TODOs.

R=mvstanton@chromium.org

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

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

10 years agoIntroduce v8::Object::GetIsolate().
yangguo@chromium.org [Thu, 2 Oct 2014 06:52:39 +0000 (06:52 +0000)]
Introduce v8::Object::GetIsolate().

API=v8::Object::GetIsolate()
LOG=Y
R=svenpanne@chromium.org

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

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

10 years agoDebug a mystery crash bug in script streaming.
marja@chromium.org [Wed, 1 Oct 2014 16:54:42 +0000 (16:54 +0000)]
Debug a mystery crash bug in script streaming.

This adds a bunch of checks so we hopefully get more detailed information about
what exactly goes wrong.

R=jochen@chromium.org
BUG=

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

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

10 years agoMIPS64: Fix ConvertDToI test.
dusan.milosavljevic@imgtec.com [Wed, 1 Oct 2014 16:25:01 +0000 (16:25 +0000)]
MIPS64: Fix ConvertDToI test.

TEST=cctest/test-code-stubs-mips64/ConvertDToI
BUG=
R=paul.lind@imgtec.com

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

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

10 years ago[turbofan] re-enable some tests for arm64.
rodolph.perfetta@arm.com [Wed, 1 Oct 2014 15:47:40 +0000 (15:47 +0000)]
[turbofan] re-enable some tests for arm64.

Those tests were disabled because of an issue in TruncateDoubleToI which has
been fixed since.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoAttempt to fix GC mole failures.
yangguo@chromium.org [Wed, 1 Oct 2014 15:39:12 +0000 (15:39 +0000)]
Attempt to fix GC mole failures.

TBR=bmeurer@chromium.org

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

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

10 years agoWhitespace change for branch testing.
machenbach@chromium.org [Wed, 1 Oct 2014 14:10:08 +0000 (14:10 +0000)]
Whitespace change for branch testing.

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

10 years agoImplement inlined stack-check guards in TurboFan.
mstarzinger@chromium.org [Wed, 1 Oct 2014 14:03:02 +0000 (14:03 +0000)]
Implement inlined stack-check guards in TurboFan.

R=bmeurer@chromium.org
TEST=cctest/test-run-stackcheck/TerminateAtMethodEntry

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

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

10 years agoFix Hydrogen's BuildStore()
jkummerow@chromium.org [Wed, 1 Oct 2014 13:17:34 +0000 (13:17 +0000)]
Fix Hydrogen's BuildStore()

BUG=chromium:417508
LOG=y
R=jarin@chromium.org

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

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

10 years agoEndian changes, support 64bit big endian
svenpanne@chromium.org [Wed, 1 Oct 2014 13:14:14 +0000 (13:14 +0000)]
Endian changes, support 64bit big endian

These are some changes split off from https://codereview.chromium.org/422063005

frames-inl.h, frames.h
based on https://github.com/andrewlow/v8ppc/commit/05db7d2d714c44bd4e0b710fdaa51d34938aaa27
On 64bit big endian systems, the integer value is in the second slot, thus we need a new offset.

objects-inl.h, objects.h
based on https://github.com/andrewlow/v8ppc/commit/09b680b2af7412fe8fa5a3a01f1b8e29698d7797
Similarly, the hash slot is an integer field and we need to do the right thing on 64bit big endian systems

objects.cc
based on: https://github.com/andrewlow/v8ppc/commit/065742b0783b0705d9f9711198248a92bac11d85
Prettier printing of constant pools

test-strings.cc
based on:  https://github.com/andrewlow/v8ppc/commit/9889d60cd6e68e0d248c4a362ffdff0755b92aec
endian fixes

BUG=
R=svenpanne@chromium.org

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

Patch from Andrew Low <andrew_low@ca.ibm.com>.

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

10 years agoExtract runtime functions for classes into a separate file.
dslomov@chromium.org [Wed, 1 Oct 2014 12:11:12 +0000 (12:11 +0000)]
Extract runtime functions for classes into a separate file.

R=yangguo@chromium.org

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

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

10 years agoFix test-spaces on win64
jochen@chromium.org [Wed, 1 Oct 2014 11:54:47 +0000 (11:54 +0000)]
Fix test-spaces on win64

TBR=bmeurer@chromium.org
LOG=n
BUG=none

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

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

10 years agoReland "Use symbols instead of hidden properties for i18n markers."
yangguo@chromium.org [Wed, 1 Oct 2014 11:53:29 +0000 (11:53 +0000)]
Reland "Use symbols instead of hidden properties for i18n markers."

R=dslomov@chromium.org

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

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

10 years agoFix data race when concurrent compilation is aborted due to dependency change.
yangguo@chromium.org [Wed, 1 Oct 2014 11:41:19 +0000 (11:41 +0000)]
Fix data race when concurrent compilation is aborted due to dependency change.

R=marja@chromium.org
BUG=chromium:419189
LOG=N

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

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

10 years agoDon't clear the string stub at gc time in KeyedLoadIC.
mvstanton@chromium.org [Wed, 1 Oct 2014 11:09:06 +0000 (11:09 +0000)]
Don't clear the string stub at gc time in KeyedLoadIC.

Clearing this stub doesn't actually make sense, as it neither leaks
memory, nor prevents finding a new optimum stable state. As
long as strings receivers are observed, this is the best stub.
The moment we see a non-string receiver we'll go polymorphic
or generic depending on the case.

R=yangguo@chromium.org

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

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

10 years ago[turbofan] Add control input to Load and LoadElements.
bmeurer@chromium.org [Wed, 1 Oct 2014 11:08:37 +0000 (11:08 +0000)]
[turbofan] Add control input to Load and LoadElements.

Also remove the now obsolete ControlEffect operator.

TEST=cctest,mjsunit,unittests
R=mstarzinger@chromium.org

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

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

10 years agoRemove deprecated CEntryStub cache in generic lowering.
mstarzinger@chromium.org [Wed, 1 Oct 2014 10:54:51 +0000 (10:54 +0000)]
Remove deprecated CEntryStub cache in generic lowering.

R=bmeurer@chromium.org

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

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

10 years ago[turbofan] intel lea add multiply matchers
dcarney@chromium.org [Wed, 1 Oct 2014 10:47:14 +0000 (10:47 +0000)]
[turbofan] intel lea add multiply matchers

R=bmeurer@chromium.org

BUG=

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

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

10 years agoRename Int32{UMod,UDiv} to Uint32{Div,Mod} and Int64{UMod,UDiv} to Uint64{Div,Mod}.
titzer@chromium.org [Wed, 1 Oct 2014 10:39:11 +0000 (10:39 +0000)]
Rename Int32{UMod,UDiv} to Uint32{Div,Mod} and Int64{UMod,UDiv} to Uint64{Div,Mod}.

R=bmeurer@chromium.org, mstarzinger@chromium.org
BUG=

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

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

10 years agoFix clang compilation
jochen@chromium.org [Wed, 1 Oct 2014 09:35:27 +0000 (09:35 +0000)]
Fix clang compilation

BUG=none
TBR=svenpanne@chromium.org
LOG=n

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

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

10 years agoDon't filter out -O0 for debug configurations
jochen@chromium.org [Wed, 1 Oct 2014 09:17:19 +0000 (09:17 +0000)]
Don't filter out -O0 for debug configurations

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

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

10 years agoReserve a page at the beginning of the code range on Win64 for SEH
jochen@chromium.org [Wed, 1 Oct 2014 09:16:57 +0000 (09:16 +0000)]
Reserve a page at the beginning of the code range on Win64 for SEH

BUG=v8:3597
R=svenpanne@chromium.org
LOG=n

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

10 years agoRemove sweeper threads
jochen@chromium.org [Wed, 1 Oct 2014 09:16:28 +0000 (09:16 +0000)]
Remove sweeper threads

Job based sweeping is enabled since 3.29, so remove the now obsolete
thread based implementation

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

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

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

10 years agoFix unittests.gyp for cross compiling.
bmeurer@chromium.org [Wed, 1 Oct 2014 08:54:21 +0000 (08:54 +0000)]
Fix unittests.gyp for cross compiling.

TBR=mstarzinger@chromium.org

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

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

10 years agoMove unit tests to test/unittests.
bmeurer@chromium.org [Wed, 1 Oct 2014 08:34:25 +0000 (08:34 +0000)]
Move unit tests to test/unittests.

As per discussion on the V8 team, this is the place we want them to live,
not following the Chrome Style Guide for this.

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

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

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

10 years agoFix ostream flushing.
yangguo@chromium.org [Wed, 1 Oct 2014 08:22:39 +0000 (08:22 +0000)]
Fix ostream flushing.

TBR=bmeurer@chromium.org

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

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

10 years agoAdd support for uint64 compares to TurboFan.
mstarzinger@chromium.org [Wed, 1 Oct 2014 08:11:56 +0000 (08:11 +0000)]
Add support for uint64 compares to TurboFan.

R=bmeurer@chromium.org, titzer@chromium.org
TEST=compiler-unittests/MachineOperatorTest

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

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

10 years ago[turbofan] Add BoundsCheckMode to ElementAccess.
bmeurer@chromium.org [Wed, 1 Oct 2014 07:42:54 +0000 (07:42 +0000)]
[turbofan] Add BoundsCheckMode to ElementAccess.

This is currently only used for StoreElement. LoadElement will be
updated to make use of that in a follow-up CL (depends on additional
control input for loads first).

TEST=cctest,mjsunit
R=jarin@chromium.org, mstarzinger@chromium.org

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

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

10 years agoRevert "Use symbols instead of hidden properties for i18n markers."
yangguo@chromium.org [Wed, 1 Oct 2014 07:33:53 +0000 (07:33 +0000)]
Revert "Use symbols instead of hidden properties for i18n markers."

This reverts r24345.

TBR=bmeurer@chromium.org

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

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

10 years agoUse symbols instead of hidden properties for i18n markers.
yangguo@chromium.org [Wed, 1 Oct 2014 07:08:39 +0000 (07:08 +0000)]
Use symbols instead of hidden properties for i18n markers.

Also refactor symbols in the root list.

R=dslomov@chromium.org

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

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

10 years agoChanges to ALLOW_UNUSED to match upcoming changes to the Chromium trunk:
svenpanne@chromium.org [Wed, 1 Oct 2014 06:32:05 +0000 (06:32 +0000)]
Changes to ALLOW_UNUSED to match upcoming changes to the Chromium trunk:
* Eliminate usage of ALLOW_UNUSED to define COMPILE_ASSERT and just use
  static_assert() in all cases now that all platforms build with C++11.
* Convert remaining uses of ALLOW_UNUSED to ALLOW_UNUSED_TYPE to match how
  Chromium will be splitting this functionality.  (In Chromium we'll have both
  ALLOW_UNUSED_TYPE and ALLOW_UNUSED_LOCAL, which have different syntax to
  enable us to use these with MSVC.)

BUG=chromium:81439
TEST=none
LOG=y
R=svenpanne@chromium.org

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

Patch from Peter Kasting <pkasting@chromium.org>.

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

10 years agoMIPS: Add cvt_d_s to disassembler.
paul.lind@imgtec.com [Wed, 1 Oct 2014 04:14:01 +0000 (04:14 +0000)]
MIPS: Add cvt_d_s to disassembler.

BUG=
R=dusan.milosavljevic@imgtec.com

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

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

10 years agoDesugar 'super(..)' into 'super.constructor(...)'
dslomov@chromium.org [Tue, 30 Sep 2014 18:12:22 +0000 (18:12 +0000)]
Desugar 'super(..)' into 'super.constructor(...)'

R=arv@chromium.org, marja@chromium.org
BUG=v8:3330
LOG=N

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

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

10 years agoRemove stray edits in r24335.
yangguo@chromium.org [Tue, 30 Sep 2014 15:40:08 +0000 (15:40 +0000)]
Remove stray edits in r24335.

TBR=aandrey@chromium.org

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

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

10 years agoFix style nits in test
dslomov@chromium.org [Tue, 30 Sep 2014 15:30:10 +0000 (15:30 +0000)]
Fix style nits in test

R=arv@chromium.org

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

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

10 years agoIntroduce PromiseRejectCallback.
yangguo@chromium.org [Tue, 30 Sep 2014 15:29:08 +0000 (15:29 +0000)]
Introduce PromiseRejectCallback.

R=aandrey@chromium.org, yurys@chromium.org, rossberg@chromium.org
API=v8::Isolate::SetPromiseRejectCallback, v8::Promise::HasHandler
LOG=Y
BUG=v8:3093

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

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

10 years agoAdd a fast case for one-element arrays in ArrayJoin
yangguo@chromium.org [Tue, 30 Sep 2014 15:07:21 +0000 (15:07 +0000)]
Add a fast case for one-element arrays in ArrayJoin

This case handles all one-element arrays that were not handled by _FastOneByteArrayJoin

BUG=
R=yangguo@chromium.org

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

Patch from Fadi Meawad <fmeawad@chromium.org>.

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

10 years agoHydrogenize (and share) part of StoreTransition handler as a StoreTransitionStub...
ishell@chromium.org [Tue, 30 Sep 2014 14:54:14 +0000 (14:54 +0000)]
Hydrogenize (and share) part of StoreTransition handler as a StoreTransitionStub and StoreField handler simplification.

R=yangguo@chromium.org

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

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

10 years agoMIPS: Replace OStream with std::ostream.
balazs.kilvady@imgtec.com [Tue, 30 Sep 2014 14:37:59 +0000 (14:37 +0000)]
MIPS: Replace OStream with std::ostream.

Port r24319 (b4a085f)

BUG=
R=akos.palfi@imgtec.com

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

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

10 years agoImplement data property creation for assignments to super.x.
dslomov@chromium.org [Tue, 30 Sep 2014 13:19:47 +0000 (13:19 +0000)]
Implement data property creation for assignments to super.x.

R=rossberg@chromium.org, arv@chromium.org
BUG=v8:3330
LOG=N

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

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

10 years agoFix svn tags in release scripts.
machenbach@chromium.org [Tue, 30 Sep 2014 13:12:44 +0000 (13:12 +0000)]
Fix svn tags in release scripts.

Rebase the local branch after committing so that git svn
tag works.

Some of these changes need to be ported to git in https://codereview.chromium.org/607893004/

BUG=chromium:410721,v8:3601
LOG=n
TEST=script_test.py
R=jkummerow@chromium.org

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

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

10 years agoMore follow-up fixes to r24322.
bmeurer@chromium.org [Tue, 30 Sep 2014 12:49:25 +0000 (12:49 +0000)]
More follow-up fixes to r24322.

TBR=svenpanne@chromium.org

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

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

10 years agoSome follow-up fixes to r24322.
bmeurer@chromium.org [Tue, 30 Sep 2014 12:33:36 +0000 (12:33 +0000)]
Some follow-up fixes to r24322.

TBR=svenpanne@chromium.org

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

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

10 years ago[turbofan] instantiate and run InstructionSelectorMultTest for ia32
dcarney@chromium.org [Tue, 30 Sep 2014 11:44:29 +0000 (11:44 +0000)]
[turbofan] instantiate and run InstructionSelectorMultTest for ia32

TBR=bmeurer@chromium.org

BUG=

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

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

10 years ago[turbofan] ia32 lea multiplication matching
dcarney@chromium.org [Tue, 30 Sep 2014 11:22:14 +0000 (11:22 +0000)]
[turbofan] ia32 lea multiplication matching

R=bmeurer@chromium.org

BUG=

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

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

10 years agoCorrect fix this time.
bmeurer@chromium.org [Tue, 30 Sep 2014 10:56:25 +0000 (10:56 +0000)]
Correct fix this time.

TBR=dcarney@chromium.org

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

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

10 years agoFix windows build after r24322.
bmeurer@chromium.org [Tue, 30 Sep 2014 10:55:02 +0000 (10:55 +0000)]
Fix windows build after r24322.

TBR=dcarney@chromium.org

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

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

10 years agoSplit yet more runtime functions into separate files.
yangguo@chromium.org [Tue, 30 Sep 2014 10:46:04 +0000 (10:46 +0000)]
Split yet more runtime functions into separate files.

R=bmeurer@chromium.org

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

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

10 years ago[turbofan] Some javascript operators are globally shared singletons.
bmeurer@chromium.org [Tue, 30 Sep 2014 10:42:44 +0000 (10:42 +0000)]
[turbofan] Some javascript operators are globally shared singletons.

Also cleanup the interface, and make the parameter class/accessors
explicit to work-around the type-unsafety of OpParameter<T>.

TEST=compiler-unittests,cctest,mjsunit
R=mstarzinger@chromium.org

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

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

10 years agoTemporarily remove unsound use of Maybe until we have a proper fix.
neis@chromium.org [Tue, 30 Sep 2014 10:37:47 +0000 (10:37 +0000)]
Temporarily remove unsound use of Maybe until we have a proper fix.

R=rossberg@chromium.org
BUG=

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

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

10 years agoGet rid of code duplication by computing int Lub using range Lub.
neis@chromium.org [Tue, 30 Sep 2014 10:34:54 +0000 (10:34 +0000)]
Get rid of code duplication by computing int Lub using range Lub.

R=rossberg@chromium.org
BUG=

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

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

10 years agoReplace OStream with std::ostream.
bmeurer@chromium.org [Tue, 30 Sep 2014 10:29:32 +0000 (10:29 +0000)]
Replace OStream with std::ostream.

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

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

10 years ago[turbofan] IA: Uint32ToFloat64 supports mem operand.
dcarney@chromium.org [Tue, 30 Sep 2014 10:24:11 +0000 (10:24 +0000)]
[turbofan] IA: Uint32ToFloat64 supports mem operand.

BUG=
R=dcarney@chromium.org

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

Patch from Jing Bao <jing.bao@intel.com>.

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

10 years ago[turbofan] x64 lea multiplication matching
dcarney@chromium.org [Tue, 30 Sep 2014 09:46:30 +0000 (09:46 +0000)]
[turbofan] x64 lea multiplication matching

R=bmeurer@chromium.org

BUG=

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

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

10 years agofix nacl build after r24308
dcarney@chromium.org [Tue, 30 Sep 2014 09:34:16 +0000 (09:34 +0000)]
fix nacl build after r24308

TBR=jarin@chromium.org

BUG=

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

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

10 years agoRefactor BasicBlock to not use GenericNode.
jarin@chromium.org [Tue, 30 Sep 2014 08:23:20 +0000 (08:23 +0000)]
Refactor BasicBlock to not use GenericNode.

To manage BasicBlock's predecessors and successors we now use plain
std::vector.

The change also moves bunch of method definitions from header files
to implementation files.

In zlib, the change brings 3x improvement in the scheduler's memory
consumption. The --turbo-stats flag says we go 169MB -> 55MB in
the scheduler, 383MB -> 268MB overall.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoSplit even more runtime functions into separate files.
yangguo@chromium.org [Tue, 30 Sep 2014 08:23:02 +0000 (08:23 +0000)]
Split even more runtime functions into separate files.

R=bmeurer@chromium.org

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

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

10 years agogn: Add missing source files to x86 build
jochen@chromium.org [Tue, 30 Sep 2014 08:22:16 +0000 (08:22 +0000)]
gn: Add missing source files to x86 build

R=jochen@chromium.org, jochen
BUG=none
LOG=n

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

Patch from Cem Kocagil <ckocagil@chromium.org>.

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

10 years ago[turbofan] cleanup x64 code generator a little
dcarney@chromium.org [Tue, 30 Sep 2014 07:28:58 +0000 (07:28 +0000)]
[turbofan] cleanup x64 code generator a little

R=bmeurer@chromium.org

BUG=

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

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

10 years agoX87: Support count operations on super named properties.
weiliang.lin@intel.com [Tue, 30 Sep 2014 07:22:29 +0000 (07:22 +0000)]
X87: Support count operations on super named properties.

port r24290.

original commit message:

   Support count operations on super named properties.

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoFast-forward version number on bleeding_edge to 3.30.0
jochen@chromium.org [Tue, 30 Sep 2014 07:13:55 +0000 (07:13 +0000)]
Fast-forward version number on bleeding_edge to 3.30.0

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

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

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

10 years agoMIPS: Support count operations on super named properties.
balazs.kilvady@imgtec.com [Mon, 29 Sep 2014 17:11:06 +0000 (17:11 +0000)]
MIPS: Support count operations on super named properties.

Port r24290 (98dc7ec)

BUG=v8:3330
LOG=N
R=paul.lind@imgtec.com

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

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

10 years agoUpdate AUTHORS file.
paul.lind@imgtec.com [Mon, 29 Sep 2014 16:51:54 +0000 (16:51 +0000)]
Update AUTHORS file.

BUG=
R=danno@chromium.org

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

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

10 years agoMIPS: Fix r24286 "ExtendStorageStub added, it is aimed for extending objects backing...
balazs.kilvady@imgtec.com [Mon, 29 Sep 2014 15:59:38 +0000 (15:59 +0000)]
MIPS: Fix r24286 "ExtendStorageStub added, it is aimed for extending objects backing store when it runs out of space".

BUG=
R=ishell@chromium.org

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

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

10 years agoClean-up tests for super getters and setters
dslomov@chromium.org [Mon, 29 Sep 2014 15:17:03 +0000 (15:17 +0000)]
Clean-up tests for super getters and setters

R=arv@chromium.org

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

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

10 years agoES6: Implement object literal property shorthand
arv@chromium.org [Mon, 29 Sep 2014 14:15:48 +0000 (14:15 +0000)]
ES6: Implement object literal property shorthand

This allows the following:

var x = 1;
var o = {x};

This is under the --harmony-object-literals flag.

BUG=v8:3584
LOG=y
R=marja@chromium.org, rossberg@chromium.org

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

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

10 years agoSupport count operations on super named properties.
dslomov@chromium.org [Mon, 29 Sep 2014 13:56:32 +0000 (13:56 +0000)]
Support count operations on super named properties.

R=ishell@chromium.org
BUG=v8:3330
LOG=N

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

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

10 years agoAdding more missing deoptimization points in Turbofan.
jarin@chromium.org [Mon, 29 Sep 2014 13:37:58 +0000 (13:37 +0000)]
Adding more missing deoptimization points in Turbofan.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoEnable out-of-line constant pool for Arm.
rmcilroy@chromium.org [Mon, 29 Sep 2014 13:23:27 +0000 (13:23 +0000)]
Enable out-of-line constant pool for Arm.

R=ulan@chromium.org

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

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

10 years agoTake output type into account in JSTypedLowering reduction.
neis@chromium.org [Mon, 29 Sep 2014 13:15:41 +0000 (13:15 +0000)]
Take output type into account in JSTypedLowering reduction.

R=rossberg@chromium.org
BUG=

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

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

10 years agoExtendStorageStub added, it is aimed for extending objects backing store when it...
ishell@chromium.org [Mon, 29 Sep 2014 13:11:27 +0000 (13:11 +0000)]
ExtendStorageStub added, it is aimed for extending objects backing store when it runs out of space.

R=yangguo@chromium.org

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

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

10 years agoInitial implementation of GetStackSample sampling profiler API.
alph@chromium.org [Mon, 29 Sep 2014 12:59:54 +0000 (12:59 +0000)]
Initial implementation of GetStackSample sampling profiler API.

The patch is based on https://codereview.chromium.org/578163002/#ps20001
made by gholap@chromium.org

LOG=N
BUG=v8:3490
R=bmeurer@chromium.org, yurys@chromium.org

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

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

10 years agoMIPS: Stores and compound assignments for named super properties.
balazs.kilvady@imgtec.com [Mon, 29 Sep 2014 12:45:12 +0000 (12:45 +0000)]
MIPS: Stores and compound assignments for named super properties.

Port r24268 (428e63d)

BUG=v8:3330
LOG=N
R=dusan.milosavljevic@imgtec.com

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

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

10 years agoAdd a getter for the address and size of the code range to the pulic API
jochen@chromium.org [Mon, 29 Sep 2014 12:17:31 +0000 (12:17 +0000)]
Add a getter for the address and size of the code range to the pulic API

Since the x64 backend currently doesn't emit ABI compliant code, it is
not possible to unwind the stack. During Win64 SEH this will cause the
exception handling to abort, and not even call the unhandled exception
handler. Embedders are advised to install a custom unwind callback using
RtlInstallFunctionTableCallback for the entire code range to catch
unwind attempts for exception handling.

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

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

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

10 years agoDrop deprecated method for backing store from AccessBuilder.
mstarzinger@chromium.org [Mon, 29 Sep 2014 11:35:01 +0000 (11:35 +0000)]
Drop deprecated method for backing store from AccessBuilder.

R=bmeurer@chromium.org
TEST=cctest/test-simplified-lowering/RunLoadStoreArrayBuffer

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

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

10 years agoMap::Hash() calculation made deterministic in predictable mode.
ishell@chromium.org [Mon, 29 Sep 2014 11:29:43 +0000 (11:29 +0000)]
Map::Hash() calculation made deterministic in predictable mode.

BUG=v8:3563
LOG=N
R=jkummerow@chromium.org

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

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