platform/upstream/v8.git
10 years agoA64: Improve the deoptimization exit code for LMathRound.
alexandre.rames@arm.com [Thu, 20 Mar 2014 10:12:49 +0000 (10:12 +0000)]
A64: Improve the deoptimization exit code for LMathRound.

R=ulan@chromium.org

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

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

10 years agoA64: In the Simulator, corrupt caller-saved registers after runtime printf call.
alexandre.rames@arm.com [Thu, 20 Mar 2014 10:03:17 +0000 (10:03 +0000)]
A64: In the Simulator, corrupt caller-saved registers after runtime printf call.

R=ulan@chromium.org

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

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

10 years agoA64: Abstract simulation of runtime calls in a separate function.
alexandre.rames@arm.com [Thu, 20 Mar 2014 09:51:19 +0000 (09:51 +0000)]
A64: Abstract simulation of runtime calls in a separate function.

R=ulan@chromium.org

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

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

10 years agoA64: Abstract colour definitions for the Simulator tracing.
alexandre.rames@arm.com [Thu, 20 Mar 2014 09:45:17 +0000 (09:45 +0000)]
A64: Abstract colour definitions for the Simulator tracing.

R=ulan@chromium.org

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

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

10 years agoRemove unnecessary 'explicit' attribute.
yangguo@chromium.org [Thu, 20 Mar 2014 09:29:48 +0000 (09:29 +0000)]
Remove unnecessary 'explicit' attribute.

R=marja@chromium.org

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

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

10 years agoDeprecate prepare push commit when pushing to trunk.
machenbach@chromium.org [Thu, 20 Mar 2014 09:23:44 +0000 (09:23 +0000)]
Deprecate prepare push commit when pushing to trunk.

- This also deprecates using version.cc on bleeding edge.
- The deprecated push-to-trunk.sh is deleted.
- The script now commits bleeding edge HEAD by default. Committing different revisions will be added in a follow up CL.

R=jkummerow@chromium.org

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

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

10 years agoA64: clean up pending reloc info if code generation was aborted.
ulan@chromium.org [Thu, 20 Mar 2014 09:10:15 +0000 (09:10 +0000)]
A64: clean up pending reloc info if code generation was aborted.

This fixes assertion failure in destructor of Assembler.

BUG=352659
LOG=N
R=jochen@chromium.org

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

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

10 years agoMake max size and max length of strings consistent.
yangguo@chromium.org [Thu, 20 Mar 2014 08:33:06 +0000 (08:33 +0000)]
Make max size and max length of strings consistent.

R=bmeurer@chromium.org

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

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

10 years agoA64: Fix write barrier input in KeyedStoreIC::GenerateSloppyArguments.
ulan@chromium.org [Thu, 20 Mar 2014 08:32:58 +0000 (08:32 +0000)]
A64: Fix write barrier input in KeyedStoreIC::GenerateSloppyArguments.

This fixes flaky crashes in gc-stress bot:
> Fatal error in ../src/incremental-marking.cc, line 84
> CHECK(obj->IsHeapObject()) failed

BUG=353551
LOG=N
TEST=test/mjsunit/regress/regress-353551.js
R=m.m.capewell@googlemail.com

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

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

10 years agoRevert "Enable Concurrent OSR" due to A64 failures.
yangguo@chromium.org [Thu, 20 Mar 2014 08:19:25 +0000 (08:19 +0000)]
Revert "Enable Concurrent OSR" due to A64 failures.

This reverts r20096.

TBR=jkummerow@chromium.org

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

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

10 years agoEnable concurrent OSR.
yangguo@chromium.org [Thu, 20 Mar 2014 08:04:28 +0000 (08:04 +0000)]
Enable concurrent OSR.

R=jkummerow@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.25.21.
machenbach@chromium.org [Thu, 20 Mar 2014 01:04:38 +0000 (01:04 +0000)]
Prepare push to trunk.  Now working on version 3.25.21.

R=jkummerow@chromium.org
TBR=jkummerow@chromium.org

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

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

10 years agoCleanup following MicrotaskQueue abstraction
rafaelw@chromium.org [Wed, 19 Mar 2014 21:48:30 +0000 (21:48 +0000)]
Cleanup following MicrotaskQueue abstraction

https://code.google.com/p/v8/source/detail?r=19344 failed to remove the promiseEvents InternalArray.

R=rossberg@chromium.org, rossberg
LOG=N

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

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

10 years agoMIPS: Pretenure call new support.
plind44@gmail.com [Wed, 19 Mar 2014 20:00:29 +0000 (20:00 +0000)]
MIPS: Pretenure call new support.

Port r20076 (b7b1372)

