platform/upstream/v8.git
9 years agoRemove NotMissMinorKey implementation from HydrogenCodeStub shims.
yangguo@chromium.org [Tue, 2 Sep 2014 12:01:37 +0000 (12:01 +0000)]
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

9 years agoFix Date DST computation.
ulan@chromium.org [Tue, 2 Sep 2014 11:54:08 +0000 (11:54 +0000)]
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

9 years agoMinor-key-ify four stubs.
yangguo@chromium.org [Tue, 2 Sep 2014 11:51:25 +0000 (11:51 +0000)]
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

9 years agoAnother Win64 build fix
jarin@chromium.org [Tue, 2 Sep 2014 11:45:37 +0000 (11:45 +0000)]
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

9 years agoWhitespace change to test v8-autoroll account.
machenbach@chromium.org [Tue, 2 Sep 2014 11:43:08 +0000 (11:43 +0000)]
Whitespace change to test v8-autoroll account.

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

9 years agoWhitespace change from pure svn to test roll account.
v8-autoroll@chromium.org [Tue, 2 Sep 2014 11:40:43 +0000 (11:40 +0000)]
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

9 years ago[turbofan] First step of Operator refactoring.
bmeurer@chromium.org [Tue, 2 Sep 2014 11:36:55 +0000 (11:36 +0000)]
[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

9 years agoRefactor Parser to make it usable on a background thread.
marja@chromium.org [Tue, 2 Sep 2014 11:36:21 +0000 (11:36 +0000)]
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

9 years agoFix Win64 build (header include mess up)
jarin@chromium.org [Tue, 2 Sep 2014 11:33:28 +0000 (11:33 +0000)]
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

9 years agoRevert "Make FrameStates recursive (to be used for inlining)."
jarin@chromium.org [Tue, 2 Sep 2014 11:28:40 +0000 (11:28 +0000)]
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

9 years agoFix test runner imports.
machenbach@chromium.org [Tue, 2 Sep 2014 11:18:47 +0000 (11:18 +0000)]
Fix test runner imports.

TBR=bmeurer@chromium.org

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

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

9 years ago[Auto-roll] Bump up version to 3.29.37.0
machenbach@chromium.org [Tue, 2 Sep 2014 11:04:17 +0000 (11:04 +0000)]
[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

9 years agoMake FrameStates recursive (to be used for inlining).
sigurds@chromium.org [Tue, 2 Sep 2014 10:49:27 +0000 (10:49 +0000)]
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

9 years agoLazy deoptimization for comparisons in Turbofan.
jarin@chromium.org [Tue, 2 Sep 2014 10:38:31 +0000 (10:38 +0000)]
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

9 years agoWhitespace change to test v8-autoroll account.
v8-autoroll@chromium.org [Tue, 2 Sep 2014 10:33:20 +0000 (10:33 +0000)]
Whitespace change to test v8-autoroll account.

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

9 years agoFix gn android component build
jochen@chromium.org [Tue, 2 Sep 2014 10:21:41 +0000 (10:21 +0000)]
Fix gn android component build

R=jochen@chromium.org

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

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

9 years agoWhitespace change to test v8-autoroll account.
machenbach@chromium.org [Tue, 2 Sep 2014 10:17:28 +0000 (10:17 +0000)]
Whitespace change to test v8-autoroll account.

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

9 years agoFix representation change insertion for phis.
titzer@chromium.org [Tue, 2 Sep 2014 10:14:21 +0000 (10:14 +0000)]
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

9 years agoWhitespace change to test v8-autoroll account.
machenbach@chromium.org [Tue, 2 Sep 2014 10:11:44 +0000 (10:11 +0000)]
Whitespace change to test v8-autoroll account.

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

9 years agoWhitespace change to test v8-autoroll account.
machenbach@chromium.org [Tue, 2 Sep 2014 10:03:53 +0000 (10:03 +0000)]
Whitespace change to test v8-autoroll account.

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

9 years agoX87: Use Chrome compatible naming for compiler specifics.
weiliang.lin@intel.com [Tue, 2 Sep 2014 09:40:42 +0000 (09:40 +0000)]
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

9 years agoUse correct receiver for DOM accessors on the prototype chain
verwaest@chromium.org [Tue, 2 Sep 2014 09:36:37 +0000 (09:36 +0000)]
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

9 years agoReland "Refactoring: Make gtest testsuite the default."
machenbach@chromium.org [Tue, 2 Sep 2014 09:21:03 +0000 (09:21 +0000)]
Reland "Refactoring: Make gtest testsuite the default."

BUG=v8:3489
TBR=bmeurer@chromium.org
LOG=n

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

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

9 years agoRevert "Refactoring: Make gtest testsuite the default."
machenbach@chromium.org [Tue, 2 Sep 2014 09:17:26 +0000 (09:17 +0000)]
Revert "Refactoring: Make gtest testsuite the default."

This reverts commit cb8f08658767e7e3182e5deab0473f264f6ce92f.

TBR=bmeurer@chromium.org

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

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

9 years agoRefactoring: Make gtest testsuite the default.
machenbach@chromium.org [Tue, 2 Sep 2014 09:11:13 +0000 (09:11 +0000)]
Refactoring: Make gtest testsuite the default.

BUG=v8:3489
R=bmeurer@chromium.org
LOG=n

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

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

9 years agoImprove graph visualizer for deoptimization and readablity.
sigurds@chromium.org [Tue, 2 Sep 2014 08:44:25 +0000 (08:44 +0000)]
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

9 years agoFix non-TF targets after r23547.
bmeurer@chromium.org [Tue, 2 Sep 2014 07:54:47 +0000 (07:54 +0000)]
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

9 years agoFix Windows build.
bmeurer@chromium.org [Tue, 2 Sep 2014 07:23:55 +0000 (07:23 +0000)]
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

9 years agoUse Chrome compatible naming for compiler specifics.
bmeurer@chromium.org [Tue, 2 Sep 2014 07:07:52 +0000 (07:07 +0000)]
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

9 years agoAdd support for storage type to base::Flags.
bmeurer@chromium.org [Tue, 2 Sep 2014 06:53:14 +0000 (06:53 +0000)]
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

9 years ago[turbofan] Fix MachineOperatorReducer to use JSGraph as well.
bmeurer@chromium.org [Tue, 2 Sep 2014 05:08:54 +0000 (05:08 +0000)]
[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

9 years agoX87: InterfaceDescriptor becomes CallInterfaceDescriptor.
weiliang.lin@intel.com [Tue, 2 Sep 2014 03:43:04 +0000 (03:43 +0000)]
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

9 years agoX87: Multiple stubs can point to the same calling convention
weiliang.lin@intel.com [Tue, 2 Sep 2014 02:42:36 +0000 (02:42 +0000)]
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

9 years agoMIPS: InterfaceDescriptor becomes CallInterfaceDescriptor.
balazs.kilvady@imgtec.com [Mon, 1 Sep 2014 18:04:48 +0000 (18:04 +0000)]
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

9 years agoMIPS: Multiple stubs can point to the same calling convention.
balazs.kilvady@imgtec.com [Mon, 1 Sep 2014 18:02:35 +0000 (18:02 +0000)]
MIPS: Multiple stubs can point to the same calling convention.

Port r23546 (068adb0)

BUG=
R=paul.lind@imgtec.com

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

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

9 years agoAdd Collections perf tests to v8 public repo.
dslomov@chromium.org [Mon, 1 Sep 2014 14:52:06 +0000 (14:52 +0000)]
Add Collections perf tests to v8 public repo.

R=machenbach@chromium.org
BUG=374708
LOG=N

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

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

9 years agoAdd test driver with the notion of perf tests.
machenbach@chromium.org [Mon, 1 Sep 2014 14:27:44 +0000 (14:27 +0000)]
Add test driver with the notion of perf tests.

BUG=374740
LOG=n
R=dslomov@chromium.org

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

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

9 years agoX87: Refactoring InterfaceDescriptors away from code-stubs.h
weiliang.lin@intel.com [Mon, 1 Sep 2014 14:00:25 +0000 (14:00 +0000)]
X87: Refactoring InterfaceDescriptors away from code-stubs.h

port r23515.

original commit message:
  Refactoring InterfaceDescriptors away from code-stubs.h

  Clean up and create seperation between the concept of a call descriptor and a
  code stub interface descriptor. The former is just concerned with how to call,
  but the latter has many extra hints related to code generation and deoptimization
  for the implementation of a particular code stub.

BUG=
R=mvstanton@chromium.org

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

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

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

9 years agoRevert "More aggressive reuse of spill slots in the register allocator."
jarin@chromium.org [Mon, 1 Sep 2014 13:58:37 +0000 (13:58 +0000)]
Revert "More aggressive reuse of spill slots in the register allocator."

This reverts commit r23536 for breaking DevTools.

TBR=machenbach@chromium.org
BUG=409604
LOG=N

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

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

9 years agoSub-minor-key-ify HandlerStubs.
yangguo@chromium.org [Mon, 1 Sep 2014 13:55:39 +0000 (13:55 +0000)]
Sub-minor-key-ify HandlerStubs.

R=mvstanton@chromium.org

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

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

9 years ago[turbofan] Add/sub ARM64 lhs immediate tests
m.m.capewell@googlemail.com [Mon, 1 Sep 2014 13:41:19 +0000 (13:41 +0000)]
[turbofan] Add/sub ARM64 lhs immediate tests

Addition supports lhs immediates by commuting. Subtraction supports only zero
lhs immediates, through use of the zero register.

BUG=
R=bmeurer@chromium.org

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

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

9 years agoDo not clear weak monomorphic IC after context disposal.
ulan@chromium.org [Mon, 1 Sep 2014 13:40:11 +0000 (13:40 +0000)]
Do not clear weak monomorphic IC after context disposal.

BUG=404020
LOG=Y
R=jochen@chromium.org

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

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

9 years agoTurn on job-based sweeping
jochen@chromium.org [Mon, 1 Sep 2014 12:54:22 +0000 (12:54 +0000)]
Turn on job-based sweeping

Embedders that don't use a v8::Platform yet will have to do so.

BUG=v8:3104
LOG=y
R=hpayer@chromium.org

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

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

9 years agoFix typed lowering of JSUnaryNot to work with graph reducer.
mstarzinger@chromium.org [Mon, 1 Sep 2014 12:17:43 +0000 (12:17 +0000)]
Fix typed lowering of JSUnaryNot to work with graph reducer.

R=titzer@chromium.org
TEST=cctest/test-js-typed-lowering/UnaryNot[Effects]

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

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

9 years agoInterfaceDescriptor becomes CallInterfaceDescriptor.
mvstanton@chromium.org [Mon, 1 Sep 2014 12:15:25 +0000 (12:15 +0000)]
InterfaceDescriptor becomes CallInterfaceDescriptor.

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

R=yangguo@chromium.org

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

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

9 years agoTrace idle notification.
ulan@chromium.org [Mon, 1 Sep 2014 12:06:16 +0000 (12:06 +0000)]
Trace idle notification.

BUG=
R=yangguo@chromium.org

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

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

9 years ago[Auto-roll] Bump up version to 3.29.36.0
machenbach@chromium.org [Mon, 1 Sep 2014 11:34:15 +0000 (11:34 +0000)]
[Auto-roll] Bump up version to 3.29.36.0

TBR=machenbach@chromium.org

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

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

9 years agoFix assertion in JSLoadContext typer.
mstarzinger@chromium.org [Mon, 1 Sep 2014 11:17:39 +0000 (11:17 +0000)]
Fix assertion in JSLoadContext typer.

R=bmeurer@chromium.org

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

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

9 years agoAdd mapping of test groups to test driver.
machenbach@chromium.org [Mon, 1 Sep 2014 10:48:36 +0000 (10:48 +0000)]
Add mapping of test groups to test driver.

BUG=
R=bmeurer@chromium.org

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

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

9 years ago[turbofan] Merge compiler unit tests into src.
bmeurer@chromium.org [Mon, 1 Sep 2014 10:26:12 +0000 (10:26 +0000)]
[turbofan] Merge compiler unit tests into src.

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

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

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

9 years agoUse the "enum hack" to fix the SmiTagging constants.
bmeurer@chromium.org [Mon, 1 Sep 2014 10:24:04 +0000 (10:24 +0000)]
Use the "enum hack" to fix the SmiTagging constants.

The "enum hack" (see Item 2 of "Effective C++") is the only known
portable way to define constant integral values within template
classes. Fixes the weird work-arounds required for certain GCC
versions.

R=jarin@chromium.org, rossberg@chromium.org

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

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

9 years agoFix typo in math-hyperbolic test.
jarin@chromium.org [Mon, 1 Sep 2014 10:23:07 +0000 (10:23 +0000)]
Fix typo in math-hyperbolic test.

TBR=jarin@chromium.org

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

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

9 years agoPort fdlibm implementation for Math.cosh.
yangguo@chromium.org [Mon, 1 Sep 2014 09:36:00 +0000 (09:36 +0000)]
Port fdlibm implementation for Math.cosh.

R=rtoy@chromium.org
BUG=v8:3494
LOG=N

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

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

9 years agoContext deoptimization and removal of the deoptimization block in Turbofan
jarin@chromium.org [Mon, 1 Sep 2014 09:31:14 +0000 (09:31 +0000)]
Context deoptimization and removal of the deoptimization block in Turbofan

This adds context deoptimization to Turbofan and Crankshaft (also submitted separately as https://codereview.chromium.org/515723004/).

The second patchset removes the deoptimization/continuation block from calls.

BUG=
R=bmeurer@chromium.org

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

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

9 years agoMultiple stubs can point to the same calling convention.
mvstanton@chromium.org [Mon, 1 Sep 2014 09:18:39 +0000 (09:18 +0000)]
Multiple stubs can point to the same calling convention.

R=yangguo@chromium.org

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

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

9 years agoMerge heap unit tests into src.
bmeurer@chromium.org [Mon, 1 Sep 2014 09:12:50 +0000 (09:12 +0000)]
Merge heap unit tests into src.

Also rip out the unused runtime-unittests; will be added back on-demand.

BUG=v8:3489
LOG=n
R=ulan@chromium.org, svenpanne@chromium.org

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

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

9 years agoDo not expose termination exceptions to the Exception API.
yangguo@chromium.org [Mon, 1 Sep 2014 09:11:44 +0000 (09:11 +0000)]
Do not expose termination exceptions to the Exception API.

R=verwaest@chromium.org
BUG=403509
LOG=N

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

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

9 years agoFix manual allocation folding of RegExpConstructResult.
jarin@chromium.org [Mon, 1 Sep 2014 08:08:31 +0000 (08:08 +0000)]
Fix manual allocation folding of RegExpConstructResult.

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

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

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

9 years agoRemoved dead #define.
svenpanne@chromium.org [Mon, 1 Sep 2014 07:23:18 +0000 (07:23 +0000)]
Removed dead #define.

It used the wrong tests, anyway...

R=bmeurer@chromium.org

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

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

9 years agoRefactor libplatform unit tests to use GTest/GMock.
bmeurer@chromium.org [Mon, 1 Sep 2014 07:13:55 +0000 (07:13 +0000)]
Refactor libplatform unit tests to use GTest/GMock.

Also migrate them to src.

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

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

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

9 years ago[Auto-roll] Bump up version to 3.29.34.0
machenbach@chromium.org [Sun, 31 Aug 2014 10:04:16 +0000 (10:04 +0000)]
[Auto-roll] Bump up version to 3.29.34.0

TBR=machenbach@chromium.org

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

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

9 years agoReland "More aggressive reuse of spill slots in the register allocator."
jarin@chromium.org [Sun, 31 Aug 2014 07:27:38 +0000 (07:27 +0000)]
Reland "More aggressive reuse of spill slots in the register allocator."

This relands r23532 (https://codereview.chromium.org/310003003). Flakes seem unrelated.

TBR=titzer@chromium.org

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

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

9 years ago[Auto-roll] Bump up version to 3.29.33.0
machenbach@chromium.org [Sat, 30 Aug 2014 18:34:16 +0000 (18:34 +0000)]
[Auto-roll] Bump up version to 3.29.33.0

TBR=machenbach@chromium.org

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

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

9 years agoRevert "More aggressive reuse of spill slots in the register allocator."
jarin@chromium.org [Sat, 30 Aug 2014 17:21:04 +0000 (17:21 +0000)]
Revert "More aggressive reuse of spill slots in the register allocator."

This reverts commit r23532 for introducing bunch of flakes.

TBR=titzer@chromium.org

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

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

9 years agoMore aggressive reuse of spill slots in the register allocator.
jarin@chromium.org [Sat, 30 Aug 2014 15:50:24 +0000 (15:50 +0000)]
More aggressive reuse of spill slots in the register allocator.

Two improvements:
- At phi nodes, we now try to merge operands into one spill slot and
  then reuse the spill slot for the phi.
- After register allocation we merge disjoint spill slots.

With this change, I see about 4% improvement in zlib.

BUG=
R=titzer@chromium.org

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

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

9 years ago[Auto-roll] Bump up version to 3.29.32.0
machenbach@chromium.org [Fri, 29 Aug 2014 22:04:14 +0000 (22:04 +0000)]
[Auto-roll] Bump up version to 3.29.32.0

TBR=machenbach@chromium.org

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

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

9 years ago[turbofan] Allow unittest to call TruncateDoubleToI.
rodolph.perfetta@arm.com [Fri, 29 Aug 2014 18:46:30 +0000 (18:46 +0000)]
[turbofan] Allow unittest to call TruncateDoubleToI.

Switches stack pointer if necessary.

BUG=
R=bmeurer@chromium.org

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

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

9 years ago[Auto-roll] Bump up version to 3.29.31.0
machenbach@chromium.org [Fri, 29 Aug 2014 18:34:15 +0000 (18:34 +0000)]
[Auto-roll] Bump up version to 3.29.31.0

TBR=machenbach@chromium.org

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

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

9 years ago[arm64] Fix order of decoder visitor add functions
m.m.capewell@googlemail.com [Fri, 29 Aug 2014 15:42:51 +0000 (15:42 +0000)]
[arm64] Fix order of decoder visitor add functions

AppendVisitor and PrependVisitor implementations were switched.

BUG=
R=ulan@chromium.org

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

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

9 years agoMIPS: Refactoring InterfaceDescriptors away from code-stubs.h - external.
balazs.kilvady@imgtec.com [Fri, 29 Aug 2014 15:28:26 +0000 (15:28 +0000)]
MIPS: Refactoring InterfaceDescriptors away from code-stubs.h - external.

Port r23515 (fe0bdbf)

Original commit message:
Clean up and create seperation between the concept of a call descriptor and a
code stub interface descriptor. The former is just concerned with how to call,
but the latter has many extra hints related to code generation and
deoptimization for the implementation of a particular code stub.

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

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

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

9 years agoMIPS: Refactoring InterfaceDescriptors away from code-stubs.h - internal.
balazs.kilvady@imgtec.com [Fri, 29 Aug 2014 15:25:41 +0000 (15:25 +0000)]
MIPS: Refactoring InterfaceDescriptors away from code-stubs.h - internal.

Port r23515 (fe0bdbf)

Original commit message:
Clean up and create seperation between the concept of a call descriptor and a
code stub interface descriptor. The former is just concerned with how to call,
but the latter has many extra hints related to code generation and
deoptimization for the implementation of a particular code stub.

BUG=
R=paul.lind@imgtec.com

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

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

9 years agoFix missing bracket in gyp file from r23522.
rmcilroy@chromium.org [Fri, 29 Aug 2014 15:11:00 +0000 (15:11 +0000)]
Fix missing bracket in gyp file from r23522.

TBR=vogelheim@chromium.org

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

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

9 years agoProperly separate host and target builds when using external natives.
rmcilroy@chromium.org [Fri, 29 Aug 2014 15:04:59 +0000 (15:04 +0000)]
Properly separate host and target builds when using external natives.

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

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

Patch from AndrĂ© Baixo <baixo@google.com>.

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

9 years agoWorkaround to avoid generic lowering breaking branches.
mstarzinger@chromium.org [Fri, 29 Aug 2014 15:01:50 +0000 (15:01 +0000)]
Workaround to avoid generic lowering breaking branches.

R=bmeurer@chromium.org

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

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

9 years agoRevert "Move base library definitions from v8.gyp to base.gyp."
bmeurer@chromium.org [Fri, 29 Aug 2014 12:30:50 +0000 (12:30 +0000)]
Revert "Move base library definitions from v8.gyp to base.gyp."

This reverts commit r23518 for breaking Blink bots.

TBR=vogelheim@chromium.org

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

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

9 years agoFix Node::ReplaceUses to handle unused nodes.
mstarzinger@chromium.org [Fri, 29 Aug 2014 12:14:52 +0000 (12:14 +0000)]
Fix Node::ReplaceUses to handle unused nodes.

R=bmeurer@chromium.org
TEST=cctest/test-node/NodeUseIteratorReplaceNoUses

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

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

9 years agoMove base library definitions from v8.gyp to base.gyp.
bmeurer@chromium.org [Fri, 29 Aug 2014 11:18:50 +0000 (11:18 +0000)]
Move base library definitions from v8.gyp to base.gyp.

Less confusion is best confusion.

R=svenpanne@chromium.org

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

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

9 years agoMerge base unit tests into src to be in line with Chrome.
bmeurer@chromium.org [Fri, 29 Aug 2014 10:53:08 +0000 (10:53 +0000)]
Merge base unit tests into src to be in line with Chrome.

We still need the test/base-unittests folder until the test driver is
updated to handle unittests without the boilerplate.

TEST=base-unittests
R=svenpanne@chromium.org
BUG=v8:3489
LOG=n

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

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

9 years agoRefactoring InterfaceDescriptors away from code-stubs.h
mvstanton@chromium.org [Fri, 29 Aug 2014 10:40:02 +0000 (10:40 +0000)]
Refactoring InterfaceDescriptors away from code-stubs.h

Clean up and create seperation between the concept of a call descriptor and a
code stub interface descriptor. The former is just concerned with how to call,
but the latter has many extra hints related to code generation and
deoptimization for the implementation of a particular code stub.

R=yangguo@chromium.org

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

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

9 years agoARM64: re-enable turbofan tests.
rodolph.perfetta@arm.com [Fri, 29 Aug 2014 09:49:50 +0000 (09:49 +0000)]
ARM64: re-enable turbofan tests.

The tests were already passing.

BUG=
R=bmeurer@chromium.org

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

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

9 years agoMore PNaCL fixes (without GYP/Makefile tweaks)
svenpanne@chromium.org [Fri, 29 Aug 2014 09:39:28 +0000 (09:39 +0000)]
More PNaCL fixes (without GYP/Makefile tweaks)

This is basically https://codereview.chromium.org/513923005/ with a
few changes:

   * Makefile.nacl and v8.gyp are untouched.

   * MAP_NORESERVE-handling is more defensive.

   * Added ugly busy-wait emulation of sem_timedwait.

R=bmeurer@chromium.org

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

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

9 years agoPort fdlibm implementation for Math.sinh.
yangguo@chromium.org [Fri, 29 Aug 2014 09:32:51 +0000 (09:32 +0000)]
Port fdlibm implementation for Math.sinh.

R=rtoy@chromium.org
BUG=v8:3493
LOG=N

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

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

9 years agoAdd more inlining unit tests.
sigurds@chromium.org [Fri, 29 Aug 2014 08:58:51 +0000 (08:58 +0000)]
Add more inlining unit tests.

- Scheduler can inline a function with a loop.
- Inlining strict into non-strict works correctly.
- Inlining non-strict into strict works correctly.

R=mstarzinger@chromium.org

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

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

9 years ago[Auto-roll] Bump up version to 3.29.30.0
machenbach@chromium.org [Fri, 29 Aug 2014 08:04:16 +0000 (08:04 +0000)]
[Auto-roll] Bump up version to 3.29.30.0

TBR=machenbach@chromium.org

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

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

9 years ago[turbofan] Use enum instead of bool for parameter.
bmeurer@chromium.org [Fri, 29 Aug 2014 06:42:41 +0000 (06:42 +0000)]
[turbofan] Use enum instead of bool for parameter.

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

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

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

9 years agoFix windows build.
bmeurer@chromium.org [Fri, 29 Aug 2014 05:45:16 +0000 (05:45 +0000)]
Fix windows build.

TBR=mstarzinger@chromium.org

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

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

9 years agoFix cctest/test-run-properties/TypedArrayLoad.
bmeurer@chromium.org [Fri, 29 Aug 2014 05:37:55 +0000 (05:37 +0000)]
Fix cctest/test-run-properties/TypedArrayLoad.

Note: The test failure was unrelated to the fact that it run on actual
ARM hardware, but it was failing because the test relied on undefined
and implementation defined behaviour of the C++ compiler.

TBR=mstarzinger@chromium.org
TEST=cctest

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

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

9 years ago[turbofan] Explicitly mark call sites as patchable.
bmeurer@chromium.org [Fri, 29 Aug 2014 05:00:55 +0000 (05:00 +0000)]
[turbofan] Explicitly mark call sites as patchable.

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

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

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

9 years ago[Auto-roll] Bump up version to 3.29.28.0
machenbach@chromium.org [Thu, 28 Aug 2014 21:34:14 +0000 (21:34 +0000)]
[Auto-roll] Bump up version to 3.29.28.0

TBR=machenbach@chromium.org

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

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

9 years agoMove constructors for [Element/Field]Access into AccessBuilder.
mstarzinger@chromium.org [Thu, 28 Aug 2014 17:53:24 +0000 (17:53 +0000)]
Move constructors for [Element/Field]Access into AccessBuilder.

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

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

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

9 years agoSkip failing test on ARM after r23492.
mstarzinger@chromium.org [Thu, 28 Aug 2014 17:46:33 +0000 (17:46 +0000)]
Skip failing test on ARM after r23492.

TBR=vogelheim@chromium.org
TEST=cctest/test-run-properties/TypedArrayLoad

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

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

9 years agoFix test failures after r23492.
mstarzinger@chromium.org [Thu, 28 Aug 2014 17:28:57 +0000 (17:28 +0000)]
Fix test failures after r23492.

R=vogelheim@chromium.org
TEST=cctest/test-run-properties/TypedArrayLoad

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

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

9 years ago[Auto-roll] Bump up version to 3.29.26.0
machenbach@chromium.org [Thu, 28 Aug 2014 15:34:15 +0000 (15:34 +0000)]
[Auto-roll] Bump up version to 3.29.26.0

TBR=machenbach@chromium.org

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

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

9 years agoSkip Windows failure after r23492.
mstarzinger@chromium.org [Thu, 28 Aug 2014 15:19:05 +0000 (15:19 +0000)]
Skip Windows failure after r23492.

TBR=vogelheim@chromium.org
TEST=cctest/test-run-properties/TypedArrayLoad

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

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

9 years agoLet benchmark runner add summary traces.
machenbach@chromium.org [Thu, 28 Aug 2014 14:42:24 +0000 (14:42 +0000)]
Let benchmark runner add summary traces.

BUG=374740
LOG=n
R=jarin@chromium.org

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

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

9 years agoPreliminary lowering of typed array loads in TF.
mstarzinger@chromium.org [Thu, 28 Aug 2014 14:35:11 +0000 (14:35 +0000)]
Preliminary lowering of typed array loads in TF.

R=titzer@chromium.org
TEST=cctest/test-run-properties/TypedArrayLoad

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

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

9 years agoUse TruncateFloat64ToInt32 instead of ChangeFloat64ToInt32 in lowering of simplified...
titzer@chromium.org [Thu, 28 Aug 2014 13:31:55 +0000 (13:31 +0000)]
Use TruncateFloat64ToInt32 instead of ChangeFloat64ToInt32 in lowering of simplified operators NumberToInt32/NumberToUint32.

R=mstarzinger@chromium.org
BUG=

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

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

9 years agoAdd MachineSignature, which is an encapsulation of the machine types for parameters...
titzer@chromium.org [Thu, 28 Aug 2014 13:17:38 +0000 (13:17 +0000)]
Add MachineSignature, which is an encapsulation of the machine types for parameters and return values in a graph.

This utility will be used to simplify Linkage and fix representation inference
to work with graphs where parameters and return values are something other
than tagged. It will also make testing representation inference a lot
easier, since we can then exactly nail down the machine types of parameters
and returns.

This CL also adds c-signature.h, which demonstrates how to convert C function
signatures into MachineSignatures. The CSignatures will be used in tests to
make it easier and simpler to codegen tests.

R=jarin@chromium.org
BUG=

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

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

9 years agoSimplify inlining now that the scheduler is smart(er).
sigurds@chromium.org [Thu, 28 Aug 2014 12:18:25 +0000 (12:18 +0000)]
Simplify inlining now that the scheduler is smart(er).

* Only control adjustment is to move everything from the inlinee's
  start block to the block the call was in.
* Add a unit test to ensure that the scheduler actually picks the
  right order when placing the code.

R=mstarzinger@chromium.org, titzer@chromium.org

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

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

9 years agoFix rare access violation during JS heap serialization.
yangguo@chromium.org [Thu, 28 Aug 2014 11:45:20 +0000 (11:45 +0000)]
Fix rare access violation during JS heap serialization.

R=yangguo@chromium.org

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

Patch from Slava Chigrin <vchigrin@yandex-team.ru>.

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