Commit Graph

15808 Commits

Author SHA1 Message Date
mstarzinger@chromium.org
d485208002 Fix another assertion in the context typer.
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23723 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 09:47:36 +00:00
jarin@chromium.org
b74fae5511 Fix EvacuateJSFunction to obtain the target address from the forwarding pointer.
R=mstarzinger@chromium.org
BUG=410912
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 09:38:04 +00:00
balazs.kilvady@imgtec.com
835b000a72 MIPS: Introduce code stub constructors for stub keys.
Port r23716 (9118048)

BUG=
R=dusan.milosavljevic@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 09:37:43 +00:00
machenbach@chromium.org
a6a9adb552 [Auto-roll] Bump up version to 3.29.45.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 09:34:16 +00:00
yangguo@chromium.org
42f94d59c9 Fix null-dereference in r23716.
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23717 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 08:04:37 +00:00
yangguo@chromium.org
2e80f58239 Introduce code stub constructors for stub keys.
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23716 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 07:44:31 +00:00
weiliang.lin@intel.com
547589e280 X87: Remove dead code for inline string hashing.
port r23689.

original commit message:

  Remove dead code for inline string hashing.

  This has become obsolete since hydrogenized StringAdd.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23714 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 07:29:08 +00:00
weiliang.lin@intel.com
c8f1f20477 X87: CallDescriptors::InitializeForIsolate() is no longer needed.
port r23652.

original commit message:

  CallDescriptors::InitializeForIsolate() is no longer needed.

  CallInterfaceDescriptors initialize themselves lazily. Soon we can also tear
  down the CodeStubInterfaceDescriptor explicit initialization step.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23713 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 07:25:00 +00:00
weiliang.lin@intel.com
7cecf80c43 X87: Clean up code stubs and ensure distinct major keys.
port r23655.

original commit message:

  Clean up code stubs and ensure distinct major keys.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 07:07:07 +00:00
weiliang.lin@intel.com
48c61115ec X87: Minor-key-ify remaining code stubs
port r23643.

original commit message:

  Minor-key-ify remaining code stubs

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23711 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 06:41:24 +00:00
weiliang.lin@intel.com
276c2a0dec X87: enable snapshot
Tweak LConstantD and LStoreKeyed to avoid fp register spilling

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23710 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 05:22:41 +00:00
machenbach@chromium.org
9f85021297 [Auto-roll] Bump up version to 3.29.44.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 05:04:15 +00:00
weiliang.lin@intel.com
7a690932aa X87: Make concrete classes for individual call descriptors
port r23639

original commit message:

  Make concrete classes for individual call descriptors. The
  ic-convention classes that hold register specifications are
  merged into these new call descriptor classes, which should
  represent a final home for that information.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23708 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-05 02:11:31 +00:00
machenbach@chromium.org
f3d39dc4d0 [Auto-roll] Bump up version to 3.29.42.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23704 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 17:04:13 +00:00
titzer@chromium.org
4923810a68 Remove redundant --always-full-compiler flag.
R=mstarzinger@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23703 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 16:29:47 +00:00
mstarzinger@chromium.org
bb025c1ceb Remove overly complex MachineNodeFactory.
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23702 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 16:29:40 +00:00
balazs.kilvady@imgtec.com
447f2839e7 MIPS: Remove dead code for inline string hashing.
Port r23689 (e8762c3)

Original commit message:
This has become obsolete since hydrogenized StringAdd.

BUG=
R=dusan.milosavljevic@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23701 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 15:25:19 +00:00
jarin@chromium.org
1afada8d04 Ignore numbers as values of --expose-natives-as flag.
R=yangguo@chromium.org
BUG=408036
LOG=N

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23700 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 15:05:06 +00:00
jarin@chromium.org
b3b4e3eea5 Fix deoptimization of context.
We need to handle the case where the context was removed by dead code
elimination. In that case, we just use the context from the activation
(or from the inlined function if we are inlined).

For reference, here is the CL that introduced the bug: https://codereview.chromium.org/522873002