Original commit message:
When FLAG_pretenure_call_new is on, we emit mementos on new object creation
in full code, and consume the feedback in crankshaft. A key difference in the
generated code for stubs is the allocation of an additional type vector slot for the
CallNew AST node, which simplifies the CallConstructStub and CallFunctionStub
considerably.

Some performance tuning still needs to be addressed, therefore the flag is off at
this moment, though fully functional. The goal is to remove the flag as soon as
possible, which allows much code deletion (yay).

BUG=
R=plind44@gmail.com

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

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

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

10 years agoElementsAccessor::SetLength() handlified.
ishell@chromium.org [Wed, 19 Mar 2014 16:29:19 +0000 (16:29 +0000)]
ElementsAccessor::SetLength() handlified.

R=yangguo@chromium.org

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

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

10 years agoARM: clean-up some stub call sequences.
rodolph.perfetta@arm.com [Wed, 19 Mar 2014 16:27:09 +0000 (16:27 +0000)]
ARM: clean-up some stub call sequences.

BUG=
R=ulan@chromium.org

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

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

10 years agoAdd FLAG_trace_bce
jkummerow@chromium.org [Wed, 19 Mar 2014 16:03:56 +0000 (16:03 +0000)]
Add FLAG_trace_bce

R=ulan@chromium.org

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

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

10 years agoFix polymorphic keyed loads for SLOPPY_ARGUMENTS_ELEMENTS
jkummerow@chromium.org [Wed, 19 Mar 2014 15:49:29 +0000 (15:49 +0000)]
Fix polymorphic keyed loads for SLOPPY_ARGUMENTS_ELEMENTS

BUG=chromium:350867
LOG=y
R=verwaest@chromium.org

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

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

10 years agoMIPS: Array constructor expects AllocationSite or undefined as feedback.
plind44@gmail.com [Wed, 19 Mar 2014 15:46:24 +0000 (15:46 +0000)]
MIPS: Array constructor expects AllocationSite or undefined as feedback.

Port r20064 (d2ccdc6)

Original commit message:
Redefine Array constructor to expect an AllocationSite in the feedback
register or undefined. This will make code simpler as we support
pretenuring feedback for all constructed objects.

BUG=
R=plind44@gmail.com

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

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

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

10 years agoRemoved obsolete and dead includes.
ulan@chromium.org [Wed, 19 Mar 2014 15:40:38 +0000 (15:40 +0000)]
Removed obsolete and dead includes.

BUG=353954
LOG=N
R=ulan@chromium.org

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

Patch from Dmitry Zvorygin <zvorygin@chromium.org>.

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

10 years agoProvide default traits for PersistentValueMap
dcarney@chromium.org [Wed, 19 Mar 2014 15:35:02 +0000 (15:35 +0000)]
Provide default traits for PersistentValueMap

Re-try of issue 201643003. This caused linker errors on Win64, since the
linker insists on seeing the StrongMapTrait method implementations even
though they are never used. This will provide default implementations
for them.

R=dcarney@chromium.org

BUG=

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

Patch from Daniel Vogelheim <vogelheim@chromium.org>.

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

10 years agoMIPS: Reland "Add out-of-line constant pool support to Arm."
plind44@gmail.com [Wed, 19 Mar 2014 15:34:17 +0000 (15:34 +0000)]
MIPS: Reland "Add out-of-line constant pool support to Arm."

Port r20053 (df27abf)

Original commit message:
This CL adds out-of-line constant pool support to Arm. A ConstantPoolBuilder
object is introduced to manage building of the ConstantPoolArray for a given
code object.

This CL depends on the following CLs landing first:
https://codereview.chromium.org/138503002/
https://codereview.chromium.org/179813005/
https://codereview.chromium.org/183553003/
https://codereview.chromium.org/183803022/
https://codereview.chromium.org/183883011/
https://codereview.chromium.org/186733006/
https://codereview.chromium.org/188063002/
https://codereview.chromium.org/190793002/
https://codereview.chromium.org/190823002/
https://codereview.chromium.org/190833002/
https://codereview.chromium.org/190883002/

BUG=
R=plind44@gmail.com

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

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

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

10 years agoMIPS: Tweaked FlooringDiv back to TruncatingDiv again.
plind44@gmail.com [Wed, 19 Mar 2014 15:27:38 +0000 (15:27 +0000)]
MIPS: Tweaked FlooringDiv back to TruncatingDiv again.

Port r20048 (8953785)

Original commit message:
This is a first step towards getting the flooring division by a
constant working again (which will be a separate CL).

BUG=
R=plind44@gmail.com

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

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

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

