platform/upstream/v8.git
10 years agoDo not rely on actual NaN value for testing extractps.
svenpanne@chromium.org [Tue, 15 Oct 2013 14:04:49 +0000 (14:04 +0000)]
Do not rely on actual NaN value for testing extractps.

BUG=cctest/test-assembler-ia32/AssemblerIa32Extractps, cctest/test-assembler-x64/AssemblerX64Extractps
R=bmeurer@chromium.org

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

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

10 years agoFixed bug in extractps instruction on ia32 and x64
svenpanne@chromium.org [Tue, 15 Oct 2013 12:51:58 +0000 (12:51 +0000)]
Fixed bug in extractps instruction on ia32 and x64

This is a fixed version of https://codereview.chromium.org/27097002/
which was originally written by weiliang.lin@intel.com.

R=bmeurer@chromium.org

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

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

10 years agoTransitionAndStoreStub bailout needs to transition (and store).
mvstanton@chromium.org [Tue, 15 Oct 2013 12:42:03 +0000 (12:42 +0000)]
TransitionAndStoreStub bailout needs to transition (and store).

Performance regression found in test regress-2185-2.js. The problem was
that the bailout method for TransitionAndStoreStub was not performing
the appropriate transition.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoDo not look up ArrayBuffer on global object in typed array constructor.
dslomov@chromium.org [Tue, 15 Oct 2013 11:27:12 +0000 (11:27 +0000)]
Do not look up ArrayBuffer on global object in typed array constructor.

BUG=v8:2931
R=rossberg@chromium.org

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

Patch from Ben Noordhuis <info@bnoordhuis.nl>.

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

10 years agoDelete dead code from HOptimizedGraphBuilder::VisitCompareOperation
jkummerow@chromium.org [Tue, 15 Oct 2013 11:24:37 +0000 (11:24 +0000)]
Delete dead code from HOptimizedGraphBuilder::VisitCompareOperation

R=rossberg@chromium.org

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

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

10 years agoDisable RegExpInterruption test for interpreted irregexp.
yangguo@chromium.org [Tue, 15 Oct 2013 08:59:26 +0000 (08:59 +0000)]
Disable RegExpInterruption test for interpreted irregexp.

Interrupts are not currently supported by interpreted irregexp.

R=mvstanton@chromium.org
BUG=

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

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

10 years agoRemove deprecated "i::" prefix from the pre-parser.
mstarzinger@chromium.org [Tue, 15 Oct 2013 08:57:36 +0000 (08:57 +0000)]
Remove deprecated "i::" prefix from the pre-parser.

R=ulan@chromium.org

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

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

10 years agoUnify several checking methods between parser and pre-parser.
mstarzinger@chromium.org [Tue, 15 Oct 2013 08:32:58 +0000 (08:32 +0000)]
Unify several checking methods between parser and pre-parser.

R=ulan@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.13.
mstarzinger@chromium.org [Tue, 15 Oct 2013 08:22:27 +0000 (08:22 +0000)]
Prepare push to trunk.  Now working on version 3.22.13.

R=bmeurer@chromium.org

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

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

10 years agoFix regexp interrupt test.
yangguo@chromium.org [Tue, 15 Oct 2013 08:06:01 +0000 (08:06 +0000)]
Fix regexp interrupt test.

R=jochen@chromium.org
BUG=

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

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

10 years agoIntroduce ParserBase for common code between parser and pre-parser.
mstarzinger@chromium.org [Mon, 14 Oct 2013 16:46:51 +0000 (16:46 +0000)]
Introduce ParserBase for common code between parser and pre-parser.

R=ulan@chromium.org

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

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

10 years agoRetire concurrent recompilation delay for non-stress testing.
yangguo@chromium.org [Mon, 14 Oct 2013 14:15:22 +0000 (14:15 +0000)]
Retire concurrent recompilation delay for non-stress testing.

Instead, we block concurrent recompilation until unblocked. This makes
affected tests more predictable and run shorter.

R=jkummerow@chromium.org
BUG=

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

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

10 years agoAdd histograms to track fraction of heap spaces and percentage of generated crankshaf...
mstarzinger@chromium.org [Mon, 14 Oct 2013 14:00:28 +0000 (14:00 +0000)]
Add histograms to track fraction of heap spaces and percentage of generated crankshaft code.