BUG=410566
LOG=N
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23699 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 14:52:52 +00:00
titzer@chromium.org
0ee34c8354 Fix OptimizeFunctionOnNextCall fix.
R=yangguo@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23698 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 14:07:17 +00:00
mstarzinger@chromium.org
4539e9b936 Remove deprecated PrintableUnique.
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23697 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 13:45:05 +00:00
verwaest@chromium.org
2b6f5d6a9a Use a switch over it-state to compiler handlers
BUG=
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 13:18:15 +00:00
verwaest@chromium.org
9f57d62618 Get rid of special property_encoding flag on the LookupIterator
BUG=
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23695 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 13:17:04 +00:00
erik.corry@gmail.com
a13d748e4d Regexp: Refactor ChoiceNode::Emit
BUG=
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23694 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 12:47:13 +00:00
verwaest@chromium.org
3ef094402e Flatten property_kind into state. Add UNKNOWN as a state for dict-mode receivers
BUG=
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23692 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 12:28:13 +00:00
bmeurer@chromium.org
0baf275e20 Enforce correct number comparisons when inlining Array.indexOf.
TEST=mjsunit/regress/regress-crbug-407946
BUG=407946
LOG=y
R=verwaest@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23691 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 12:25:57 +00:00
yangguo@chromium.org
5294179e4c Remove dead code for inline string hashing.
This has become obsolete since hydrogenized StringAdd.

R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23689 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 12:15:09 +00:00
bmeurer@chromium.org
94671afb84 Make MSVC happy again.
TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23688 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 11:43:20 +00:00
titzer@chromium.org
67b89f9db6 Fix %OptimizeFunctionOnNextCall to actually work when the function has not yet been compiled.
R=yangguo@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23687 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 11:27:20 +00:00
bmeurer@chromium.org
7712ed28e8 [turbofan] Initial version of ValueNumberingReducer.
TEST=compiler-unittests,cctest,mjsunit
R=mstarzinger@chromium.org, jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 11:13:35 +00:00
bmeurer@chromium.org
e75c2dfef2 Fix invalid reinterpret_cast.
TBR=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23685 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 10:58:20 +00:00
bmeurer@chromium.org
7c085aa4d9 [turbofan] More const-correctness changes.
Also get rid of the DeleteNode and ChangeOperator methods in Graph.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23684 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 10:55:58 +00:00
mstarzinger@chromium.org
51894ec36c Move StructuredMachineAssembler into cctest suite.
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23681 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 10:23:51 +00:00
bmeurer@chromium.org
c8ffed8879 [turbofan] Make sure Operator is really immutable.
Make Operator const-correct in preparation for allocating sharing
Operators across different isolates (using LazyInstance).

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23677 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 09:37:25 +00:00
bmeurer@chromium.org
b1eca2cea7 [turbofan] Properly delete nodes in the GraphReducer.
This is required to enable a value numbering reducer, which needs to be
able to recognize "dead nodes".

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23675 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 09:22:10 +00:00
akos.palfi@imgtec.com
fdfe006ed7 MIPS: Clean up code stubs and ensure distinct major keys.
Port r23655 (6327324d)

BUG=
R=machenbach@chromium.org, paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 08:59:42 +00:00
bmeurer@chromium.org
31718c550e Refactor common unit test code.
TEST=compiler-unittests
BUG=v8:3489
LOG=n
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23673 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 08:44:03 +00:00
weiliang.lin@intel.com
65ef6c05e1 X87: Unify some PlatformCodeStubs
port r23631.

original commit message:

  Unify some PlatformCodeStubs

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23670 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 05:37:17 +00:00
akos.palfi@imgtec.com
7fd8a96199 MIPS: CallDescriptors::InitializeForIsolate() is no longer needed.
Port r23652 (3bd900e4)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 00:08:31 +00:00
akos.palfi@imgtec.com
e5aaf742b8 MIPS: Minor-key-ify remaining code stubs.
Port r23643 (0051736b)

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23668 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-04 00:06:56 +00:00
balazs.kilvady@imgtec.com
fe0b82d1e4 MIPS: Make concrete classes for individual call descriptors. - internal
Port r23639 (e5a2758)

Original commit message:
The ic-convention classes that hold register specifications are merged into these new call descriptor classes, which should represent a final home for that information.

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 18:19:54 +00:00
balazs.kilvady@imgtec.com
2e6db8658f Fix r23638 "Convert Linkage to use MachineSignature." for crankshaft only architectures.
BUG=
R=paul.lind@imgtec.com, titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23665 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 16:29:31 +00:00
sigurds@chromium.org
f7d5558a7a Reland "Make FrameStates recursive (to be used for inlining).".
Reland fixes:
- Verifier is now aware of sentinel value for FrameState chains.