10 years agoArrayPop builtin handlified.
ishell@chromium.org [Wed, 19 Mar 2014 15:25:04 +0000 (15:25 +0000)]
ArrayPop builtin handlified.

R=yangguo@chromium.org

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

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

10 years agoHandlification of JSArray::SetElementsLength().
ishell@chromium.org [Wed, 19 Mar 2014 14:09:50 +0000 (14:09 +0000)]
Handlification of JSArray::SetElementsLength().

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

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

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

10 years agoMove ParseUnaryExpression into ParserBase and add tests.
marja@chromium.org [Wed, 19 Mar 2014 14:08:47 +0000 (14:08 +0000)]
Move ParseUnaryExpression into ParserBase and add tests.

This also makes PreParser produce the strict_delete error the same way as
Parser (see test).

R=rossberg@chromium.org
BUG=

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

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

10 years agoRevert "Move ParseUnaryExpression into ParserBase and add tests."
marja@chromium.org [Wed, 19 Mar 2014 13:58:15 +0000 (13:58 +0000)]
Revert "Move ParseUnaryExpression into ParserBase and add tests."

This reverts revision 20077.

Reason: build fail on some compilers.

BUG=
TBR=marja@chromium.org,rossberg@chromium.org

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

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

10 years agoMove ParseUnaryExpression into ParserBase and add tests.
marja@chromium.org [Wed, 19 Mar 2014 13:42:41 +0000 (13:42 +0000)]
Move ParseUnaryExpression into ParserBase and add tests.

This also makes PreParser produce the strict_delete error the same way as
Parser (see test).

R=rossberg@chromium.org
BUG=

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

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

10 years agoPretenure call new support.
mvstanton@chromium.org [Wed, 19 Mar 2014 13:39:09 +0000 (13:39 +0000)]
Pretenure call new support.

When FLAG_pretenure_call_new is on, we emit mementos on new object creation
in full code, and consume the feedback in crankshaft. A key difference in the
generated code for stubs is the allocation of an additional type vector slot for the
CallNew AST node, which simplifies the CallConstructStub and CallFunctionStub
considerably.

Some performance tuning still needs to be addressed, therefore the flag is off at
this moment, though fully functional. The goal is to remove the flag as soon as
possible, which allows much code deletion (yay).

R=hpayer@chromium.org

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

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

10 years agoNew compilation API, part 2.
marja@chromium.org [Wed, 19 Mar 2014 13:24:13 +0000 (13:24 +0000)]
New compilation API, part 2.

This CL makes the Parser produce the data PreParser used to produce. This
enables us to get rid of the unnecessary preparsing phase.

The first part is here: https://codereview.chromium.org/199063003/

BUG=
R=dcarney@chromium.org, svenpanne@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.25.20.
machenbach@chromium.org [Wed, 19 Mar 2014 13:13:23 +0000 (13:13 +0000)]
Prepare push to trunk.  Now working on version 3.25.20.

R=yangguo@chromium.org
TBR=yangguo@chromium.org

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

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

10 years agoRetrieve current version from trunk branch in push-to-trunk.
machenbach@chromium.org [Wed, 19 Mar 2014 13:10:41 +0000 (13:10 +0000)]
Retrieve current version from trunk branch in push-to-trunk.

- This moves retrieving and incrementing the version before creating the change log
- Before the prepare push commit will be deprecated (follow up CL), the script deals with 3 build levels. X: the current build level on the last trunk push. X + 1: the build level for this trunk push. X + 2: the build level of the new version file on bleeding edge (to be deprecated).

BUG=
R=jkummerow@chromium.org

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

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

10 years agoIntroduce API to trigger exception on JS execution.
yangguo@chromium.org [Wed, 19 Mar 2014 13:06:53 +0000 (13:06 +0000)]
Introduce API to trigger exception on JS execution.

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

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

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

10 years agoTemporarily disable evacuation verification for parallel-concurrently swept pages.
hpayer@chromium.org [Wed, 19 Mar 2014 11:56:11 +0000 (11:56 +0000)]
Temporarily disable evacuation verification for parallel-concurrently swept pages.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoArray constructor expects AllocationSite or undefined as feedback.
mvstanton@chromium.org [Wed, 19 Mar 2014 11:51:30 +0000 (11:51 +0000)]
Array constructor expects AllocationSite or undefined as feedback.

Redefine Array constructor to expect an AllocationSite in the feedback
register or undefined. This will make code simpler as we support
pretenuring feedback for all constructed objects.

R=hpayer@chromium.org

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

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