BUG=None
R=mstarzinger@chromium.org

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

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agoOut-of-line constant pool on Arm: Stage 2 - Introduce ConstantPoolArray object.
ulan@chromium.org [Mon, 14 Oct 2013 13:35:06 +0000 (13:35 +0000)]
Out-of-line constant pool on Arm: Stage 2 - Introduce ConstantPoolArray object.

Second stage of implementing an out-of-line constant pool on Arm.  This CL
Introduces the ConstantPoolArray object which will be used as the backing
store of out-of-line constant pools.  Nothing uses this object yet.

BUG=
R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/22601003

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agoReduce queue size in dead code elimination by eagerly processing live instructions.
titzer@chromium.org [Mon, 14 Oct 2013 13:32:02 +0000 (13:32 +0000)]
Reduce queue size in dead code elimination by eagerly processing live instructions.

BUG=
R=rmcilroy@chromium.org

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

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

10 years agoFix initial comparison combined_type
rossberg@chromium.org [Mon, 14 Oct 2013 13:25:36 +0000 (13:25 +0000)]
Fix initial comparison combined_type

R=jkummerow@chromium.org
BUG=

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

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

10 years agoAdd additional postmortem debugging metadata to support decoding two-byte
jkummerow@chromium.org [Mon, 14 Oct 2013 13:08:52 +0000 (13:08 +0000)]
Add additional postmortem debugging metadata to support decoding two-byte
strings, sliced strings, and changes to some object property representations.

R=jkummerow@chromium.org

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

Patch from David Pacheco <dap@joyent.com>.

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

10 years agoMove v8_optimized_debug default value to standalone.gypi
jkummerow@chromium.org [Mon, 14 Oct 2013 13:07:41 +0000 (13:07 +0000)]
Move v8_optimized_debug default value to standalone.gypi

This is so that Chromium can have its own overridable default value without colliding with ours.

R=mstarzinger@chromium.org

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

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

10 years agoRemove deprecated v8::preparser namespace.
mstarzinger@chromium.org [Mon, 14 Oct 2013 13:07:20 +0000 (13:07 +0000)]
Remove deprecated v8::preparser namespace.

R=ulan@chromium.org

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

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

10 years agoTrack JS allocations as they arrive with no affection on performance when tracking...
yurys@chromium.org [Mon, 14 Oct 2013 12:41:28 +0000 (12:41 +0000)]
Track JS allocations as they arrive with no affection on performance when tracking is switched off.

BUG=277984
R=hpayer@chromium.org

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

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

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

10 years agoReenable 17167: "Ensure lower <= upper bound"
rossberg@chromium.org [Mon, 14 Oct 2013 12:14:42 +0000 (12:14 +0000)]
Reenable 17167: "Ensure lower <= upper bound"

Fixed handlification bug (see 2nd patch).

Will handlify Type::Union and Type::Intersect in separate CL.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoUnify handling of position info in AST, part 3
rossberg@chromium.org [Mon, 14 Oct 2013 11:06:15 +0000 (11:06 +0000)]
Unify handling of position info in AST, part 3

* Turn CaseClause into a proper AstNode

R=yangguo@chromium.org
BUG=

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

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

10 years agoUse pages from lower to higher addresses in new space.
hpayer@chromium.org [Mon, 14 Oct 2013 09:48:44 +0000 (09:48 +0000)]
Use pages from lower to higher addresses in new space.

This CL constitutes the invariant that the top pointer in new space is always larger than objects allocated since the last new space garbage collection.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoUnify handling of position info in AST, part 2
rossberg@chromium.org [Mon, 14 Oct 2013 09:41:41 +0000 (09:41 +0000)]
Unify handling of position info in AST, part 2

* Eliminate Conditional::then/else_position and WhileStatement::condition_position.

R=yangguo@chromium.org
BUG=

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

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

10 years agoUnify handling of position info in AST, part 1
rossberg@chromium.org [Mon, 14 Oct 2013 09:24:58 +0000 (09:24 +0000)]
Unify handling of position info in AST, part 1