R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23662 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 14:10:20 +00:00
verwaest@chromium.org
5941bb4e73 Never skip access checks in the lookup iterator
BUG=
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23661 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 14:05:55 +00:00
mstarzinger@chromium.org
96ae555e09 Fix Win64 compilation failure after r23657.
TBR=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23660 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 13:54:25 +00:00
mstarzinger@chromium.org
e92aeec9f8 Fix Clang compilation after r23657.
TBR=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23658 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 13:39:37 +00:00
mstarzinger@chromium.org
7a4d916e7b Remove usages of alloca() according to style guide.
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23657 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 13:23:37 +00:00
yangguo@chromium.org
7540c6cedb Remove incorrect FINAL attribute from MajorKey declarations.
TBR=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23656 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 13:23:07 +00:00
yangguo@chromium.org
62ba2c8b7f Clean up code stubs and ensure distinct major keys.
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23655 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 13:14:55 +00:00
balazs.kilvady@imgtec.com
25efa1e88c MIPS: Unify some PlatformCodeStubs.
Port r23631 (87d82e2)

BUG=
R=dusan.milosavljevic@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23654 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 12:51:06 +00:00
mstarzinger@chromium.org
01b9f4e2d3 Lower simplified StringLessThan[OrEqual] to runtime call.
R=titzer@chromium.org
TEST=cctest/test-simplified-lowering/LowerStringOps_to_call_and_compare

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23653 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 12:43:41 +00:00
mvstanton@chromium.org
dd6d2e0737 CallDescriptors::InitializeForIsolate() is no longer needed.
CallInterfaceDescriptors initialize themselves lazily. Soon we can also tear
down the CodeStubInterfaceDescriptor explicit initialization step.

R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23652 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 12:25:13 +00:00
verwaest@chromium.org
3e032ad9b6 Enable access checks when loading properties through the API
BUG=
R=haraken@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23651 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 12:16:09 +00:00
verwaest@chromium.org
03b0237e1d Fix loading non-configurable non-writable value from a constant with mismatching type feedback
BUG=410209
LOG=n
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23650 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 12:13:46 +00:00
yangguo@chromium.org
8509ddc47a Remove unnecessary member variables in RecordWrite on ARM64.
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23646 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 11:59:24 +00:00
yangguo@chromium.org
3ef636f7fa Minor-key-ify remaining code stubs.
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23643 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 11:41:54 +00:00
mstarzinger@chromium.org
3071a64f5f Fix typed lowering of JSToBoolean on number inputs.
R=titzer@chromium.org
TEST=cctest/test-js-typed-lowering/JSToBoolean_replacement

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23642 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 11:35:19 +00:00
mstarzinger@chromium.org
bd4b82ad18 Fix missing visitation of effect inputs to loads and stores.
R=titzer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23641 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 11:30:05 +00:00
Jacob.Bramley@arm.com
2174796beb ARM64: Use templates for simulated memory accesses.
This cleans up the memory interface somewhat, and also avoids a memcpy
call that the compiler can't optimise away.

BUG=
R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23640 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 11:11:36 +00:00
mvstanton@chromium.org
c2fe5b2b68 Make concrete classes for individual call descriptors. The ic-convention classes that hold register specifications are merged into these new call descriptor classes, which should represent a final home for that information.
R=yangguo@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23639 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 10:51:51 +00:00
titzer@chromium.org
e1a948a6f8 Convert Linkage to use MachineSignature.
This simplifies the handling of MachineTypes for parameters and returns
used in tests, and overall improves the regularity with which they
are handled in both tests and in CallDescriptor.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23638 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 10:13:21 +00:00
bmeurer@chromium.org
dcf4bd63d0 [turbofan] Finish nodes are always marked as references.
TEST=compiler-unittests,cctest
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23636 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 08:49:21 +00:00
weiliang.lin@intel.com
327d2389cc X87: First step to cleanup the power-of-2 mess
port r23617.