10 years agoAccount for right object size when left trimming arrays.
hpayer@chromium.org [Wed, 19 Mar 2014 11:37:56 +0000 (11:37 +0000)]
Account for right object size when left trimming arrays.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoIntroduce per-isolate assert scopes and API to guard JS execution.
yangguo@chromium.org [Wed, 19 Mar 2014 11:31:43 +0000 (11:31 +0000)]
Introduce per-isolate assert scopes and API to guard JS execution.

R=jochen@chromium.org

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

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

10 years agoAccess old space marking bits from runtime only when incremental marking is in MARKIN...
hpayer@chromium.org [Wed, 19 Mar 2014 10:48:54 +0000 (10:48 +0000)]
Access old space marking bits from runtime only when incremental marking is in MARKING state.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoRun mozilla and webkit of fast quickcheck archs as well
jochen@chromium.org [Wed, 19 Mar 2014 10:48:44 +0000 (10:48 +0000)]
Run mozilla and webkit of fast quickcheck archs as well

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

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

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

10 years agoPrepare push to trunk. Now working on version 3.25.19.
machenbach@chromium.org [Wed, 19 Mar 2014 10:48:20 +0000 (10:48 +0000)]
Prepare push to trunk.  Now working on version 3.25.19.

R=yangguo@chromium.org
TBR=yangguo@chromium.org

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

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

10 years agoDirectly modify version file on trunk branch in push-to-trunk.
machenbach@chromium.org [Wed, 19 Mar 2014 10:46:24 +0000 (10:46 +0000)]
Directly modify version file on trunk branch in push-to-trunk.

- This also shifts the push revision by one to prepare for the deprecation of the prepare push commit
- The version increment is still based on the bleeding_edge version.cc. This will be changed in a follow up CL.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoReland "Add out-of-line constant pool support to Arm."
rmcilroy@chromium.org [Wed, 19 Mar 2014 10:32:12 +0000 (10:32 +0000)]
Reland "Add out-of-line constant pool support to Arm."

This CL adds out-of-line constant pool support to Arm.  A ConstantPoolBuilder
object is introduced to manage building of the ConstantPoolArray for a given
code object.

This CL depends on the following CLs landing first:
  https://codereview.chromium.org/138503002/
  https://codereview.chromium.org/179813005/
  https://codereview.chromium.org/183553003/
  https://codereview.chromium.org/183803022/
  https://codereview.chromium.org/183883011/
  https://codereview.chromium.org/186733006/
  https://codereview.chromium.org/188063002/
  https://codereview.chromium.org/190793002/
  https://codereview.chromium.org/190823002/
  https://codereview.chromium.org/190833002/
  https://codereview.chromium.org/190883002/

R=ulan@chromium.org

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

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

10 years agoRevert "Add out-of-line constant pool support to Arm."
yangguo@chromium.org [Wed, 19 Mar 2014 09:53:58 +0000 (09:53 +0000)]
Revert "Add out-of-line constant pool support to Arm."

This reverts commit r20051.

TBR=rmcilroy@chromium.org

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

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

10 years agoAdd out-of-line constant pool support to Arm.
rmcilroy@chromium.org [Wed, 19 Mar 2014 09:38:20 +0000 (09:38 +0000)]
Add out-of-line constant pool support to Arm.

This CL adds out-of-line constant pool support to Arm.  A ConstantPoolBuilder
object is introduced to manage building of the ConstantPoolArray for a given
code object.

This CL depends on the following CLs landing first:
  https://codereview.chromium.org/138503002/
  https://codereview.chromium.org/179813005/
  https://codereview.chromium.org/183553003/
  https://codereview.chromium.org/183803022/
  https://codereview.chromium.org/183883011/
  https://codereview.chromium.org/186733006/
  https://codereview.chromium.org/188063002/
  https://codereview.chromium.org/190793002/
  https://codereview.chromium.org/190823002/
  https://codereview.chromium.org/190833002/
  https://codereview.chromium.org/190883002/

R=ulan@chromium.org

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

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

10 years agoAdded sweeping time measurement for old space sweeping.
hpayer@chromium.org [Wed, 19 Mar 2014 09:27:42 +0000 (09:27 +0000)]
Added sweeping time measurement for old space sweeping.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoIntroduce Push and Pop macro instructions for x64
haitao.feng@intel.com [Wed, 19 Mar 2014 08:59:04 +0000 (08:59 +0000)]
Introduce Push and Pop macro instructions for x64

R=verwaest@chromium.org

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

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

10 years agoTweaked FlooringDiv back to TruncatingDiv again.
svenpanne@chromium.org [Wed, 19 Mar 2014 07:01:08 +0000 (07:01 +0000)]
Tweaked FlooringDiv back to TruncatingDiv again.

This is a first step towards getting the flooring division by a
constant working again (which will be a separate CL).

