Commit Graph

18368 Commits

Author SHA1 Message Date
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
machenbach@chromium.org
258ac97bac Correctly overwrite author in chromium roll script.
BUG=408523
LOG=n
R=jarin@chromium.org
TBR=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23647 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 11:59:43 +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
machenbach@chromium.org
6a0567a9ea Add dry-run feature to auto roll scripts.
BUG=408523
LOG=n
TBR=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23633 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 08:29:53 +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
machenbach@chromium.org
96c8427120 Make chromium-roll script non-interactive.
BUG=408523
LOG=n
TBR=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23629 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-03 06:50:18 +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
paul.lind@imgtec.com
a08867f2ac MIPS: Disable cctest/test-simplified-lowering/LowerStringOps_to_call_and_wordeq because of turbofan after r23616.
BUG=
R=mstarzinger@chromium.org

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

Patch from Balazs Kilvady <balazs.kilvady@imgtec.com>.

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23627 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 19:42:05 +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
machenbach@chromium.org
2f6e39d760 Refactoring: Unify all mocks in auto roll tests.
This allows to use shell command, readline and url
expectations in the same list, which makes their interaction
more explicit.

TBR=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23624 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 15:21:45 +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
machenbach@chromium.org
59ba3244f6 Refactoring: Unify mocks of different commands in auto roll tests.
TBR=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23615 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 13:20:37 +00:00
machenbach@chromium.org
f445df9061 Fix chromium update in chromium roll script.
Needs an extra 'git pull' after a gclient sync, because the solution is
unmanaged now.

TBR=jarin@chromium.org,hinoka@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23612 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 12:56:07 +00:00
machenbach@chromium.org
20de507b21 Refactoring: Unify command mocks in v8 roll tests.
This unifies all mocks for shell commands (like git, svn,
gclient). The command name is now explicitly stated in the
test expectations, which allows to correctly test the few
commands that are not git.

TEST=./script_test.py
TBR=jarin@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23611 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 12:51:30 +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
machenbach@chromium.org
2a92afe1a4 Fix imports in test runner.
TBR=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23609 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 12:46:27 +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
machenbach@chromium.org
05b6de841a Whitespace change to test v8-autoroll account.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23603 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:43:08 +00:00
v8-autoroll@chromium.org
b419fafcd8 Whitespace change from pure svn to test roll account.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23602 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-09-02 11:40:43 +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