yangguo@chromium.org
ed9f1af2fc
Implement handlified String::Flatten.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/228093004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20572 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 09:49:49 +00:00
yangguo@chromium.org
3726ba90a7
Change exception type to Object.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/227163008
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20571 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 09:44:24 +00:00
bmeurer@chromium.org
48e0d81205
Fix invalid local property lookup for transitions.
...
BUG=361025
LOG=y
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/224903023
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20570 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 09:36:04 +00:00
bmeurer@chromium.org
91bc885f88
Add proper dependencies for the GNU GLOBAL tags db.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/228293002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20565 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 08:26:40 +00:00
bmeurer@chromium.org
b40c837e44
Work-around for GNU GLOBAL on 64-bit Ubuntu.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/228263002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20564 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 08:07:50 +00:00
yangguo@chromium.org
23dbc85bd7
Fix more MUST_USE_RESULT warnings.
...
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/228233002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20563 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 07:54:27 +00:00
dcarney@chromium.org
1d138ecdd5
Revert "Refactoring to allow adding new structured types"
...
This reverts commit r20538 for breaking gcmole.
TBR=rossberg@chromium.org
BUG=
Review URL: https://codereview.chromium.org/228223002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20562 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 07:48:47 +00:00
yangguo@chromium.org
f7bb456035
Fix MUST_USE_RESULT warning.
...
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/228203003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20561 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 07:43:46 +00:00
yangguo@chromium.org
9ed8c39cac
Return MaybeHandle from SetElement and DeleteElement.
...
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/227573002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20560 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 07:04:13 +00:00
yangguo@chromium.org
4fcc06685f
Handlify LookupSingleCharacterStringFromCode.
...
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/227593004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20559 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 06:45:53 +00:00
yangguo@chromium.org
3d0c96f881
Handlify RuntimeHidden_RegExpConstructResult.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/227593003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20558 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 06:38:19 +00:00
bmeurer@chromium.org
ec56870d80
Add support for GNU GLOBAL.
...
R=svenpanne@chromium.org
Review URL: https://codereview.chromium.org/225183015
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20557 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 06:19:05 +00:00
svenpanne@chromium.org
c0301105d8
Revert "Handlify deoptimization data allocators."
...
This reverts r20552, it breaks with snapshot=off.
TBR=mstarzinger@chromium.org
BUG=cctest/test-lockers/ExtensionsRegistration
LOG=n
Review URL: https://codereview.chromium.org/228103002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20556 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-08 06:15:20 +00:00
plind44@gmail.com
fcdb87f829
MIPS: Fixed flooring division by -1.
...
Port r20544 (a64196c)
Original commit message:
We should avoid ASR #0 on ARM. Simplified and improved code a bit
while we're there on all platforms. Human brains are very bad at
understanding nested structures...
BUG=v8:3259
LOG=y
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/227583003
Patch from Balazs Kilvady <kilvadyb@homejinni.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20553 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 16:37:30 +00:00
mstarzinger@chromium.org
2e98bda0c0
Handlify deoptimization data allocators.
...
R=hpayer@chromium.org
Review URL: https://codereview.chromium.org/227603004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20552 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 14:27:48 +00:00
yangguo@chromium.org
8d3bd70292
Handlify TransitionElements in runtime.cc.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/227113007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20551 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 14:22:57 +00:00
hpayer@chromium.org
7f54e1999c
Remove gc greedy mode.
...
BUG=
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/227553005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20550 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 14:22:32 +00:00
yangguo@chromium.org
e2c11311f6
Fix build.
...
TBR=dcarney@chromium.org
Review URL: https://codereview.chromium.org/227653003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20549 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 13:40:03 +00:00
yangguo@chromium.org
97a223e569
Do not greedy GC if no allocation is expected/allowed.
...
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/227513003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20548 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 13:36:43 +00:00
yangguo@chromium.org
385cc59c52
Handlify TypeFeedbackOracle::SetInfo.
...
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/226623007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20547 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 12:55:06 +00:00
mstarzinger@chromium.org
0a11d550c7
Handlify ten allocator functions from the Heap.
...
R=mvstanton@chromium.org
Review URL: https://codereview.chromium.org/227623002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20546 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 12:43:35 +00:00
alexandre.rames@arm.com
622ddd3495
ARM64: Introduce a version of ADR handling distant targets.
...
This fixes an out-of-range label error for an ADR instruction in the
mozilla/data/js1_5/Regress/regress-280769-2.js test.
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/222433002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20545 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 12:33:03 +00:00
svenpanne@chromium.org
341ec1b50e
Fixed flooring division by -1 on ARM.
...
We should avoid ASR #0 on ARM. Simplified and improved code a bit
while we're there on all platforms. Human brains are very bad at
understanding nested structures...
BUG=v8:3259
LOG=y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/227553003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20544 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 12:08:40 +00:00
alexandre.rames@arm.com
20461079e9
ARM64: Fix disassembly of branch targets.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/225743004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20543 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 12:06:54 +00:00
yangguo@chromium.org
638a53ec15
Add missing runtime assert for LiveEdit.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/227043009
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20542 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 12:00:53 +00:00
yangguo@chromium.org
5f96d090f6
Handlify i18n.cc.
...
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/226543003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20541 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 11:36:33 +00:00
yangguo@chromium.org
50114c27eb
Handlify LiveEdit.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/227483007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20540 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 11:32:32 +00:00
yangguo@chromium.org
8601ddc73b
Deprecate Context::HasOutOfMemoryException.
...
R=dcarney@chromium.org
Review URL: https://codereview.chromium.org/225723004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20539 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 11:11:25 +00:00
rossberg@chromium.org
32f295314c
Refactoring to allow adding new structured types
...
Also, simplfy representation of zone types, using a simple struct.
R=bmeurer@chromium.org
BUG=
LOG=N
Review URL: https://codereview.chromium.org/225923002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20538 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 11:00:41 +00:00
dcarney@chromium.org
1b31d2b34a
Skip a bunch of new failing nacl tests
...
R=machenbach@chromium.org
BUG=
Review URL: https://codereview.chromium.org/227133006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20535 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 10:44:48 +00:00
yangguo@chromium.org
e7f0beeaa6
Make String.prototype.contains
throw when passing a regular expression
...
Contributed by Mathias Bynens <mathiasb@opera.com>.
TEST=mjsunit/harmony
BUG=v8:3261
LOG=Y
R=yangguo@chromium.org , arv@chromium.org , ishell@chromium.org
Review URL: https://codereview.chromium.org/227113005
Patch from Mathias Bynens <mathiasb@opera.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20534 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 10:24:01 +00:00
mstarzinger@chromium.org
87a9c8e93b
Handlify six allocator functions from the Heap.
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/227533002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20533 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 10:12:54 +00:00
ishell@chromium.org
c9b0492bf5
Callers of ElementsAccessor::Validate() handlified.
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/226153002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20532 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 10:00:14 +00:00
bmeurer@chromium.org
448486ed48
Use distinct maps for oddballs with special handling in the type system.
...
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/227473002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20531 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 09:41:13 +00:00
ishell@chromium.org
7a3703db64
ElementsAccessor::GetAccessorPair() handlified.
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/225683003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20530 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 09:20:44 +00:00
jarin@chromium.org
c19764595f
Dead code elimination of inlined arguments objects causes wrong deopt info to be generated - instead of materializing the arguments, we get 'undefined'.
...
Golem says the change is perf-neutral.
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/208683006
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20529 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 08:42:34 +00:00
svenpanne@chromium.org
814be9b1b6
Yet another regression test for range analysis.
...
BUG=v8:3204
LOG=y
R=bmeurer@chromium.org
Review URL: https://codereview.chromium.org/224723016
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20528 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 08:04:25 +00:00
mvstanton@chromium.org
eaacd968f1
Fix for v8:3255 Grow KeyedStoreIC doesn't respect String value wrappers
...
BUG=v8:3255
LOG=N
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/226053002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20527 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 07:52:24 +00:00
marja@chromium.org
5a803ca2fb
compiler.cc: Remove a comment which is no longer true.
...
We don't do any automatic PreParsing in Compiler::Compile any more (it was
removed by r10066, > 2 years ago).
R=mstarzinger@chromium.org
BUG=
Review URL: https://codereview.chromium.org/225993002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20526 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 07:40:18 +00:00
dslomov@chromium.org
163ad9ff43
Make TypedArray::New fucntions crash on wrong lengths.
...
R=jkummerow@chromium.org
BUG=359802
LOG=N
Review URL: https://codereview.chromium.org/225983005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20525 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-07 05:54:32 +00:00
adamk@chromium.org
8e9eebeba1
OrderedHashTable implementation with Set and Map interfaces
...
OrderedHashTable is an insertion-ordered HashTable based on
Jason Orendorff's writeup of a data structure attributed to Tyler Close:
https://wiki.mozilla.org/User:Jorend/Deterministic_hash_tables
It is intended as the new backing store for JSSet/JSMap, as ES6 requires
insertion-order-based iteration. Note, however, that in the interest of
keeping the initial check-in small this patch does not yet include any
iteration support.
This change also doesn't yet touch any existing behavior, but in
a branch I've verified that these structures pass the existing
JSSet/JSMap mjsunit tests.
BUG=v8:1793
LOG=N
R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/220293002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20522 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 20:41:57 +00:00
mvstanton@chromium.org
9e5757abee
Revert "Reland of https://codereview.chromium.org/172523002/ "
...
This reverts commit r20516 due to a Sunspider performance issue.
R=ishell@chromium.org
Review URL: https://codereview.chromium.org/226233002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20521 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 16:18:59 +00:00
jkummerow@chromium.org
1c31f5d99a
Revert "Compare external pixel data length against Smi::kMaxValue"
...
This reverts r20519. Reason: wrong fix.
TBR=rossberg@chromium.org
Review URL: https://codereview.chromium.org/226063003
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20520 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 16:05:29 +00:00
jkummerow@chromium.org
cd81065745
Compare external pixel data length against Smi::kMaxValue
...
BUG=chromium:359802
LOG=n
R=rossberg@chromium.org
Review URL: https://codereview.chromium.org/226133002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20519 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 15:25:37 +00:00
palfia@homejinni.com
5b1636f23e
MIPS: Reland "Fixed environment assignment for LCheckNonSmi."
...
Port r20495 (705b65bc)
BUG=
R=plind44@gmail.com
Review URL: https://codereview.chromium.org/225023007
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20518 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 15:17:37 +00:00
rodolph.perfetta@arm.com
036b74719d
ARM64: fix simulator constructor
...
BUG=
R=ulan@chromium.org , bmeurer@chromium.org
Review URL: https://codereview.chromium.org/226023002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20517 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 15:02:39 +00:00
mvstanton@chromium.org
f9a8425cd2
Reland of https://codereview.chromium.org/172523002/
...
Fixed
1) Missing line in x64 port.
2) GcStress found a logic error in the IC miss handler.
R=verwaest@chromium.org
Review URL: https://codereview.chromium.org/224903005
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20516 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 13:57:53 +00:00
alexandre.rames@arm.com
72288a68dd
ARM64: Use direct deoptimization exits.
...
R=ulan@chromium.org
Review URL: https://codereview.chromium.org/225703002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20515 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 13:41:12 +00:00
ishell@chromium.org
1f9f8fe9eb
ElementsAccessor's public interface handlification.
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/225933002
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20514 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 13:20:24 +00:00
ishell@chromium.org
dd891816d4
Callers of ElementsAccessor::AddElementsToFixedArray(), ElementsAccessor::HasElement() and ElementsAccessor::GetKeyForIndex() handlified.
...
R=yangguo@chromium.org
Review URL: https://codereview.chromium.org/225623004
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20513 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2014-04-04 13:05:37 +00:00