R=bmeurer@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.25.18.
machenbach@chromium.org [Wed, 19 Mar 2014 01:04:33 +0000 (01:04 +0000)]
Prepare push to trunk.  Now working on version 3.25.18.

R=jkummerow@chromium.org
TBR=jkummerow@chromium.org

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

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

10 years ago(Pre)Parser unification: use shorter type names.
marja@chromium.org [Tue, 18 Mar 2014 17:05:38 +0000 (17:05 +0000)]
(Pre)Parser unification: use shorter type names.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoA64: Use appropriate return types for the simulator fpcr and nzcv members.
alexandre.rames@arm.com [Tue, 18 Mar 2014 16:44:07 +0000 (16:44 +0000)]
A64: Use appropriate return types for the simulator fpcr and nzcv members.

R=ulan@chromium.org

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

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

10 years agoRevert "First attempt at providing default traits for PersistentValueMap."
yangguo@chromium.org [Tue, 18 Mar 2014 16:32:39 +0000 (16:32 +0000)]
Revert "First attempt at providing default traits for PersistentValueMap."

This reverts r20038.

TBR=vogelheim@chromium.org

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

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

10 years agoIncrease pretenure ratio from 60% to 85%
mvstanton@chromium.org [Tue, 18 Mar 2014 15:19:35 +0000 (15:19 +0000)]
Increase pretenure ratio from 60% to 85%

As pretenure-call-new comes online, this is a better performing ratio
overall.

R=hpayer@chromium.org

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

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

10 years agoRemove Promise.cast
rossberg@chromium.org [Tue, 18 Mar 2014 15:03:35 +0000 (15:03 +0000)]
Remove Promise.cast

...as per January meeting. Renames 'cast' to 'resolve'. We rename the prior 'resolve' to 'accept', to keep the chain API usable.

R=svenpanne@chromium.org
BUG=

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

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

10 years agoA64: ElementsKind TODOs
m.m.capewell@googlemail.com [Tue, 18 Mar 2014 15:01:55 +0000 (15:01 +0000)]
A64: ElementsKind TODOs

Replace LoadElementsKind with LoadElementsKindFromMap, remove unneeded TODO in
DoStringCharFromCode, improve constraints for DoCheckValue and improve code for
ElementsKind checking in StoreArrayLiteralElementStub.

BUG=
R=ulan@chromium.org

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

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

10 years agoFirst attempt at providing default traits for PersistentValueMap.
dcarney@chromium.org [Tue, 18 Mar 2014 15:01:12 +0000 (15:01 +0000)]
First attempt at providing default traits for PersistentValueMap.

BUG=
R=dcarney@chromium.org

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

Patch from Daniel Vogelheim <vogelheim@chromium.org>.

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

10 years agoPromises: make null a legal argument for .then
rossberg@chromium.org [Tue, 18 Mar 2014 14:55:43 +0000 (14:55 +0000)]
Promises: make null a legal argument for .then

R=svenpanne@chromium.org
BUG=

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

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

10 years agoA64: Force emission of the veneer pool emission when required.
alexandre.rames@arm.com [Tue, 18 Mar 2014 14:26:26 +0000 (14:26 +0000)]
A64: Force emission of the veneer pool emission when required.

R=ulan@chromium.org

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

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

10 years agoRefactor GetCodeCopyFromTemplate to get a single point where objects are replaced...
ulan@chromium.org [Tue, 18 Mar 2014 14:15:09 +0000 (14:15 +0000)]
Refactor GetCodeCopyFromTemplate to get a single point where objects are replaced in code.

BUG=
R=verwaest@chromium.org

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

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

10 years agoA64: Handle a few TODOs.
alexandre.rames@arm.com [Tue, 18 Mar 2014 14:00:21 +0000 (14:00 +0000)]
A64: Handle a few TODOs.

Below are notes about some of the TODOs handled.

* In Simulator::Debug:
    We haven't had issues with printing in the debugger for a while. If the
    feature turns out to be still lacking an issue can be raised.

* In SubStringStub::Generate:
    There is no need to jump there. The StringCharAtGenerator is asked to set
    the result in x0, and the return sequence following only uses two instructions.
    Also, we would need to jump after the native counter increment instead of the
    return_x0 label.

* In ArrayPushStub::Generate:
    Raised an internal issue to check and update the ARM code.

* In MacroAssembler::CopyBytes:
    The new code should be faster for bulk copies. Raised an internal issue to
    investigate and improve this function.

* In MacroAssembler::EnterExitFrame:
    Unless we actually find something is wrong, this is working and looks ok.
    Also fixed the comments about the FP registers.

* Comment for BumpSystemStackPointer:
    Removed the comment at the declaration site and updated the TODO in the
    implementation.