* AstNode now has a position info.
* Removed various ad-hoc position infos from subclasses (most of which had it).
* Position is always set with the constructor, instead of later.
* Take care to use kNoPosition in the right spots, to not crash the debugger.

Still to do:

* Eliminate Conditional::then/else_position and WhileStatement::condition_position.
* Make CaseClause a proper AstNode and eliminate its custom position.
* If possible, eliminate all uses of kNoPosition.

R=yangguo@chromium.org
BUG=

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

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

10 years agoDrop useless HForceRepresentation in BinaryOpStub.
bmeurer@chromium.org [Mon, 14 Oct 2013 09:22:34 +0000 (09:22 +0000)]
Drop useless HForceRepresentation in BinaryOpStub.

R=svenpanne@chromium.org

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

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

10 years agoReturn the new state from local analysis in flow-engine.
titzer@chromium.org [Mon, 14 Oct 2013 09:22:19 +0000 (09:22 +0000)]
Return the new state from local analysis in flow-engine.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoprofile-generator.* code clean-up
yurys@chromium.org [Mon, 14 Oct 2013 08:57:46 +0000 (08:57 +0000)]
profile-generator.* code clean-up

* Removed unused CodeEntry::CopyData
* Removed unnecessary INLINE macros

BUG=None
R=loislo@chromium.org, yangguo@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.12.
mstarzinger@chromium.org [Mon, 14 Oct 2013 08:42:54 +0000 (08:42 +0000)]
Prepare push to trunk.  Now working on version 3.22.12.

R=bmeurer@chromium.org

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

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

10 years agoHIsStringAndBranch does an implicit SMI check if necessary.
bmeurer@chromium.org [Mon, 14 Oct 2013 08:03:35 +0000 (08:03 +0000)]
HIsStringAndBranch does an implicit SMI check if necessary.

No need to test for SMI first using HIsSmiAndBranch.

R=svenpanne@chromium.org

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

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

10 years agoRemove unnecessary MarkAsDeferredCalling when changing a tagged value to double
haitao.feng@intel.com [Mon, 14 Oct 2013 06:31:01 +0000 (06:31 +0000)]
Remove unnecessary MarkAsDeferredCalling when changing a tagged value to double

R=danno@chromium.org

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

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

10 years agoMIPS: Truncate booleans to 0/1 in truncating t-to-i.
palfia@homejinni.com [Fri, 11 Oct 2013 23:37:56 +0000 (23:37 +0000)]
MIPS: Truncate booleans to 0/1 in truncating t-to-i.

Port r17166 (0a4bf790)

Original commit message:
Truncate booleans to 0/1 in truncating t-to-i.

Thanks to weiliang.lin2@gmail.com for discovering the issue.

BUG=
R=plind44@gmail.com

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

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

10 years agoMIPS: Remove BaseLoad/StoreStub compilers, and the stub-cache interface duplication.
palfia@homejinni.com [Fri, 11 Oct 2013 21:26:10 +0000 (21:26 +0000)]
MIPS: Remove BaseLoad/StoreStub compilers, and the stub-cache interface duplication.

Port r17165 (e3cb6e2e)

BUG=
R=plind44@gmail.com

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

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

10 years agoOriginal review https://codereview.chromium.org/25855005.
cira@chromium.org [Fri, 11 Oct 2013 17:54:31 +0000 (17:54 +0000)]
Original review https://codereview.chromium.org/25855005.

Reverting reverted r17148 and fixing build (test) breakage by side stepping the Windows vs. Linux issue of different Date object for the same millisecond time stamp.
We do that by using UTC Date methods (they eliminate DST problems).

Windows:
new Date(129193200000);
Sun Feb 03 1974 23:00:00 GMT-0800 (Pacific Standard Time)

Linux:
new Date(129193200000);
Mon Feb 04 1974 00:00:00 GMT-0700 (PST)

BUG=2919
R=dslomov@chromium.org, mnita@google.com

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

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

10 years agoRevert 17167: "Ensure lower <= upper bound"
danno@chromium.org [Fri, 11 Oct 2013 16:41:34 +0000 (16:41 +0000)]
Revert 17167:  "Ensure lower <= upper bound"

Due to crashes in nosnap ia32

TBR=rossberg@chromium.org

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

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

