machenbach@chromium.org [Fri, 5 Sep 2014 16:34:14 +0000 (16:34 +0000)]
[Auto-roll] Bump up version to 3.29.47.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
544053003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23748
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 5 Sep 2014 15:47:47 +0000 (15:47 +0000)]
Disable broken JSLoadContext typer.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
542193002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23747
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 5 Sep 2014 15:43:26 +0000 (15:43 +0000)]
Fix ARM64 build after r23744.
TBR=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
547683002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23746
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 5 Sep 2014 15:31:33 +0000 (15:31 +0000)]
Fix more fallout from making OptimizeFunctionOnNextCall work as advertised.
R=jarin@chromium.org
BUG=411262
Review URL: https://codereview.chromium.org/
544213002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23745
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 5 Sep 2014 15:20:45 +0000 (15:20 +0000)]
Do not cache CodeStubInterfaceDescriptor on the isolate.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
544123002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23744
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Fri, 5 Sep 2014 15:13:44 +0000 (15:13 +0000)]
Harden OptimizeFunctionOnNextCall.
BUG=411237
LOG=N
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
547553003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23743
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 5 Sep 2014 15:12:49 +0000 (15:12 +0000)]
Unify JSEntryStub and JSConstructEntryStub, and some more code stub cleanups.
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/
545163002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23742
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 5 Sep 2014 15:01:51 +0000 (15:01 +0000)]
Fix typer to actually visit the entire graph.
R=titzer@chromium.org
TEST=mjsunit
Review URL: https://codereview.chromium.org/
545223002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23740
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Fri, 5 Sep 2014 14:31:41 +0000 (14:31 +0000)]
X87: disable turbofan dependent test
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
548433002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23739
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Fri, 5 Sep 2014 14:29:45 +0000 (14:29 +0000)]
MIPS: Generalized division via multiplication.
Port r23730 (
967b787)
Original commit message:
We can now compute the magic numbers for all combinations of 32bit and
64bit (un)signed multiplications.
BUG=
R=dusan.milosavljevic@imgtec.com
Review URL: https://codereview.chromium.org/
540343002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23738
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Fri, 5 Sep 2014 14:29:21 +0000 (14:29 +0000)]
X87: Fix build
BUG=
R=weiliang.lin@intel.com
Review URL: https://codereview.chromium.org/
545133003
Patch from Jing Bao <jing.bao@intel.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23737
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 5 Sep 2014 13:22:27 +0000 (13:22 +0000)]
Platform-dependent turbofan tests.
R=jarin@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
541343003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23736
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Fri, 5 Sep 2014 12:34:16 +0000 (12:34 +0000)]
[Auto-roll] Bump up version to 3.29.46.0
TBR=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
545903002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23735
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
titzer@chromium.org [Fri, 5 Sep 2014 12:27:28 +0000 (12:27 +0000)]
Fix --trace-parse.
R=yangguo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
545193002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23734
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Jacob.Bramley@arm.com [Fri, 5 Sep 2014 12:20:41 +0000 (12:20 +0000)]
ARM64: Fix build warning in r23732.
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
548493002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23733
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Jacob.Bramley@arm.com [Fri, 5 Sep 2014 12:10:00 +0000 (12:10 +0000)]
ARM64: Fix and improve --trace-sim register trace.
- Use standard names (except that our GREY is the standard BLACK).
- Make non-bold colours explicit, otherwise the boldness can carry over
into subsequent colour declarations.
- I've moved some colours around to make them consistent. Register value
updates (which are very common) now stand out less than they did,
making the less-common (and arguably more important) debug
announcements appear brighter.
- FP registers and values are now magenta.
- Integer registers and values are now cyan.
- Memory accesses are now blue.
- LOG_WRITE prints the source register for stores.
- Loads are logged with a format similar to that used for stores.
Specifically, the memory address is printed alongside the new register
value.
- Updates to D registers print the raw bits as well as the double value.
Updates to S registers print the raw bits as well as the float value.
(Previously, we printed both double and float interpretations of the
bits, which was a bit cluttered.)
BUG=
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/
548473002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23732
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
svenpanne@chromium.org [Fri, 5 Sep 2014 11:48:47 +0000 (11:48 +0000)]
Generalized division via multiplication.
We can now compute the magic numbers for all combinations of 32bit and
64bit (un)signed multiplications.
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/
532003004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23730
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 5 Sep 2014 11:47:46 +0000 (11:47 +0000)]
[turbofan] Missing fix from last commit.
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
538373003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23729
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 5 Sep 2014 11:44:31 +0000 (11:44 +0000)]
[turbofan] Add MachineType to Phi.
TEST=cctest,compiler-unittests,mjsunit
R=mstarzinger@chromium.org, titzer@chromium.org
Review URL: https://codereview.chromium.org/
545153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23728
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Fri, 5 Sep 2014 11:38:22 +0000 (11:38 +0000)]
Allocate a new empty number dictionary when resetting elements
BUG=410332
LOG=y
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
545773003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23727
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 5 Sep 2014 11:20:55 +0000 (11:20 +0000)]
[turbofan] Fix cctest/test-graph-reducer/ReduceForward1.
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
542063003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23726
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 5 Sep 2014 11:10:28 +0000 (11:10 +0000)]
[turbofan] Nodes are killed by resetting all their inputs to zero.
TEST=compiler-unittests,mjsunit/numops-fuzz
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
540253003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23725
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 5 Sep 2014 10:41:18 +0000 (10:41 +0000)]
[turbofan] Value numbering should never replace a node with itself.
R=mstarzinger@chromium.org
TEST=compiler-unittests
Review URL: https://codereview.chromium.org/
539833003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23724
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Fri, 5 Sep 2014 09:47:36 +0000 (09:47 +0000)]
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
jarin@chromium.org [Fri, 5 Sep 2014 09:38:04 +0000 (09:38 +0000)]
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
balazs.kilvady@imgtec.com [Fri, 5 Sep 2014 09:37:43 +0000 (09:37 +0000)]
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
machenbach@chromium.org [Fri, 5 Sep 2014 09:34:16 +0000 (09:34 +0000)]
[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
machenbach@chromium.org [Fri, 5 Sep 2014 09:19:48 +0000 (09:19 +0000)]
Add cwd to all shell commands in auto roll scripts.
The v8 root directory is assumed to be the default cwd. All
commands executed in another directory (e.g. the chromium
checkout) need an explicit specification (also in the
tests).
This also fixes several small testing and robustness bugs:
- Get rid of all 'rm ...' shell calls
- Don't leak tmp files/dirs
- Add some forgotten shell calls to the test expectations
- Hardcode the DEPS location (must always be
chromium_dir/DEPS)
- Expect correct return code when terminating gracefully
BUG=chromium:408523
LOG=n
TBR=jarin@chromium.org
TEST=script_test.py
Review URL: https://codereview.chromium.org/
540973002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23719
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Fri, 5 Sep 2014 08:48:41 +0000 (08:48 +0000)]
[turbofan] Get rid of the StructuredMacroAssembler.
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/
544053002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23718
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Fri, 5 Sep 2014 08:04:37 +0000 (08:04 +0000)]
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
yangguo@chromium.org [Fri, 5 Sep 2014 07:44:31 +0000 (07:44 +0000)]
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
weiliang.lin@intel.com [Fri, 5 Sep 2014 07:29:08 +0000 (07:29 +0000)]
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
weiliang.lin@intel.com [Fri, 5 Sep 2014 07:25:00 +0000 (07:25 +0000)]
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
weiliang.lin@intel.com [Fri, 5 Sep 2014 07:07:07 +0000 (07:07 +0000)]
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
weiliang.lin@intel.com [Fri, 5 Sep 2014 06:41:24 +0000 (06:41 +0000)]
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
weiliang.lin@intel.com [Fri, 5 Sep 2014 05:22:41 +0000 (05:22 +0000)]
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
machenbach@chromium.org [Fri, 5 Sep 2014 05:04:15 +0000 (05:04 +0000)]
[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
weiliang.lin@intel.com [Fri, 5 Sep 2014 02:11:31 +0000 (02:11 +0000)]
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
machenbach@chromium.org [Thu, 4 Sep 2014 17:04:13 +0000 (17:04 +0000)]
[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
titzer@chromium.org [Thu, 4 Sep 2014 16:29:47 +0000 (16:29 +0000)]
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
mstarzinger@chromium.org [Thu, 4 Sep 2014 16:29:40 +0000 (16:29 +0000)]
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
balazs.kilvady@imgtec.com [Thu, 4 Sep 2014 15:25:19 +0000 (15:25 +0000)]
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
jarin@chromium.org [Thu, 4 Sep 2014 15:05:06 +0000 (15:05 +0000)]
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
jarin@chromium.org [Thu, 4 Sep 2014 14:52:52 +0000 (14:52 +0000)]
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
titzer@chromium.org [Thu, 4 Sep 2014 14:07:17 +0000 (14:07 +0000)]
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
mstarzinger@chromium.org [Thu, 4 Sep 2014 13:45:05 +0000 (13:45 +0000)]
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
verwaest@chromium.org [Thu, 4 Sep 2014 13:18:15 +0000 (13:18 +0000)]
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
verwaest@chromium.org [Thu, 4 Sep 2014 13:17:04 +0000 (13:17 +0000)]
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
erik.corry@gmail.com [Thu, 4 Sep 2014 12:47:13 +0000 (12:47 +0000)]
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
balazs.kilvady@imgtec.com [Thu, 4 Sep 2014 12:34:47 +0000 (12:34 +0000)]
MIPS: Disable turbofan dependent cctests after r23638.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
541693002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23693
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Thu, 4 Sep 2014 12:28:13 +0000 (12:28 +0000)]
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
bmeurer@chromium.org [Thu, 4 Sep 2014 12:25:57 +0000 (12:25 +0000)]
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
titzer@chromium.org [Thu, 4 Sep 2014 12:19:19 +0000 (12:19 +0000)]
Disable slow type tests for now.
R=mstarzinger@chromium.org, neis@chromium.org
BUG=
Review URL: https://codereview.chromium.org/
545453002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23690
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Thu, 4 Sep 2014 12:15:09 +0000 (12:15 +0000)]
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
bmeurer@chromium.org [Thu, 4 Sep 2014 11:43:20 +0000 (11:43 +0000)]
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
titzer@chromium.org [Thu, 4 Sep 2014 11:27:20 +0000 (11:27 +0000)]
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
bmeurer@chromium.org [Thu, 4 Sep 2014 11:13:35 +0000 (11:13 +0000)]
[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
bmeurer@chromium.org [Thu, 4 Sep 2014 10:58:20 +0000 (10:58 +0000)]
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
bmeurer@chromium.org [Thu, 4 Sep 2014 10:55:58 +0000 (10:55 +0000)]
[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
mstarzinger@chromium.org [Thu, 4 Sep 2014 10:23:51 +0000 (10:23 +0000)]
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
machenbach@chromium.org [Thu, 4 Sep 2014 10:19:44 +0000 (10:19 +0000)]
Return 0 when roll scripts terminate gracefully.
BUG=408523
LOG=n
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
536403002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23680
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 4 Sep 2014 10:04:19 +0000 (10:04 +0000)]
Skip test on windows debug.
TBR=mstarzinger@chromium.org,bmeurer@chromium.org,jarin@chromium.org
Review URL: https://codereview.chromium.org/
540823004
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23679
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 4 Sep 2014 09:56:29 +0000 (09:56 +0000)]
Make lookup of last v8 roll work with pure git.
BUG=410721
LOG=n
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
540843002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23678
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 4 Sep 2014 09:37:25 +0000 (09:37 +0000)]
[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
bmeurer@chromium.org [Thu, 4 Sep 2014 09:23:50 +0000 (09:23 +0000)]
Add missing -Wno-missing-field-initializer flag to standalone.gypi.
Chrome uses -Wno-missing-field-initializers when building V8, so we
should better use that as well. It silences warnings generated for the
GTest port files.
BUG=v8:3518
LOG=n
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/
535283006
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23676
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
bmeurer@chromium.org [Thu, 4 Sep 2014 09:22:10 +0000 (09:22 +0000)]
[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
akos.palfi@imgtec.com [Thu, 4 Sep 2014 08:59:42 +0000 (08:59 +0000)]
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
bmeurer@chromium.org [Thu, 4 Sep 2014 08:44:03 +0000 (08:44 +0000)]
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
machenbach@chromium.org [Thu, 4 Sep 2014 08:42:21 +0000 (08:42 +0000)]
Make auto_roll run with a pure git checkout.
BUG=410721
LOG=n
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
540513002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23672
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
machenbach@chromium.org [Thu, 4 Sep 2014 06:50:55 +0000 (06:50 +0000)]
Mark slow test as slow on windows.
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
540813002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23671
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
weiliang.lin@intel.com [Thu, 4 Sep 2014 05:37:17 +0000 (05:37 +0000)]
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
akos.palfi@imgtec.com [Thu, 4 Sep 2014 00:08:31 +0000 (00:08 +0000)]
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
akos.palfi@imgtec.com [Thu, 4 Sep 2014 00:06:56 +0000 (00:06 +0000)]
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
akos.palfi@imgtec.com [Wed, 3 Sep 2014 22:26:38 +0000 (22:26 +0000)]
MIPS: Make concrete classes for individual call descriptors. - external
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=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
535753003
Patch from Balazs Kilvady <balazs.kilvady@imgtec.com>.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23667
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
balazs.kilvady@imgtec.com [Wed, 3 Sep 2014 18:19:54 +0000 (18:19 +0000)]
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
balazs.kilvady@imgtec.com [Wed, 3 Sep 2014 16:29:31 +0000 (16:29 +0000)]
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
machenbach@chromium.org [Wed, 3 Sep 2014 14:38:28 +0000 (14:38 +0000)]
Add more output when roll scripts are retrying.
TBR=jarin@chromium.org
Review URL: https://codereview.chromium.org/
529343003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23664
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
jarin@chromium.org [Wed, 3 Sep 2014 14:28:46 +0000 (14:28 +0000)]
Exclude LoadMutableDouble and FunctionBindArguments from fuzzing.
BUG=409542,410262
LOG=N
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/
535153002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23663
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
sigurds@chromium.org [Wed, 3 Sep 2014 14:10:20 +0000 (14:10 +0000)]
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
verwaest@chromium.org [Wed, 3 Sep 2014 14:05:55 +0000 (14:05 +0000)]
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
mstarzinger@chromium.org [Wed, 3 Sep 2014 13:54:25 +0000 (13:54 +0000)]
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
v8-autoroll@chromium.org [Wed, 3 Sep 2014 13:48:20 +0000 (13:48 +0000)]
Whitespace change to test roll account.
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23659
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
mstarzinger@chromium.org [Wed, 3 Sep 2014 13:39:37 +0000 (13:39 +0000)]
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
mstarzinger@chromium.org [Wed, 3 Sep 2014 13:23:37 +0000 (13:23 +0000)]
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
yangguo@chromium.org [Wed, 3 Sep 2014 13:23:07 +0000 (13:23 +0000)]
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
yangguo@chromium.org [Wed, 3 Sep 2014 13:14:55 +0000 (13:14 +0000)]
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
balazs.kilvady@imgtec.com [Wed, 3 Sep 2014 12:51:06 +0000 (12:51 +0000)]
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
mstarzinger@chromium.org [Wed, 3 Sep 2014 12:43:41 +0000 (12:43 +0000)]
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
mvstanton@chromium.org [Wed, 3 Sep 2014 12:25:13 +0000 (12:25 +0000)]
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
verwaest@chromium.org [Wed, 3 Sep 2014 12:16:09 +0000 (12:16 +0000)]
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
verwaest@chromium.org [Wed, 3 Sep 2014 12:13:46 +0000 (12:13 +0000)]
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
machenbach@chromium.org [Wed, 3 Sep 2014 11:59:43 +0000 (11:59 +0000)]
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
yangguo@chromium.org [Wed, 3 Sep 2014 11:59:24 +0000 (11:59 +0000)]
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
yangguo@chromium.org [Wed, 3 Sep 2014 11:41:54 +0000 (11:41 +0000)]
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
mstarzinger@chromium.org [Wed, 3 Sep 2014 11:35:19 +0000 (11:35 +0000)]
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
mstarzinger@chromium.org [Wed, 3 Sep 2014 11:30:05 +0000 (11:30 +0000)]
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
Jacob.Bramley@arm.com [Wed, 3 Sep 2014 11:11:36 +0000 (11:11 +0000)]
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
mvstanton@chromium.org [Wed, 3 Sep 2014 10:51:51 +0000 (10:51 +0000)]
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
titzer@chromium.org [Wed, 3 Sep 2014 10:13:21 +0000 (10:13 +0000)]
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
bmeurer@chromium.org [Wed, 3 Sep 2014 08:49:21 +0000 (08:49 +0000)]
[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