R=ulan@chromium.org

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

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

10 years agoFix TransitionElementsKindStub to handle non-JSArray objects correctly.
ulan@chromium.org [Tue, 18 Mar 2014 13:29:29 +0000 (13:29 +0000)]
Fix TransitionElementsKindStub to handle non-JSArray objects correctly.

BUG=352982
LOG=N
TEST=mjsunit/regress/regress-352982.js
R=danno@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.25.17.
machenbach@chromium.org [Tue, 18 Mar 2014 13:02:41 +0000 (13:02 +0000)]
Prepare push to trunk.  Now working on version 3.25.17.

R=yangguo@chromium.org
TBR=yangguo@chromium.org

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

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

10 years agoDeprecate ChangeLog on bleeding_edge.
machenbach@chromium.org [Tue, 18 Mar 2014 12:46:48 +0000 (12:46 +0000)]
Deprecate ChangeLog on bleeding_edge.

- This adds a sentinel to the ChangeLog on bleeding edge.
- Modifying the ChangeLog file directly when pushing to trunk is now no longer possible. If further modifications to the ChangeLog in manual push-to-trunk mode are required (e.g. after the prepare push LGTM), the change log entry temp file must be edited.
- Functionality that is no longer needed is removed.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoHandlify callers of Object::GetElement.
yangguo@chromium.org [Tue, 18 Mar 2014 12:34:02 +0000 (12:34 +0000)]
Handlify callers of Object::GetElement.

R=ishell@chromium.org

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

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

10 years agoFix race between VisitSmiRoots and SetStackLimit.
yangguo@chromium.org [Tue, 18 Mar 2014 12:21:07 +0000 (12:21 +0000)]
Fix race between VisitSmiRoots and SetStackLimit.

R=hpayer@chromium.org

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

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

10 years agoIntroduce representation types
rossberg@chromium.org [Tue, 18 Mar 2014 11:50:18 +0000 (11:50 +0000)]
Introduce representation types

Also:
- improve type pretty-printing,
- update doc comments,
- some renamings for consistency.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoHandlification of ArrayConstructorCommon().
ishell@chromium.org [Tue, 18 Mar 2014 11:38:27 +0000 (11:38 +0000)]
Handlification of ArrayConstructorCommon().

R=yangguo@chromium.org

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

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

10 years agoAdd support for movw/movt immediate loads to BackEdgeTable on ARM to enable ool const...
rmcilroy@chromium.org [Tue, 18 Mar 2014 11:36:19 +0000 (11:36 +0000)]
Add support for movw/movt immediate loads to BackEdgeTable on ARM to enable ool constant pool.

R=rodolph.perfetta@arm.com, ulan@chromium.org

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

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

10 years agoApply numeric casts correctly in typed arrays and related code.
dslomov@chromium.org [Tue, 18 Mar 2014 10:55:29 +0000 (10:55 +0000)]
Apply numeric casts correctly in typed arrays and related code.

R=jkummerow@chromium.org
BUG=353004
LOG=Y

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

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

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

10 years agoRevert "Apply numeric casts correctly in typed arrays and related code."
dslomov@chromium.org [Tue, 18 Mar 2014 10:50:00 +0000 (10:50 +0000)]
Revert "Apply numeric casts correctly in typed arrays and related code."

This reverts commit r20020 for breaking Win64 build.

TBR=jkummerow@chromium.org

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

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

10 years agoApply numeric casts correctly in typed arrays and related code.
dslomov@chromium.org [Tue, 18 Mar 2014 10:23:50 +0000 (10:23 +0000)]
Apply numeric casts correctly in typed arrays and related code.

R=jkummerow@chromium.org
BUG=353004
LOG=Y

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

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

10 years agoStage ES6 promises and weak collections
rossberg@chromium.org [Tue, 18 Mar 2014 09:57:14 +0000 (09:57 +0000)]
Stage ES6 promises and weak collections

Split collections flag into weak and non-weak.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoRobustified address calculations on A64.
svenpanne@chromium.org [Tue, 18 Mar 2014 07:13:55 +0000 (07:13 +0000)]
Robustified address calculations on A64.

We no longer rely on the (adventurous) assumption that the class
Instruction is empty, implying sizeof(Instruction) == 1. This will
greatly simplify upcoming refactorings.

R=rodolph.perfetta@gmail.com

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

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

10 years agoPrepare push to trunk. Now working on version 3.25.16.
machenbach@chromium.org [Tue, 18 Mar 2014 01:04:55 +0000 (01:04 +0000)]
Prepare push to trunk.  Now working on version 3.25.16.

R=jkummerow@chromium.org
TBR=jkummerow@chromium.org

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

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