10 years agoAdding Cira & Mihai to OWNERS for internationalization (i18n)
danno@chromium.org [Fri, 11 Oct 2013 15:24:45 +0000 (15:24 +0000)]
Adding Cira & Mihai to OWNERS for internationalization (i18n)

Keeping the names together so that I can put one comment for both.
Might also sort alphabetically, with the comment after each email.
Not sure what option was best, I have seen it done both ways.

R=cira@chromium.org, danno@chromium.org

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

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

10 years agoEnsure lower <= upper bound
rossberg@chromium.org [Fri, 11 Oct 2013 15:17:58 +0000 (15:17 +0000)]
Ensure lower <= upper bound

R=jkummerow@chromium.org
BUG=

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

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

10 years agoTruncate booleans to 0/1 in truncating t-to-i.
olivf@chromium.org [Fri, 11 Oct 2013 15:13:12 +0000 (15:13 +0000)]
Truncate booleans to 0/1 in truncating t-to-i.

Thanks to weiliang.lin2@gmail.com for discovering the issue.

BUG=
R=bmeurer@chromium.org

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

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

10 years agoRemove BaseLoad/StoreStub compilers, and the stub-cache interface duplication.
verwaest@chromium.org [Fri, 11 Oct 2013 14:05:23 +0000 (14:05 +0000)]
Remove BaseLoad/StoreStub compilers, and the stub-cache interface duplication.

R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/26873002

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

10 years agoFix pre-parsing of 'use strict' directive after string literals.
mstarzinger@chromium.org [Fri, 11 Oct 2013 14:03:54 +0000 (14:03 +0000)]
Fix pre-parsing of 'use strict' directive after string literals.

R=ulan@chromium.org
TEST=mjsunit/regress/regress-parse-use-strict

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

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

10 years agoMinor tweaks to types cctest
rossberg@chromium.org [Fri, 11 Oct 2013 13:59:01 +0000 (13:59 +0000)]
Minor tweaks to types cctest

R=verwaest@chromium.org
BUG=

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

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

10 years agoUnify ComputeLoad/StoreHandler and dispatch on compile.
verwaest@chromium.org [Fri, 11 Oct 2013 13:54:14 +0000 (13:54 +0000)]
Unify ComputeLoad/StoreHandler and dispatch on compile.

BUG=
R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/26831002

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

10 years agoCentralize handler caching and probing in ic.cc.
verwaest@chromium.org [Fri, 11 Oct 2013 13:48:14 +0000 (13:48 +0000)]
Centralize handler caching and probing in ic.cc.
Also purge invalid POLYMORPHIC stubs. In a next step the compilers should probably be merged and the "Compute*" on the stub-cache removed.

BUG=
R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/25548009

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

10 years agoRemove dead IsEqualString and IsEqualNumber method.
mstarzinger@chromium.org [Fri, 11 Oct 2013 13:40:08 +0000 (13:40 +0000)]
Remove dead IsEqualString and IsEqualNumber method.

R=hpayer@chromium.org

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

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

10 years agoImplement first version of HFlowEngine, a framework for performing global flow-sensit...
titzer@chromium.org [Fri, 11 Oct 2013 13:00:42 +0000 (13:00 +0000)]
Implement first version of HFlowEngine, a framework for performing global flow-sensitive analyses.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoAdd a slow stub for store ICs.
verwaest@chromium.org [Fri, 11 Oct 2013 10:50:26 +0000 (10:50 +0000)]
Add a slow stub for store ICs.

BUG=
R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/26807003

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

10 years agoPrepare push to trunk. Now working on version 3.22.11.
mvstanton@chromium.org [Fri, 11 Oct 2013 10:34:17 +0000 (10:34 +0000)]
Prepare push to trunk.  Now working on version 3.22.11.

R=verwaest@chromium.org
BUG=

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

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

10 years agoAllow FastCloneShallowObjectStub to use AllocationMementos.
mvstanton@chromium.org [Fri, 11 Oct 2013 09:25:14 +0000 (09:25 +0000)]
Allow FastCloneShallowObjectStub to use AllocationMementos.
(currently turned off)

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoRevert r17018 - "Turn on handle zapping for release builds"
jochen@chromium.org [Fri, 11 Oct 2013 07:42:43 +0000 (07:42 +0000)]
Revert r17018 - "Turn on handle zapping for release builds"

