rossberg@chromium.org
fa0f929fee
Use rand not random
...
Should make VS happier.
R=bmeurer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/145173012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18817 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 11:58:11 +00:00
svenpanne@chromium.org
c19d55f801
ARM: Reduce the stack requirements of GetNoCodeAgeSequence.
...
Allocate the patcher object on the heap, to avoid occasional stack
overflows on QNX/ARM when entering GetNoCodeAgeSequence.
BUG=v8:3111
LOG=y
Patch from Cosmin Truta <ctruta@blackberry.com>.
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/144933002
Patch from Cosmin Truta <ctruta@blackberry.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18815 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 11:48:09 +00:00
verwaest@chromium.org
21532ddfdc
Reland ArrayPop / ArrayPush.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/138443012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18814 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 11:47:53 +00:00
rossberg@chromium.org
2311b678ae
Type representation converter
...
R=danno@chromium.org
BUG=
Review URL: https://codereview.chromium.org/145083007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18813 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 11:47:47 +00:00
machenbach@chromium.org
cde3ed1fe3
Speed up some mjsunit test cases and clean up test expectations for arm and mips.
...
Many skipped test cases already run very fast. Removing the corresponding expectations.
BUG=
R=jkummerow@chromium.org , mvstanton@chromium.org
Review URL: https://codereview.chromium.org/138503008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18812 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 11:36:45 +00:00
jkummerow@chromium.org
ee4e034d70
Revert broken ArrayPop changes
...
This reverts:
r18749 "Reland (and fix) "Add hydrogen support for ArrayPop, and remove the handwritten call stubs."",
r18790 "Remove ArrayPush from the custom call generators, and instead call directly to the handler in crankshaft.", and
r18798 "MIPS: Remove ArrayPush from the custom call generators, and instead call directly to the handler in crankshaft."
For causing crashes on Canary.
BUG=chromium:337686
LOG=N
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/146003006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18805 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 08:32:50 +00:00
haitao.feng@intel.com
1a122359f7
Revert some movq->movp changes under the _WIN64 macro for X64
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/132233027
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18803 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 01:59:00 +00:00
haitao.feng@intel.com
10e04142d1
Introduce Assembler::RelocInfoNone function for X64
...
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/140553004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18802 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 01:45:53 +00:00
machenbach@chromium.org
ae98a70be6
Prepare push to trunk. Now working on version 3.24.24.
...
R=jkummerow@chromium.org
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/146013006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18799 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-24 01:04:58 +00:00
palfia@homejinni.com
b570073d24
MIPS: Remove ArrayPush from the custom call generators, and instead call directly to the handler in crankshaft.
...
Port r18790 (0d675eeb)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/132773005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18798 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 19:33:42 +00:00
machenbach@chromium.org
ca0d99196d
Disable SetAllocationTimeout in fuzz-natives test since it has varargs.
...
BUG=
R=mstarzinger@chromium.org
TBR=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/145803002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18791 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 16:33:35 +00:00
verwaest@chromium.org
6b60546b16
Remove ArrayPush from the custom call generators, and instead call directly to the handler in crankshaft.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/137693003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18790 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 16:20:25 +00:00
machenbach@chromium.org
033174ab9b
Fix syntax check for SetAllocationTimeout.
...
This is missing in r18787.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/140413006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18789 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 16:16:26 +00:00
machenbach@chromium.org
e89c7095af
Allow to enable/disable inline allocation via runtime function.
...
This will allow to artificially trigger GCs on all allocations for testing purposes.
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/144543005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18787 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 15:57:14 +00:00
jkummerow@chromium.org
7fd59e5295
Don't hardcode GCC_VERSION for Xcode in standalone.gypi.
...
This fixes standalone command-line Xcode compilation with Xcode 5.x.
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/138443008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18785 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 15:55:20 +00:00
plind44@gmail.com
2786e990fb
MIPS: Turn FastNewContextStub into a HydrogenCodeStub.
...
Port r18764 (c40563f)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/145013010
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18784 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 15:42:02 +00:00
plind44@gmail.com
8ba36e8a98
MIPS: Reland r18714 'Unify calling to GenerateFastApiCallBody before stubbing it'.
...
Port r18762 (e8954e8)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/142573003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18783 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 15:38:12 +00:00
vegorov@chromium.org
b7f26cf06d
In HObjectAccess::ForField pass property name down into HObjectAccess for in-object fields.
...
This makes hydrogen.cfg more readable (property name becomes visible in addition to offset).
R=mvstanton@chromium.org
BUG=
Review URL: https://codereview.chromium.org/132923004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18781 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 14:20:48 +00:00
machenbach@chromium.org
15ecc108cb
Show v8 bleeding edge revision in trunk and Chromium commit message.
...
This allows to map from a V8 Chromium roll to the bleeding_edge revision used for the roll.
This CL also improves some test code:
- Don't loose assertion exceptions in mocked git on retry.
- Remove an unused method
BUG=337167
LOG=n
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/139993006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18778 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 13:44:52 +00:00
hpayer@chromium.org
83a1df2354
Remove Heap::MaxRegularSpaceAllocationSize and use Page::MaxRegularHeapObjectSize instead.
...
BUG=
R=mstarzinger@chromium.org , mvstanton@chromium.org
Review URL: https://codereview.chromium.org/141653016
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18776 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 13:02:27 +00:00
hpayer@chromium.org
a92e87e100
Make the full object memory size of a page available for a single allocation.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/145493004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18774 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 12:13:20 +00:00
machenbach@chromium.org
cf138c64b4
Let push-to-trunk script retry failing svn writes.
...
BUG=
TEST=python -m unittest test_scripts
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/144463003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18771 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 10:55:40 +00:00
machenbach@chromium.org
c159485fb1
[Sheriff] Temporarily mark test as flaky.
...
BUG=
TBR=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/145593002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18770 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 10:54:30 +00:00
machenbach@chromium.org
2a4118ef65
Prepare push to trunk. Now working on version 3.24.23.
...
R=jkummerow@chromium.org
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/131973014
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18766 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 09:38:00 +00:00
bmeurer@chromium.org
5e0f020d3a
Turn FastNewContextStub into a HydrogenCodeStub.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/145513002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 08:36:22 +00:00
dcarney@chromium.org
02c02fe567
Reland r18714 'Unify calling to GenerateFastApiCallBody before stubbing it'
...
TBR=verwaest@chromium.org
BUG=
Review URL: https://codereview.chromium.org/144543004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18762 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 08:14:00 +00:00
bmeurer@chromium.org
ea0c68df5a
Add jarin to OWNERS file.
...
R=danno@chromium.org
Review URL: https://codereview.chromium.org/129873023
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18761 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 07:55:58 +00:00
bmeurer@chromium.org
0999eec017
Fix compilation on x64 architectures
...
Contributed by Mathias Bynens <mathiasb@opera.com>.
BUG=v8:3110
LOG=Y
R=bmeurer@chromium.org , jarin@chromium.org
Review URL: https://codereview.chromium.org/143003007
Patch from Mathias Bynens <mathiasb@opera.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18760 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-23 06:31:05 +00:00
danno@chromium.org
f9ff6bf015
Add missing OWNERs
...
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/143943006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18758 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 15:36:00 +00:00
dslomov@chromium.org
2f005e1384
Fix clang build.
...
See http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html .
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/134643025
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18756 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 15:06:36 +00:00
verwaest@chromium.org
c478b6dc60
Ensure we don't overwrite transitions in SetPropertyIgnoreAttributes.
...
BUG=326155
LOG=y
R=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/134733011
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18754 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 14:02:00 +00:00
jochen@chromium.org
9ba4b74e1d
Fix invalid memory access when initializing the command line in d8
...
BUG=none
R=dcarney@chromium.org
LOG=n
Review URL: https://codereview.chromium.org/143983012
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18753 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 13:59:05 +00:00
bmeurer@chromium.org
e5f1ac1ded
Get rid of the unused native code StringAddStub.
...
BUG=v8:2990
LOG=n
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/144023009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18752 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 13:48:05 +00:00
palfia@homejinni.com
787aa693e3
MIPS: Add missing cctests of DoubleToIStub (r16322).
...
BUG=
R=jkummerow@chromium.org , plind44@gmail.com
Review URL: https://codereview.chromium.org/143453003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18751 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 13:44:00 +00:00
verwaest@chromium.org
f30330325e
Reland (and fix) "Add hydrogen support for ArrayPop, and remove the handwritten call stubs."
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/144913003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18749 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 13:22:58 +00:00
hpayer@chromium.org
1474d0510f
Increase the number of allocations in OptimizedPretenuringdoubleArrayLiterals test to make sure that pretenuring decisions are not flaky on the tests bots.
...
BUG=
Review URL: https://codereview.chromium.org/129783006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18746 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 12:59:25 +00:00
bmeurer@chromium.org
c06d248248
Refactor fast path for empty constant strings in BinaryOp.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/143003005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18742 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 12:30:00 +00:00
dslomov@chromium.org
33d7e64b51
ES6: Implement Object.setPrototypeOf
...
This reverts commit bdc89ae76c15f3ef2626f8849744500248aec3ba.
This is a revert of the revert with test/webkit updated as needed.
Original CL Description:
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-object.setprototypeof
This just exposes the internal %SetPrototype and adds all the required
type checks as specified.
BUG=v8:2675
LOG=Y
R=dslomov@chromium.org , rossberg@chromium.org
Review URL: https://codereview.chromium.org/144193005
Patch from Erik Arvidsson <arv@chromium.org>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18739 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 12:15:57 +00:00
hpayer@chromium.org
b704d49176
Remove globale pretenuring mode from runtime.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/132003002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18738 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 12:07:14 +00:00
svenpanne@chromium.org
b4949cfd62
Fixed floor-of-div optimization.
...
We removed an HDiv by hand which was still used by an HChange. The
solution is letting dead code removal do the cleanup.
Removed a fragile "optimization" (looking through an HChange), too,
this obviously never triggered and is hard to get right given all our
global invariants and state/type/... changes.
The repro is a bit tricky, because you need inlining to make our
representations and types disagree in this case.
LOG=y
BUG=334708
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/143903016
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18737 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 11:54:51 +00:00
machenbach@chromium.org
83f9562393
Prepare push to trunk. Now working on version 3.24.22.
...
R=jkummerow@chromium.org
TBR=jkummerow@chromium.org
Review URL: https://codereview.chromium.org/144023007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18732 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 10:50:37 +00:00
mvstanton@chromium.org
1b3280c491
Revert "Add hydrogen support for ArrayPop, and remove the handwritten call stubs."
...
This reverts commit r18709, due to deopt fuzzer issue.
TBR=verwaest@chromium.org
Review URL: https://codereview.chromium.org/143983010
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18731 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 10:41:23 +00:00
mvstanton@chromium.org
717161a0e1
Disable concurrent sweeping, pending investigation of failures.
...
TBR=hpayer@chromium.org
Review URL: https://codereview.chromium.org/141653013
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18728 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 09:14:44 +00:00
hpayer@chromium.org
66a7fc78b8
ResetAllAllocationSitesDependentCode is not changing dependent code, assert removed.
...
BUG=
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/138163014
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18727 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-22 08:46:39 +00:00
palfia@homejinni.com
87b7fdf46b
MIPS: Zonify types in compiler frontend
...
Port r18719 (13303b7a)
Original commit message:
Clean up some zone/isolate handling in AST and its visitors on the way.
(Based on https://codereview.chromium.org/103743004/ )
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/143873005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18726 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 22:31:31 +00:00
hpayer@chromium.org
3271acd764
Fix x64 breakage.
...
BUG=
Review URL: https://codereview.chromium.org/144263002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18723 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 19:40:25 +00:00
hpayer@chromium.org
1d8c83e7ab
Enable concurrent sweeping. Added some extra debugging checks for concurrent sweeping.
...
BUG=
R=titzer@chromium.org
Review URL: https://codereview.chromium.org/138903009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18722 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 19:30:27 +00:00
plind44@gmail.com
ae65c83822
MIPS: Stay in fast enum case if the empty_slow_element_dictionary is used.
...
Port r18705 (78b4ea3)
Original commit message:
This fixes slow for-in over frozen objects.
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/144023002
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18721 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 17:48:57 +00:00
mvstanton@chromium.org
796a244bea
Revert "Unify calling to GenerateFastApiCallBody before stubbing it"
...
This reverts commit r18714 for breaking webkit tests with an assert.
TBR=dcarney@chromium.org
Review URL: https://codereview.chromium.org/144143002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18720 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 17:04:17 +00:00
rossberg@chromium.org
0d906a8bdb
Zonify types in compiler frontend
...
Clean up some zone/isolate handling in AST and its visitors on the way.
(Based on https://codereview.chromium.org/103743004/ )
R=jkummerow@chromium.org , titzer@chromium.org
BUG=
Review URL: https://codereview.chromium.org/102563004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18719 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-01-21 16:22:52 +00:00