10 years agoMIPS: Utility functions for pretenure call new.
plind44@gmail.com [Mon, 17 Mar 2014 18:27:44 +0000 (18:27 +0000)]
MIPS: Utility functions for pretenure call new.

Port r19998 (6b07a42)

Original commit message:
These functions aren't yet called in the tree but will be in the next days. AssertUndefinedOrAllocationSite is to be used in several places where AllocationSite feedback is optional.

BUG=
R=plind44@gmail.com

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

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

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

10 years agoMIPS: Fixed spec violation of storing to length of a frozen object.
plind44@gmail.com [Mon, 17 Mar 2014 18:16:19 +0000 (18:16 +0000)]
MIPS: Fixed spec violation of storing to length of a frozen object.

Port r20005 (d647ec2)

BUG=chromium:350890
LOG=N
R=ishell@chromium.org

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

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

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

10 years agoUpdate constant pool correctly when resuming a generator
rmcilroy@chromium.org [Mon, 17 Mar 2014 17:29:03 +0000 (17:29 +0000)]
Update constant pool correctly when resuming a generator

This CL depends on the following CLs landing first:
  https://codereview.chromium.org/188063002/
  https://codereview.chromium.org/190793002/

R=ulan@chromium.org

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

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

10 years agoDon't generate keyed store ICs for global proxies.
verwaest@chromium.org [Mon, 17 Mar 2014 17:19:39 +0000 (17:19 +0000)]
Don't generate keyed store ICs for global proxies.

BUG=352983
LOG=y
R=ishell@chromium.org

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

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

10 years agoA64: Introduce a DeoptimizeIfMinusZero() helper.
alexandre.rames@arm.com [Mon, 17 Mar 2014 17:18:31 +0000 (17:18 +0000)]
A64: Introduce a DeoptimizeIfMinusZero() helper.

R=ulan@chromium.org

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

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

10 years agoFix mjsunit/compiler/concurrent-invalidate-transition-map.js test.
ulan@chromium.org [Mon, 17 Mar 2014 17:00:48 +0000 (17:00 +0000)]
Fix mjsunit/compiler/concurrent-invalidate-transition-map.js test.

BUG=v8:3156
LOG=N
R=yangguo@chromium.org

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

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

10 years agoFollow up to r20003.
marja@chromium.org [Mon, 17 Mar 2014 16:04:47 +0000 (16:04 +0000)]
Follow up to r20003.

(Fixing comments in tests.)

R=rossberg@chromium.org
BUG=

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

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

10 years agoFix date cache in strict mode.
ulan@chromium.org [Mon, 17 Mar 2014 15:47:58 +0000 (15:47 +0000)]
Fix date cache in strict mode.

BUG=v8:3220
LOG=N
TEST=mjsunit/regress/regress-3220.js
R=rossberg@chromium.org

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

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

10 years agoFixed spec violation of storing to length of a frozen object.
ishell@chromium.org [Mon, 17 Mar 2014 15:43:33 +0000 (15:43 +0000)]
Fixed spec violation of storing to length of a frozen object.

BUG=chromium:350890
LOG=N
R=verwaest@chromium.org

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

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

10 years agoMIPS: Make invalid LHSs a parse-time (reference) error
plind44@gmail.com [Mon, 17 Mar 2014 15:11:04 +0000 (15:11 +0000)]
MIPS: Make invalid LHSs a parse-time (reference) error

Port r19976 (73bbd7a)

Original commit message:
This is required by the spec. It also prevents crashes resulting from the attempt to read type feedback for the RHS of an invalid assignment which full codegen never actually allocated info for.

To do: check properly in preparser already.

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

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

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

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

10 years agoAdd tests which ensure that the data produced by the preparser is really used.
marja@chromium.org [Mon, 17 Mar 2014 15:06:33 +0000 (15:06 +0000)]
Add tests which ensure that the data produced by the preparser is really used.

R=rossberg@chromium.org
BUG=

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

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

10 years agoHandlification of ArrayConstructorCommon().
ishell@chromium.org [Mon, 17 Mar 2014 15:01:45 +0000 (15:01 +0000)]
Handlification of ArrayConstructorCommon().

R=yangguo@chromium.org

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

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

10 years agoFix ASSERT violation when BinaryOpIC::Transition recurses into itself
jkummerow@chromium.org [Mon, 17 Mar 2014 14:51:31 +0000 (14:51 +0000)]
Fix ASSERT violation when BinaryOpIC::Transition recurses into itself

BUG=chromium:352586
LOG=n
R=verwaest@chromium.org

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

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