BUG=none
R=jkummerow@chromium.org

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

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

10 years agoLoad/Store cannot handle double representation.
bmeurer@chromium.org [Fri, 11 Oct 2013 07:12:06 +0000 (07:12 +0000)]
Load/Store cannot handle double representation.

Assert that the representation for Load/Store in the X64 MacroAssembler
is never Double. Also add missing test case for the Load/Store macros.

TEST=cctest/test-macro-assembler-x64
R=mvstanton@chromium.org

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

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

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

10 years agoAdd instruction factories to HHasInstanceTypeAndBranch.
dslomov@chromium.org [Thu, 10 Oct 2013 20:01:42 +0000 (20:01 +0000)]
Add instruction factories to HHasInstanceTypeAndBranch.

R=bmeurer@chromium.org

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

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

10 years agoRevert "Fixing timezone issues with date-time/parse-* tests."
dslomov@chromium.org [Thu, 10 Oct 2013 19:43:05 +0000 (19:43 +0000)]
Revert "Fixing timezone issues with date-time/parse-* tests."

This reverts commit r17148 for breaking tests on Windows.

TBR=cira@google.com,titzer@chromium.org

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

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

10 years agoFixing timezone issues with date-time/parse-* tests.
cira@chromium.org [Thu, 10 Oct 2013 17:54:33 +0000 (17:54 +0000)]
Fixing timezone issues with date-time/parse-* tests.

BUG=2919
TEST=All tests passing when local timezone was set to EST.
R=mnita@google.com, titzer@chromium.org

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

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

10 years agoOnly set binary operation side effects flags, when observable.
olivf@chromium.org [Thu, 10 Oct 2013 16:49:25 +0000 (16:49 +0000)]
Only set binary operation side effects flags, when observable.

BUG=
R=verwaest@chromium.org

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

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

10 years agoHandlify GetPropertyWithFailedAccessCheck.
yangguo@chromium.org [Thu, 10 Oct 2013 15:38:52 +0000 (15:38 +0000)]
Handlify GetPropertyWithFailedAccessCheck.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoHandlify JSObject::GetProperty????Interceptor.
yangguo@chromium.org [Thu, 10 Oct 2013 15:27:02 +0000 (15:27 +0000)]
Handlify JSObject::GetProperty????Interceptor.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoFix potential deopt-loop introduced in r17143.
olivf@chromium.org [Thu, 10 Oct 2013 14:54:31 +0000 (14:54 +0000)]
Fix potential deopt-loop introduced in r17143.

TBR=verwaest@chromium.org
BUG=

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

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

10 years agoFixing tagged binary operation input type feedback.
olivf@chromium.org [Thu, 10 Oct 2013 13:32:00 +0000 (13:32 +0000)]
Fixing tagged binary operation input type feedback.

BUG=
R=verwaest@chromium.org

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

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

10 years agoAdd column getter to CpuProfileNode
yurys@chromium.org [Thu, 10 Oct 2013 13:15:47 +0000 (13:15 +0000)]
Add column getter to CpuProfileNode

CpuProfileNode currently exposes only line number which is not enough for the cases when there is more than one function on the same line. This change exposes column number on CpuProfileNode.

BUG=302537
R=jkummerow@chromium.org, loislo@chromium.org

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

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

10 years agoEnable weak embedded objects in optimized code with a fix for heap verifier.
ulan@chromium.org [Thu, 10 Oct 2013 13:14:37 +0000 (13:14 +0000)]
Enable weak embedded objects in optimized code with a fix for heap verifier.

BUG=v8:2073
R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/25702008

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

10 years agoUnflake cctest/test-cpu-profiler/JsNativeJsRuntimeJsSample on Win32 Debug
yurys@chromium.org [Thu, 10 Oct 2013 13:03:41 +0000 (13:03 +0000)]
Unflake cctest/test-cpu-profiler/JsNativeJsRuntimeJsSample on Win32 Debug

Profiler is now started from JavaScript. Since we always capture stack trace when starting profiler there should always be at least one expected sample in the profile.