original commit message:

   First step to cleanup the power-of-2 mess

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23632 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 07:48:57 +00:00
yangguo@chromium.org
d0c3652d96 Unify some PlatformCodeStubs.
R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23631 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 07:20:03 +00:00
machenbach@chromium.org
c54ba398e2 [Auto-roll] Bump up version to 3.29.39.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23630 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 07:06:44 +00:00
weiliang.lin@intel.com
61805bd570 X87: Minor-key-ify four stubs.
port r23605.

orginal commit message:
  - Minor-key-ify four stubs.
  - ICCompareStub
  - BinaryOpICStub
  - CompareNilICStub - VectorLoadStub

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23628 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 04:18:06 +00:00
balazs.kilvady@imgtec.com
3b8ae3f196 MIPS: First step to cleanup the power-of-2 mess.
Port r23617 (1ad2f2a)

TEST=base-unittests,cctest,mjsunit
BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 17:21:24 +00:00
jarin@chromium.org
7e4de51089 Fix NaCl build.
R=mstarzinger@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23625 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 15:22:36 +00:00
balazs.kilvady@imgtec.com
aed2143f45 MIPS: Minor-key-ify four stubs.
Port r23605 (8fcd377)

Original commit message:
- ICCompareStub
- BinaryOpICStub
- CompareNilICStub
- VectorLoadStub

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23623 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 15:03:27 +00:00
sigurds@chromium.org
eb2fdf106e Fix bug in graph visualizer.
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23622 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 14:59:41 +00:00
mstarzinger@chromium.org
6b99211112 Disable unit test because of NaCL breakage after r23617.
TBR=bmeurer@chromium.org
TEST=base-unittests/BitsDeathTest.RoundUpToPowerOfTwo32

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23621 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 14:52:50 +00:00
bmeurer@chromium.org
c582b41d36 Fix native arm build.
TBR=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23619 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 13:55:41 +00:00
bmeurer@chromium.org
4f00c1b500 Fix windows build.
TBR=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23618 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 13:40:01 +00:00
bmeurer@chromium.org
7d0d01005c First step to cleanup the power-of-2 mess.
TEST=base-unittests,cctest,mjsunit
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23617 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 13:36:35 +00:00
mstarzinger@chromium.org
baf818b152 Lower simplified StringEqual to runtime call.
R=titzer@chromium.org
TEST=cctest/test-simplified-lowering/LowerStringOps_to_call_and_wordeq

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23616 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 13:26:52 +00:00
mstarzinger@chromium.org
9248f4d7d4 Lower simplified StringAdd to stub call.
R=titzer@chromium.org
TEST=cctest/test-simplified-lowering/LowerStringOps_to_calls

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23610 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 12:46:37 +00:00
dusan.milosavljevic@imgtec.com
7cafa50986 MIPS64: Unbreak build after r23579.
TEST=
BUG=
R=balazs.kilvady@imgtec.com, bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23608 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 12:44:59 +00:00
yangguo@chromium.org
af3aa27714 Remove NotMissMinorKey implementation from HydrogenCodeStub shims.
TBR=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23607 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 12:01:37 +00:00
ulan@chromium.org
1823ae012a Fix Date DST computation.
BUG=v8:3116
LOG=N
R=rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23606 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:54:08 +00:00
yangguo@chromium.org
946a25640c Minor-key-ify four stubs.
- ICCompareStub
- BinaryOpICStub
- CompareNilICStub
- VectorLoadStub

R=mvstanton@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23605 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:51:25 +00:00
jarin@chromium.org
16e9a016f5 Another Win64 build fix
TBR=bmeurer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23604 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:45:37 +00:00
bmeurer@chromium.org
db10bef4de [turbofan] First step of Operator refactoring.
- Real const-correctness
- Proper forward declarations instead of #include "src/v8.h"
- Flags for Operator properties.
- etc.

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23601 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:36:55 +00:00
marja@chromium.org
7955937d31 Refactor Parser to make it usable on a background thread.
- Background Parsers cannot get the following data from Isolate (pass it to the
ctor instead): stack limit (background Parsers need a different stack limit),
UnicodeCache (background parsers need a separate UnicodeCache), hash seed
(Parser cannot access the Heap to get it). The Parser::Parse API won't change.