10 years agoUtility functions for pretenure call new. These functions aren't yet called in the...
mvstanton@chromium.org [Mon, 17 Mar 2014 13:55:22 +0000 (13:55 +0000)]
Utility functions for pretenure call new. These functions aren't yet called in the tree but will be in the next days. AssertUndefinedOrAllocationSite is to be used in several places where AllocationSite feedback is optional.

R=hpayer@chromium.org

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

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

10 years agoMove ParseBinaryExpression to ParserBase.
marja@chromium.org [Mon, 17 Mar 2014 13:54:42 +0000 (13:54 +0000)]
Move ParseBinaryExpression to ParserBase.

R=mstarzinger@chromium.org
BUG=v8:3126
LOG=N

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

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

10 years agoFix branch for resetting change log in push-to-trunk.
machenbach@chromium.org [Mon, 17 Mar 2014 13:52:33 +0000 (13:52 +0000)]
Fix branch for resetting change log in push-to-trunk.

The patch is applied to ChangeLog with the "--index" option, which already updates the index of the file. For resetting the ChangeLog to the trunk revision, the trunk branch needs to be stated explicitly in the checkout, otherwise it checks out the already patched HEAD.

TEST=tools/push-to-trunk/script_test.py
R=jkummerow@chromium.org

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

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

10 years agoPretenure code generation corner case with new space COW arrays.
mvstanton@chromium.org [Mon, 17 Mar 2014 13:42:37 +0000 (13:42 +0000)]
Pretenure code generation corner case with new space COW arrays.

When advised to pretenure in crankshaft, and the boilerplate is a cow
array, move the elements to old space if it's not already there to avoid
overflowing the store buffer.

R=hpayer@chromium.org

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

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

10 years agoMove ParseConditionalExpression to ParserBase.
marja@chromium.org [Mon, 17 Mar 2014 13:36:39 +0000 (13:36 +0000)]
Move ParseConditionalExpression to ParserBase.

R=mstarzinger@chromium.org
BUG=v8:3126
LOG=N

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

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

10 years agoExpose DumpBacktrace for debugging purposes.
marja@chromium.org [Mon, 17 Mar 2014 13:33:19 +0000 (13:33 +0000)]
Expose DumpBacktrace for debugging purposes.

After this change, you can just call DumpBacktrace in any function. Previously
the only function printing stack traces was V8_Fatal, but that also terminated
the program, so not very useful for debugging.

Note that DumpBacktrace is roughly equivalent to base::debug::StackTrace
functionality in Chromium, except less fancy, but it's enough for us.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoBetter handling of constant-pool-like parts of the instruction stream.
svenpanne@chromium.org [Mon, 17 Mar 2014 13:32:39 +0000 (13:32 +0000)]
Better handling of constant-pool-like parts of the instruction stream.

This avoids e.g. trying to disassemble those parts, which could result
in failed assertions.

R=ulan@chromium.org

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

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

10 years agoDelete socket connection after debugger input loop ends.
yangguo@chromium.org [Mon, 17 Mar 2014 13:32:02 +0000 (13:32 +0000)]
Delete socket connection after debugger input loop ends.

R=svenpanne@chromium.org
BUG=v8:3193
LOG=N

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

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

10 years agoFix more WebKit test expectations
rossberg@chromium.org [Mon, 17 Mar 2014 13:06:47 +0000 (13:06 +0000)]
Fix more WebKit test expectations

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoFix Windows compile problem.
hpayer@chromium.org [Mon, 17 Mar 2014 12:17:13 +0000 (12:17 +0000)]
Fix Windows compile problem.

BUG=
R=yangguo@chromium.org

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

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

10 years agoFix WebKit and Mozilla test expectations
rossberg@chromium.org [Mon, 17 Mar 2014 12:00:40 +0000 (12:00 +0000)]
Fix WebKit and Mozilla test expectations

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoMake sure allocated objects in PrologueCallbackAlloc and EpilogueCallbackAlloc API...
hpayer@chromium.org [Mon, 17 Mar 2014 10:52:33 +0000 (10:52 +0000)]
Make sure allocated objects in PrologueCallbackAlloc and EpilogueCallbackAlloc API test are used.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoheap: allow allocation in gc prologue/epilogue
hpayer@chromium.org [Mon, 17 Mar 2014 10:38:45 +0000 (10:38 +0000)]
heap: allow allocation in gc prologue/epilogue

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

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

Patch from Fedor Indutny <fedor.indutny@gmail.com>.

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

10 years agoFix C++ compilation issue
rossberg@chromium.org [Mon, 17 Mar 2014 10:28:53 +0000 (10:28 +0000)]
Fix C++ compilation issue

TBR=marja@chromium.org
BUG=

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

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