Also changed ProfilerEventsProcessor::AddCurrentStack to make sure it call TickSample::Init to instead of custom initialization code.

BUG=v8:2920
R=jkummerow@chromium.org

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

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

10 years agoMore precise type lub for numbers
rossberg@chromium.org [Thu, 10 Oct 2013 12:30:06 +0000 (12:30 +0000)]
More precise type lub for numbers

R=jkummerow@chromium.org
BUG=v8:2910

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

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

10 years agoRevert "Load/Store cannot handle double representation."
rossberg@chromium.org [Thu, 10 Oct 2013 12:28:52 +0000 (12:28 +0000)]
Revert "Load/Store cannot handle double representation."

This reverts r17135 -- test crashes on x64.

TBR=bmeurer@chromium.org
BUG=

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

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

10 years agoUnify and fix checkers for duplicate object literal properties.
mstarzinger@chromium.org [Thu, 10 Oct 2013 11:58:16 +0000 (11:58 +0000)]
Unify and fix checkers for duplicate object literal properties.

R=ulan@chromium.org
TEST=preparser/duplicate-property,mjsunit/regress/regress-parse-object-literal

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

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

10 years agoLoad/Store cannot handle double representation.
bmeurer@chromium.org [Thu, 10 Oct 2013 11:42:00 +0000 (11:42 +0000)]
Load/Store cannot handle double representation.

Assert that the representation for Load/Store in the X64 MacroAssembler
is never Double. Also add missing test case for the Load/Store macros.

TEST=cctest/test-macro-assembler-x64
R=mvstanton@chromium.org

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

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

10 years agoAdd myself to a watchlist for the public API.
jkummerow@chromium.org [Thu, 10 Oct 2013 11:37:48 +0000 (11:37 +0000)]
Add myself to a watchlist for the public API.

See https://groups.google.com/d/msg/v8-users/jq8k9s4xEu8/N-es0or3uz4J

BUG=none
R=jkummerow@chromium.org

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

Patch from PaweÅ‚ Hajdan Jr. <phajdan.jr@chromium.org>.

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

10 years agoFix windows shared library build.
ulan@chromium.org [Thu, 10 Oct 2013 10:59:02 +0000 (10:59 +0000)]
Fix windows shared library build.

R=svenpanne@chromium.org

Review URL: https://chromiumcodereview.appspot.com/26814002

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

10 years agoOnly crosscompile binary op stubs if we compile a snapshot.
olivf@chromium.org [Thu, 10 Oct 2013 10:37:18 +0000 (10:37 +0000)]
Only crosscompile binary op stubs if we compile a snapshot.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoUse the new introduced block's reachable flag.
verwaest@chromium.org [Thu, 10 Oct 2013 09:35:35 +0000 (09:35 +0000)]
Use the new introduced block's reachable flag.

BUG=
R=verwaest@chromium.org

Review URL: https://chromiumcodereview.appspot.com/26459002

Patch from Weiliang Lin <weiliang.lin2@gmail.com>.

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

10 years agoPrepare push to trunk. Now working on version 3.22.10.
mvstanton@chromium.org [Thu, 10 Oct 2013 09:23:28 +0000 (09:23 +0000)]
Prepare push to trunk.  Now working on version 3.22.10.

R=verwaest@chromium.org

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

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

10 years agoRevert "Debug: Allow stepping into on a given call frame."
mvstanton@chromium.org [Thu, 10 Oct 2013 09:05:28 +0000 (09:05 +0000)]
Revert "Debug: Allow stepping into on a given call frame."

This reverts commit r17095.
There were test failures (flaky).

BUG=chromium:296963
R=yangguo@chromium.org

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

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

10 years agoSimplify redundant phi elimination and use during canonicalization too.
titzer@chromium.org [Thu, 10 Oct 2013 08:50:44 +0000 (08:50 +0000)]
Simplify redundant phi elimination and use during canonicalization too.

BUG=
R=verwaest@chromium.org

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

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