- Make the internalization phase (where Parser interacts with the heap) more
explicit. Previously, Parser was interacting with the heap here and there.

- Move HandleSourceURLComments out of DoParseProgram, so that background parsing
can use DoParseProgram too.

BUG=
R=rossberg@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23600 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:36:21 +00:00
jarin@chromium.org
2de08b4945 Fix Win64 build (header include mess up)
R=bmeurer@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23599 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:33:28 +00:00
jarin@chromium.org
a520e03442 Revert "Make FrameStates recursive (to be used for inlining)."
This reverts commit r23595.

TBR=sigurds@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23598 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:28:40 +00:00
machenbach@chromium.org
bae5c2a59e [Auto-roll] Bump up version to 3.29.37.0
TBR=machenbach@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23596 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:04:17 +00:00
sigurds@chromium.org
7117cae25e Make FrameStates recursive (to be used for inlining).
- Changes FrameState node to require a 5th input
  (use undefined as sentinel).
- Adds outer_state pointer to FrameStateDescriptor.
- Instruction selection dumps dependencies of FrameState chain into the instruction.
- Code generator builds the translation for rec. FrameStates.
  (will require further integration tests)

R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23595 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 10:49:27 +00:00
jarin@chromium.org
bb6cfbc416 Lazy deoptimization for comparisons in Turbofan.
BUG=
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23594 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 10:38:31 +00:00
titzer@chromium.org
ed5f9f8765 Fix representation change insertion for phis.
R=mstarzinger@chromium.org
BUG=

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23590 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 10:14:21 +00:00
weiliang.lin@intel.com
25eb303c05 X87: Use Chrome compatible naming for compiler specifics.
port r23579.

This CL includes the part of changes for X87 port which is missed in r23579.
(https://codereview.chromium.org/526223002).

original commit message:

  Use Chrome compatible naming for compiler specifics.
  Less useless creativity is best creativity!

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23587 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 09:40:42 +00:00
verwaest@chromium.org
55e78d3b7a Use correct receiver for DOM accessors on the prototype chain
BUG=v8:3538
LOG=y
R=haraken@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23586 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 09:36:37 +00:00
sigurds@chromium.org
de59be7cad Improve graph visualizer for deoptimization and readablity.
R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23582 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 08:44:25 +00:00
bmeurer@chromium.org
2d1fe92b7f Fix non-TF targets after r23547.
Stub out the new AssembleDeoptimizerCall().

BUG=
R=bmeurer@chromium.org

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

Patch from Paul Lind <paul.lind@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23581 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 07:54:47 +00:00
bmeurer@chromium.org
d642d51db7 Fix Windows build.
TBR=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23580 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 07:23:55 +00:00
bmeurer@chromium.org
30f18f0f7d Use Chrome compatible naming for compiler specifics.
Less useless creativity is best creativity!

R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23579 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 07:07:52 +00:00
bmeurer@chromium.org
88d4c2ddde Add support for storage type to base::Flags.
Also drop the DEFINE_FLAGS() macro, and use the typedef explicitly.

TEST=base-unittests
R=svenpanne@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23578 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 06:53:14 +00:00
bmeurer@chromium.org
7300a2a343 [turbofan] Fix MachineOperatorReducer to use JSGraph as well.
TEST=compiler-unittests,cctest
R=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23577 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 05:08:54 +00:00
weiliang.lin@intel.com
3d763dfdc9 X87: InterfaceDescriptor becomes CallInterfaceDescriptor.
port r23560.

original commit message:

  InterfaceDescriptor becomes CallInterfaceDescriptor.

  There was no difference between these two classes in a hierarchical relationship.

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23576 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 03:43:04 +00:00
weiliang.lin@intel.com
b96d68c039 X87: Multiple stubs can point to the same calling convention
port r23546.

original commit message:
   Multiple stubs can point to the same calling convention

BUG=
R=weiliang.lin@intel.com

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

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23575 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 02:42:36 +00:00
balazs.kilvady@imgtec.com
7260ff8138 MIPS: InterfaceDescriptor becomes CallInterfaceDescriptor.
Port r23560 (9a63ff6)

Original commit message:
There was no difference between these two classes in a hierarchical
relationship.

BUG=
R=paul.lind@imgtec.com

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23574 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-01 18:04:48 +00:00