10 years agoEnsure only whitelisted stubs have sse2 versions in the snapshot.
olivf@chromium.org [Thu, 10 Oct 2013 08:45:40 +0000 (08:45 +0000)]
Ensure only whitelisted stubs have sse2 versions in the snapshot.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoRevert "Unify and fix checkers for duplicate object literal properties."
mvstanton@chromium.org [Thu, 10 Oct 2013 08:45:19 +0000 (08:45 +0000)]
Revert "Unify and fix checkers for duplicate object literal properties."

This reverts commit 12c68518bd2c74dc4e44d928c84c17f98ca63359.
(r17114)

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

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

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

10 years agoImplement ArrayBuffer.isView.
dslomov@chromium.org [Thu, 10 Oct 2013 08:36:44 +0000 (08:36 +0000)]
Implement ArrayBuffer.isView.

R=rossberg@chromium.org

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

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

10 years agoGet rid of the HInstanceSize instruction.
bmeurer@chromium.org [Fri, 4 Oct 2013 19:04:34 +0000 (19:04 +0000)]
Get rid of the HInstanceSize instruction.

R=mstarzinger@chromium.org

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

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

10 years agoUnify and fix checkers for duplicate object literal properties.
mstarzinger@chromium.org [Fri, 4 Oct 2013 16:58:01 +0000 (16:58 +0000)]
Unify and fix checkers for duplicate object literal properties.

R=ulan@chromium.org
TEST=preparser/duplicate-property

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

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

10 years agoRemove obsolete preparser binary.
mstarzinger@chromium.org [Fri, 4 Oct 2013 16:21:23 +0000 (16:21 +0000)]
Remove obsolete preparser binary.

R=danno@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.9.
jkummerow@chromium.org [Fri, 4 Oct 2013 15:31:39 +0000 (15:31 +0000)]
Prepare push to trunk.  Now working on version 3.22.9.

R=mvstanton@chromium.org

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

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

10 years agoFix shared_library build after r17107
jkummerow@chromium.org [Fri, 4 Oct 2013 14:53:16 +0000 (14:53 +0000)]
Fix shared_library build after r17107

R=rmcilroy@chromium.org

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

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

10 years agoMIPS: Hydrogenisation of binops
jkummerow@chromium.org [Fri, 4 Oct 2013 12:31:57 +0000 (12:31 +0000)]
MIPS: Hydrogenisation of binops

Port r17104.

R=olivf@chromium.org

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

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

10 years agoExplicitly include defaults.cc in the shared_library gyp target.
jkummerow@chromium.org [Fri, 4 Oct 2013 11:57:42 +0000 (11:57 +0000)]
Explicitly include defaults.cc in the shared_library gyp target.

Explicitly include defaults.cc in the shared_library gyp target, otherwise
the whole compilation unit is stripped by the Windows linker, since none of it's
symbols are referenced by any other compilation unit in V8.

BUG=None
R=jkummerow@chromium.org

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

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agoCalm down GCMole after r17104.
olivf@chromium.org [Fri, 4 Oct 2013 11:25:30 +0000 (11:25 +0000)]
Calm down GCMole after r17104.

TBR=jkummerow@chromium.org
BUG=

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

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

10 years agoBump code space size for cctest/DeserializeFromSecondSerialization.
olivf@chromium.org [Fri, 4 Oct 2013 11:11:50 +0000 (11:11 +0000)]
Bump code space size for cctest/DeserializeFromSecondSerialization.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoReland "Hydrogenisation of binops"
olivf@chromium.org [Fri, 4 Oct 2013 08:17:11 +0000 (08:17 +0000)]
Reland "Hydrogenisation of binops"

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoDisable weak embedded objects in optimized code because of failing test.
ulan@chromium.org [Fri, 4 Oct 2013 07:50:36 +0000 (07:50 +0000)]
Disable weak embedded objects in optimized code because of failing test.

BUG=test/mjsunit/json.js fails
R=bmeurer@chromium.org

Review URL: https://chromiumcodereview.appspot.com/25982002

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

10 years agoMake objects embedded in optimized code weak.
ulan@chromium.org [Fri, 4 Oct 2013 07:25:24 +0000 (07:25 +0000)]
Make objects embedded in optimized code weak.

This introduces a global weak hash table that maps objects embedded in
optimized code to dependent code lists. Using this table we can deoptimize
optimized code whenever a weak object embedded in the code dies.

BUG=v8:2073
R=hpayer@chromium.org, mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23477061

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

10 years agoFix SmiMove unit test.
bmeurer@chromium.org [Fri, 4 Oct 2013 07:21:31 +0000 (07:21 +0000)]
Fix SmiMove unit test.

TEST=cctest/test-macro-assembler-x64.cc
R=ulan@chromium.org

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

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

10 years agoAdd support to load/store byte fields.
bmeurer@chromium.org [Fri, 4 Oct 2013 07:13:43 +0000 (07:13 +0000)]
Add support to load/store byte fields.

This adds a new Byte representation and support for zero-extended
loads in HLoadNamedField and truncated stores in HStoreNamedField.

R=mvstanton@chromium.org

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

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

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

10 years agoRevert "Add support to load/store byte fields." and "MIPS: Add support to load/store...
bmeurer@chromium.org [Fri, 4 Oct 2013 05:47:35 +0000 (05:47 +0000)]
Revert "Add support to load/store byte fields." and "MIPS: Add support to load/store byte fields.".

This reverts commit r17079 and r17085. Will reland after fix.

TBR=jkummerow@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.8.
jkummerow@chromium.org [Thu, 3 Oct 2013 12:13:01 +0000 (12:13 +0000)]
Prepare push to trunk.  Now working on version 3.22.8.

R=verwaest@chromium.org

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

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

10 years agoDebug: Allow stepping into on a given call frame.
yurys@chromium.org [Thu, 3 Oct 2013 07:42:44 +0000 (07:42 +0000)]
Debug: Allow stepping into on a given call frame.

BUG=chromium:296963
R=yangguo@chromium.org, yurys

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

Patch from Andrey Adaikin <aandrey@chromium.org>.

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

10 years agoUse StackArgumenstAccessor and kPCOnStackSize/kFPOnStackSize to compute stack address...
haitao.feng@intel.com [Thu, 3 Oct 2013 01:22:25 +0000 (01:22 +0000)]
Use StackArgumenstAccessor and kPCOnStackSize/kFPOnStackSize to compute stack address/operand for X64

R=danno@chromium.org

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

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

10 years agoUse StackArgumentsAccessor for PropertyCallback and FunctionCallback for X64
haitao.feng@intel.com [Thu, 3 Oct 2013 00:33:23 +0000 (00:33 +0000)]
Use StackArgumentsAccessor for PropertyCallback and FunctionCallback for X64

R=danno@chromium.org

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

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

10 years agoMIPS: Fix test262 failures and x64 compile failure.
plind44@gmail.com [Wed, 2 Oct 2013 18:19:44 +0000 (18:19 +0000)]
MIPS: Fix test262 failures and x64 compile failure.

Port r17082 (fc909df)

BUG=
R=plind44@gmail.com

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

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

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

10 years agoInline some more compare operations.
olivf@chromium.org [Wed, 2 Oct 2013 18:15:57 +0000 (18:15 +0000)]
Inline some more compare operations.

BUG=
R=hpayer@chromium.org

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

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

10 years agoAvoid allocations in Object.observe access check tests
adamk@chromium.org [Wed, 2 Oct 2013 18:06:20 +0000 (18:06 +0000)]
Avoid allocations in Object.observe access check tests

BUG=v8:2907
R=mstarzinger@chromium.org

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

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

10 years agoDon't use StubType to probe the code caches.
verwaest@chromium.org [Wed, 2 Oct 2013 17:23:30 +0000 (17:23 +0000)]
Don't use StubType to probe the code caches.
There is only one stub-type in the cache at all times. By ignoring the type up-front, we can in a later phase move cache probing before even computing the type.

BUG=
R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/25520003

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

10 years agoUse PatchCache for call ICs.
verwaest@chromium.org [Wed, 2 Oct 2013 17:20:58 +0000 (17:20 +0000)]
Use PatchCache for call ICs.

R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/25464004

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

10 years agoCleanup map deprecation handling in the ICs
verwaest@chromium.org [Wed, 2 Oct 2013 17:18:13 +0000 (17:18 +0000)]
Cleanup map deprecation handling in the ICs

R=ulan@chromium.org

Review URL: https://chromiumcodereview.appspot.com/25529002

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