platform/upstream/v8.git
10 years agoThis implements allocating small typed arrays in heap.
dslomov@chromium.org [Tue, 25 Mar 2014 13:21:58 +0000 (13:21 +0000)]
This implements allocating small typed arrays in heap.

R=mvstanton@chromium.org, verwaest@chromium.org

Committed: https://code.google.com/p/v8/source/detail?r=20240

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

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

10 years agoHandlify Runtime::GetElementOrCharAt.
yangguo@chromium.org [Tue, 25 Mar 2014 13:02:03 +0000 (13:02 +0000)]
Handlify Runtime::GetElementOrCharAt.

R=ishell@chromium.org

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

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

10 years agoRevert "This implements allocating small typed arrays in heap."
dslomov@chromium.org [Tue, 25 Mar 2014 12:58:22 +0000 (12:58 +0000)]
Revert "This implements allocating small typed arrays in heap."

This reverts commit r20240 for breaking Windows build.

TBR=svenpanne@chromium.org

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

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

10 years agoAllow to neuter array buffer twice in tests.
dslomov@chromium.org [Tue, 25 Mar 2014 12:55:10 +0000 (12:55 +0000)]
Allow to neuter array buffer twice in tests.

R=jarin@chromium.org

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

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

10 years agoThis implements allocating small typed arrays in heap.
dslomov@chromium.org [Tue, 25 Mar 2014 12:51:49 +0000 (12:51 +0000)]
This implements allocating small typed arrays in heap.

R=mvstanton@chromium.org, verwaest@chromium.org

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

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

10 years agoRoll ICU 239289:258359 and add support for external ICU data tables
jochen@chromium.org [Tue, 25 Mar 2014 12:05:33 +0000 (12:05 +0000)]
Roll ICU 239289:258359 and add support for external ICU data tables

The only binary that supports ICU data tables is d8. The location of the
data table file has to be passed via a command line switch:

  $ out/x64.optdebug/d8 --icu-data-file=out/x64.optdebug/icudtl.dat

BUG=72633,v8:3142
R=danno@chromium.org
LOG=y

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

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

10 years agoDo not left-trim arrays when concurrent sweeping is active.
hpayer@chromium.org [Tue, 25 Mar 2014 11:57:26 +0000 (11:57 +0000)]
Do not left-trim arrays when concurrent sweeping is active.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoExtend GCMole to cover ARM64 architecture.
mstarzinger@chromium.org [Tue, 25 Mar 2014 11:46:28 +0000 (11:46 +0000)]
Extend GCMole to cover ARM64 architecture.

R=ishell@chromium.org
BUG=

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

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

10 years agoFix for GCMole issue.
ishell@chromium.org [Tue, 25 Mar 2014 11:26:42 +0000 (11:26 +0000)]
Fix for GCMole issue.

R=svenpanne@chromium.org

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

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

10 years agoRevert "Ship promises and weak collections"
rossberg@chromium.org [Tue, 25 Mar 2014 10:57:52 +0000 (10:57 +0000)]
Revert "Ship promises and weak collections"

Reason: breaks Blink layout tests.

R=machenbach@chromium.org
BUG=

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

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

10 years agoARM64: Optimize RegList::IsValid() to speed up simulation in (opt)debug mode.
alexandre.rames@arm.com [Tue, 25 Mar 2014 10:33:50 +0000 (10:33 +0000)]
ARM64: Optimize RegList::IsValid() to speed up simulation in (opt)debug mode.

On my machine this improves the simulation speed noticeably.
| test               | base  | patched |
|--------------------|-------|---------|
| optdebug           | 15:37 | 11:07   |
| debug --quickcheck | 33:53 | 26:14   |

R=ulan@chromium.org

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

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

10 years agoOnly assign environments when they are actually needed. (ia32 only)
svenpanne@chromium.org [Tue, 25 Mar 2014 10:17:02 +0000 (10:17 +0000)]
Only assign environments when they are actually needed. (ia32 only)

R=yangguo@chromium.org

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

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

10 years agoHandlify GetElementWithReceiver and GetElementWithInterceptor.
yangguo@chromium.org [Tue, 25 Mar 2014 10:15:12 +0000 (10:15 +0000)]
Handlify GetElementWithReceiver and GetElementWithInterceptor.

R=ishell@chromium.org

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

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

10 years agoCallers of ElementsAccessor::SetCapacityAndLength() handlified.
ishell@chromium.org [Tue, 25 Mar 2014 09:51:13 +0000 (09:51 +0000)]
Callers of ElementsAccessor::SetCapacityAndLength() handlified.

R=verwaest@chromium.org

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

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

10 years agoFix issues when changing FLAG_concurrent_recompilation after init.
yangguo@chromium.org [Tue, 25 Mar 2014 09:38:48 +0000 (09:38 +0000)]
Fix issues when changing FLAG_concurrent_recompilation after init.

R=jarin@chromium.org
BUG=356053
LOG=N

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

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

10 years agoReland of "FastElementsAccessor::SetLengthWithoutNormalize() handlified."
ishell@chromium.org [Tue, 25 Mar 2014 09:29:48 +0000 (09:29 +0000)]
Reland of "FastElementsAccessor::SetLengthWithoutNormalize() handlified."

R=yangguo@chromium.org

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

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

10 years agoReland "No longer OOM on invalid string length."
yangguo@chromium.org [Tue, 25 Mar 2014 09:09:24 +0000 (09:09 +0000)]
Reland "No longer OOM on invalid string length."

R=ishell@chromium.org

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

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

10 years agoFirst implementation of store elimination.
titzer@chromium.org [Tue, 25 Mar 2014 09:06:16 +0000 (09:06 +0000)]
First implementation of store elimination.

BUG=
R=hpayer@chromium.org

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

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

10 years agoRevert the (wrong) fix of the argument index check asserion.
jarin@chromium.org [Mon, 24 Mar 2014 21:32:19 +0000 (21:32 +0000)]
Revert the (wrong) fix of the argument index check asserion.

R=ishell@chromium.org
BUG=

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

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

10 years agoFix to get around an assertion that triggers when generating code that happens to...
jarin@chromium.org [Mon, 24 Mar 2014 20:51:36 +0000 (20:51 +0000)]
Fix to get around an assertion that triggers when generating code that happens to be dead because the assertion is checked a bit earlier at runtime.

R=ishell@chromium.org
BUG=355486
LOG=N

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

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

10 years agofix FunctionCallbackInfo ambiguity
dcarney@chromium.org [Mon, 24 Mar 2014 19:36:59 +0000 (19:36 +0000)]
fix FunctionCallbackInfo ambiguity

- when compiling tools that embed v8 with g++ FunctionCallbackInfo is currently ambigous
- more info: https://github.com/joyent/node/issues/7337
- original patch is here: https://codereview.appspot.com/78770045/

TBR=svenpanne@chromium.org

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

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

10 years agoRevert "FastElementsAccessor::SetLengthWithoutNormalize() handlified."
ishell@chromium.org [Mon, 24 Mar 2014 19:12:43 +0000 (19:12 +0000)]
Revert "FastElementsAccessor::SetLengthWithoutNormalize() handlified."

This reverts commit r20214 for breaking debug tests on various platforms.

R=vogelheim@chromium.org

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

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

10 years agoMIPS: Replaced unreachable code in DoStoreNamedField by an assertion.
plind44@gmail.com [Mon, 24 Mar 2014 18:17:14 +0000 (18:17 +0000)]
MIPS: Replaced unreachable code in DoStoreNamedField by an assertion.

Port r20194 (2dfda0f)

Original commit message:
This is part of the effort to assign an environment if and only if we can deopt.

Removed some related dead code on the way.

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

10 years agoFastElementsAccessor::SetLengthWithoutNormalize() handlified.
ishell@chromium.org [Mon, 24 Mar 2014 18:15:44 +0000 (18:15 +0000)]
FastElementsAccessor::SetLengthWithoutNormalize() handlified.

R=verwaest@chromium.org

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

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

10 years agoARM64: Prevent compilers to optimize away NaN negation in tests.
baptiste.afsa@arm.com [Mon, 24 Mar 2014 17:43:56 +0000 (17:43 +0000)]
ARM64: Prevent compilers to optimize away NaN negation in tests.

BUG=v8:3226
R=ulan@chromium.org, jochen@chromium.org
LOG=N

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

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

10 years agoARM64: Fix Register and FPRegister copy constructors.
alexandre.rames@arm.com [Mon, 24 Mar 2014 17:41:37 +0000 (17:41 +0000)]
ARM64: Fix Register and FPRegister copy constructors.

This issue was introduced in r19156.

R=ulan@chromium.org

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

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

10 years agoShip promises and weak collections
rossberg@chromium.org [Mon, 24 Mar 2014 16:59:04 +0000 (16:59 +0000)]
Ship promises and weak collections

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoARM64: push/pop registers in stubs for safepoints
m.m.capewell@googlemail.com [Mon, 24 Mar 2014 16:41:37 +0000 (16:41 +0000)]
ARM64: push/pop registers in stubs for safepoints

BUG=

R=ulan@chromium.org

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

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

10 years agoAdd support for per-isolate private symbols
rossberg@chromium.org [Mon, 24 Mar 2014 16:34:06 +0000 (16:34 +0000)]
Add support for per-isolate private symbols

R=mstarzinger@chromium.org
BUG=
LOG=Y

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

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

10 years agoEnsure the constant operand for heap-object store-named-field is not a smi.
verwaest@chromium.org [Mon, 24 Mar 2014 16:25:48 +0000 (16:25 +0000)]
Ensure the constant operand for heap-object store-named-field is not a smi.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoARM64: optimize call immediate
m.m.capewell@googlemail.com [Mon, 24 Mar 2014 16:11:28 +0000 (16:11 +0000)]
ARM64: optimize call immediate

BUG=
R=ulan@chromium.org

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

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

10 years agoEnable x64 build for Android
ulan@chromium.org [Mon, 24 Mar 2014 15:56:35 +0000 (15:56 +0000)]
Enable x64 build for Android

BUG=
R=ulan@chromium.org

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

Patch from Yang Gu <yang.gu@intel.com>.

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

10 years agoChange auto-roll to auto-push for automatic trunk pushes.
machenbach@chromium.org [Mon, 24 Mar 2014 15:52:31 +0000 (15:52 +0000)]
Change auto-roll to auto-push for automatic trunk pushes.

The current script is only performing automatic pushes to trunk. This prepares for adding an auto-roll script that actually rolls to Chromium.

This also removes the v8-status updates, which are no longer necessary due to not touching bleeding edge any more.

BUG=
R=jarin@chromium.org

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

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

10 years agoSpec adjustments for well-known symbols
rossberg@chromium.org [Mon, 24 Mar 2014 15:45:52 +0000 (15:45 +0000)]
Spec adjustments for well-known symbols

R=arv@chromium.org, mstarzinger@chromium.org
BUG=

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

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

10 years agoRevert "No longer OOM on invalid string length."
yangguo@chromium.org [Mon, 24 Mar 2014 15:36:15 +0000 (15:36 +0000)]
Revert "No longer OOM on invalid string length."

This reverts r20202.

TBR=machenbach@chromium.org

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

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

10 years agoNo longer OOM on invalid string length.
yangguo@chromium.org [Mon, 24 Mar 2014 15:01:17 +0000 (15:01 +0000)]
No longer OOM on invalid string length.

R=ishell@chromium.org
BUG=v8:3060
LOG=Y

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

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

10 years agoAdd parser-shell.
marja@chromium.org [Mon, 24 Mar 2014 14:43:41 +0000 (14:43 +0000)]
Add parser-shell.

parser-shell will help to see how much PreParsing gets slower when PreParser
starts doing more checks (especially tracking variables and scopes). It will
also show how much having preparse data (or cached data) speeds up the parsing.

R=ulan@chromium.org
BUG=

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

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

10 years agoParser fix: check allow_harmony_scoping() instead of FLAG_harmony_scoping.
marja@chromium.org [Mon, 24 Mar 2014 14:41:55 +0000 (14:41 +0000)]
Parser fix: check allow_harmony_scoping() instead of FLAG_harmony_scoping.

Without this fix, ParserBase::set_allow_harmony_scoping() and the
kAllowHarmonyScoping in test-parsing.cc don't have any effect, and we end up not
running the tests with harmony scoping allowed.

R=rossberg@chromium.org
BUG=

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

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

10 years agoUse HType::Tagged when allocating elements.
dslomov@chromium.org [Mon, 24 Mar 2014 14:41:01 +0000 (14:41 +0000)]
Use HType::Tagged when allocating elements.

R=mstarzinger@chromium.org

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

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

10 years agoARM64: Use a double register to break cycle involving double values.
baptiste.afsa@arm.com [Mon, 24 Mar 2014 14:18:06 +0000 (14:18 +0000)]
ARM64: Use a double register to break cycle involving double values.

R=ulan@chromium.org

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

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

10 years agoCorrectly convert micro-sign to its upper case.
yangguo@chromium.org [Mon, 24 Mar 2014 14:16:14 +0000 (14:16 +0000)]
Correctly convert micro-sign to its upper case.

R=dcarney@chromium.org
BUG=355485
LOG=N

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

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

10 years agoMIPS: Do stack checks while pushing locals.
plind44@gmail.com [Mon, 24 Mar 2014 14:11:26 +0000 (14:11 +0000)]
MIPS: Do stack checks while pushing locals.

Port r20176 (a1bfd83)

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

10 years agoFix DebugEvaluate for generators.
yangguo@chromium.org [Mon, 24 Mar 2014 14:10:57 +0000 (14:10 +0000)]
Fix DebugEvaluate for generators.

R=mstarzinger@chromium.org
BUG=v8:3225
LOG=N

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

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

10 years agoReplaced unreachable code in DoStoreNamedField by an assertion.
svenpanne@chromium.org [Mon, 24 Mar 2014 13:16:23 +0000 (13:16 +0000)]
Replaced unreachable code in DoStoreNamedField by an assertion.

This is part of the effort to assign an environment if and only if we can deopt.

Removed some related dead code on the way.

R=verwaest@chromium.org

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

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

10 years agoFix debuggersupport=off build after r17184 and r18149.
rossberg@chromium.org [Mon, 24 Mar 2014 13:04:20 +0000 (13:04 +0000)]
Fix debuggersupport=off build after r17184 and r18149.

R=rossberg@chromium.org
BUG=

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

Patch from Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>.

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

10 years agoIA32: Rename MacroAssembler::Set() and MacroAssembler::SafeSet() to Move() and SafeMo...
titzer@chromium.org [Mon, 24 Mar 2014 13:00:05 +0000 (13:00 +0000)]
IA32: Rename MacroAssembler::Set() and MacroAssembler::SafeSet() to Move() and SafeMove().

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoARM64: update the path to android_stlport_libs.
ulan@chromium.org [Mon, 24 Mar 2014 13:00:01 +0000 (13:00 +0000)]
ARM64: update the path to android_stlport_libs.

BUG=
R=jochen@chromium.org

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

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

10 years agoFollow up to r20125 (enabling tests).
marja@chromium.org [Mon, 24 Mar 2014 12:49:26 +0000 (12:49 +0000)]
Follow up to r20125 (enabling tests).

These tests were never meant to be disabled.

R=rossberg@chromium.org
BUG=

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

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

10 years agoPreParser cleanup: no need to track with-ness of scopes.
marja@chromium.org [Mon, 24 Mar 2014 12:16:09 +0000 (12:16 +0000)]
PreParser cleanup: no need to track with-ness of scopes.

Historically, we used to track the "with-ness" of a scope differently; not
creating a with scope, but setting a property on the scope (see
https://codereview.chromium.org/5166006 ). For laziness decisions, checking the
with-ness should be unnecessary: the current scope is function scope, and if the
outer scope is global scope, there's surely no with scope in between.

R=ulan@chromium.org
BUG=

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

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

10 years agoFix component build some more.
marja@chromium.org [Mon, 24 Mar 2014 12:13:58 +0000 (12:13 +0000)]
Fix component build some more.

Not V8_EXPORTing ScriptCompiler::Source got rid of the last errors. This fixes
the new ones created by it. V8_INLINEing these funcs makes sense anyway.

In addition, added declared-private-and-unimplemented assignment operators
which were accidentally omitted.

R=dcarney@chromium.org
BUG=

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

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

10 years agoRevert "A64: Now that we have veneers, fix a couple of branches to directly jump...
svenpanne@chromium.org [Mon, 24 Mar 2014 10:41:33 +0000 (10:41 +0000)]
Revert "A64: Now that we have veneers, fix a couple of branches to directly jump to their target."

This reverts commit r20169, it heavily regresses a Mozilla test:

make -j32 arm64.release.check TESTFLAGS=--time TESTJOBS=mozilla/js1_5/Regress/regress-280769-2

Before:
--- Total time: 00:01.928 ---
   1 (00:01.911) mozilla/js1_5/Regress/regress-280769-2
   2 (00:01.910) mozilla/js1_5/Regress/regress-280769-2
   3 (00:01.910) mozilla/js1_5/Regress/regress-280769-2

After:
--- Total time: 01:36.025 ---
   1 (01:36.004) mozilla/js1_5/Regress/regress-280769-2
   2 (01:35.403) mozilla/js1_5/Regress/regress-280769-2
   3 (01:32.098) mozilla/js1_5/Regress/regress-280769-2

TBR=ulan@chromium.org

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

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

10 years agoDelete mjsunit/string-oom-slow-* tests.
jkummerow@chromium.org [Mon, 24 Mar 2014 10:37:16 +0000 (10:37 +0000)]
Delete mjsunit/string-oom-slow-* tests.

They are too slow, and there is no feasible way to speed them up.

R=yangguo@chromium.org

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

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

10 years ago[ia32/x64] Smaller instruction to check NaN
jkummerow@chromium.org [Mon, 24 Mar 2014 10:18:27 +0000 (10:18 +0000)]
[ia32/x64] Smaller instruction to check NaN

substract 1 and test for overflow

BUG=
R=jkummerow@chromium.org

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

Patch from Weiliang Lin <weiliang.lin@intel.com>.

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

10 years agoReland "Remove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException."
yangguo@chromium.org [Mon, 24 Mar 2014 10:07:15 +0000 (10:07 +0000)]
Reland "Remove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException."

R=dcarney@chromium.org

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

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

10 years agoRevert "Remove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException."
yangguo@chromium.org [Mon, 24 Mar 2014 09:17:18 +0000 (09:17 +0000)]
Revert "Remove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException."

This reverts r20179.

TBR=svenpanne@chromium.org

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

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

10 years agoRemove an unused isolate_ field from BacktrackStack.
rmcilroy@chromium.org [Mon, 24 Mar 2014 09:09:49 +0000 (09:09 +0000)]
Remove an unused isolate_ field from BacktrackStack.

Found by Nico Weber with -Wunused-private-field

R=yangguo@chromium.org

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

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

10 years agoUse V8_FINAL and V8_OVERRIDE in ElementsAccessor classses.
ishell@chromium.org [Mon, 24 Mar 2014 09:06:04 +0000 (09:06 +0000)]
Use V8_FINAL and V8_OVERRIDE in ElementsAccessor classses.

R=yangguo@chromium.org

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

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

10 years agoBuiltin helper function EnsureJSArrayWithWritableFastElements() handlified.
ishell@chromium.org [Mon, 24 Mar 2014 08:48:36 +0000 (08:48 +0000)]
Builtin helper function EnsureJSArrayWithWritableFastElements() handlified.

R=yangguo@chromium.org

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

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

10 years agoRemove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException.
yangguo@chromium.org [Mon, 24 Mar 2014 08:47:45 +0000 (08:47 +0000)]
Remove Failure::OutOfMemory propagation and V8::IgnoreOutOfMemoryException.

R=dcarney@chromium.org
BUG=v8:3060
LOG=Y

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

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

10 years agoadd setaccessorproperty to object
dcarney@chromium.org [Mon, 24 Mar 2014 08:41:59 +0000 (08:41 +0000)]
add setaccessorproperty to object

R=svenpanne@chromium.org

LOG=N
BUG=v8:2964

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

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

10 years agoRefactor inlined typed array runtime functions.
yangguo@chromium.org [Mon, 24 Mar 2014 08:22:24 +0000 (08:22 +0000)]
Refactor inlined typed array runtime functions.

R=dslomov@chromium.org

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

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

10 years agoDo stack checks while pushing locals
dcarney@chromium.org [Mon, 24 Mar 2014 08:17:06 +0000 (08:17 +0000)]
Do stack checks while pushing locals

R=yangguo@chromium.org

BUG=

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

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

10 years agoFix options for calling push-to-trunk script.
machenbach@chromium.org [Mon, 24 Mar 2014 08:03:15 +0000 (08:03 +0000)]
Fix options for calling push-to-trunk script.

BUG=
TBR=jkummerow@chromium.org

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

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

10 years agoDisable concurrent OSR.
yangguo@chromium.org [Mon, 24 Mar 2014 07:44:50 +0000 (07:44 +0000)]
Disable concurrent OSR.

R=svenpanne@chromium.org

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

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

10 years agoARM: fix assertions for uxtb and co.
rodolph.perfetta@arm.com [Fri, 21 Mar 2014 15:59:45 +0000 (15:59 +0000)]
ARM: fix assertions for uxtb and co.

Allow operands with ROR #0. Behind the scene they are mapped to LSL #0.

BUG=v8:3209
LOG=N
R=ulan@chromium.org

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

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

10 years agoTentative Windows dll build fix: Don't V8_EXPORT ScriptCompiler::Source.
marja@chromium.org [Fri, 21 Mar 2014 15:24:36 +0000 (15:24 +0000)]
Tentative Windows dll build fix: Don't V8_EXPORT ScriptCompiler::Source.

For more information, see the bug. Compare to ScriptOrigin
which is not exported either.

BUG=v8:3228
LOG=Y
R=dcarney@chromium.org, jkummerow@chromium.org

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

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

10 years agoA64: Now that we have veneers, fix a couple of branches to directly jump to their...
alexandre.rames@arm.com [Fri, 21 Mar 2014 15:08:50 +0000 (15:08 +0000)]
A64: Now that we have veneers, fix a couple of branches to directly jump to their target.

R=ulan@chromium.org

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

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

10 years agoLet auto-roll push the lkgr.
machenbach@chromium.org [Fri, 21 Mar 2014 15:04:54 +0000 (15:04 +0000)]
Let auto-roll push the lkgr.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoAdd special check for topmost optimized code in deoptimizer verification.
ulan@chromium.org [Fri, 21 Mar 2014 15:03:40 +0000 (15:03 +0000)]
Add special check for topmost optimized code in deoptimizer verification.

BUG=354843
LOG=N
R=jkummerow@chromium.org

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

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

10 years agoJSObject::EnsureCanContainElements() handlified.
ishell@chromium.org [Fri, 21 Mar 2014 14:29:27 +0000 (14:29 +0000)]
JSObject::EnsureCanContainElements() handlified.

R=verwaest@chromium.org

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

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

10 years agoEnable concurrent OSR.
yangguo@chromium.org [Fri, 21 Mar 2014 14:05:49 +0000 (14:05 +0000)]
Enable concurrent OSR.

R=danno@chromium.org

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

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

10 years agoARM64: Fix some stub-cache TODOs
m.m.capewell@googlemail.com [Fri, 21 Mar 2014 13:11:50 +0000 (13:11 +0000)]
ARM64: Fix some stub-cache TODOs

BUG=
R=ulan@chromium.org

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

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

10 years agoARM: Fix Q register encoding
m.m.capewell@googlemail.com [Fri, 21 Mar 2014 13:04:20 +0000 (13:04 +0000)]
ARM: Fix Q register encoding

Fix Q register encoding for registers other than Q0. Also, fix value in NeonSize
enumeration.

BUG=
R=ulan@chromium.org

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

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

10 years agoAdd option to run ScopeIterator faster giving up nested scope chain.
ulan@chromium.org [Fri, 21 Mar 2014 12:30:58 +0000 (12:30 +0000)]
Add option to run ScopeIterator faster giving up nested scope chain.

We'd like to be able to trade nested scope chain info (consisting of with, block and catch scopes) in favor of speed in some cases.

BUG=chromium:340285
LOG=N
R=ulan@chromium.org, pfeldman, ulan, yangguo

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

Patch from Andrey Adaykin <aandrey@chromium.org>.

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

10 years agoReland of r20146 "JSObject::NormalizeElements() handlified."
ishell@chromium.org [Fri, 21 Mar 2014 12:23:39 +0000 (12:23 +0000)]
Reland of r20146 "JSObject::NormalizeElements() handlified."

R=verwaest@chromium.org

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

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

10 years agoAdd a utility method to the ia32 macro assembler to move a double immediate into...
titzer@chromium.org [Fri, 21 Mar 2014 12:16:37 +0000 (12:16 +0000)]
Add a utility method to the ia32 macro assembler to move a double immediate into an XMM register.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoSplit of rolling Chromium from push-to-trunk.
machenbach@chromium.org [Fri, 21 Mar 2014 12:15:25 +0000 (12:15 +0000)]
Split of rolling Chromium from push-to-trunk.

This moves rolling Chromium into a new script with its own tests.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoVisit return statement of inlined function in value context.
ulan@chromium.org [Fri, 21 Mar 2014 12:14:44 +0000 (12:14 +0000)]
Visit return statement of inlined function in value context.

BUG=354357
LOG=N
TEST=mjsunit/regress/regress-354357.js
R=mstarzinger@chromium.org

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

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

10 years agoMark CollectCpuProfile as flaky.
yangguo@chromium.org [Fri, 21 Mar 2014 11:45:54 +0000 (11:45 +0000)]
Mark CollectCpuProfile as flaky.

R=machenbach@chromium.org
BUG=v8:2999
LOG=N

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

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

10 years agoArraySplice builtin handlified.
ishell@chromium.org [Fri, 21 Mar 2014 11:22:16 +0000 (11:22 +0000)]
ArraySplice builtin handlified.

R=yangguo@chromium.org

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

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

10 years agoEnsure that lazy deopt sequence does not override calls.
ulan@chromium.org [Fri, 21 Mar 2014 11:02:15 +0000 (11:02 +0000)]
Ensure that lazy deopt sequence does not override calls.

BUG=354433
LOG=N
TEST=mjsunit/regress/regress-354433.js
R=jkummerow@chromium.org

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

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

10 years agoRevert "JSObject::NormalizeElements() handlified."
ishell@chromium.org [Fri, 21 Mar 2014 10:42:19 +0000 (10:42 +0000)]
Revert "JSObject::NormalizeElements() handlified."

This reverts commit r20146 which broke V8 GC Stress, Mjsunit tests.

R=yangguo@chromium.org

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

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

10 years agoMove new expression parsing funcs to ParserBase.
marja@chromium.org [Fri, 21 Mar 2014 10:34:51 +0000 (10:34 +0000)]
Move new expression parsing funcs to ParserBase.

Functions moved: ParseMemberWithNewPrefixesExpression, ParseMemberExpression,
ParseMemberExpressionContinuation.

Now all Parse*Expression functions are in ParserBase.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoSkip string-oom tests on nacl.
yangguo@chromium.org [Fri, 21 Mar 2014 10:34:07 +0000 (10:34 +0000)]
Skip string-oom tests on nacl.

R=machenbach@chromium.org
TBR=machenbach@chromium.org

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

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

10 years agoMark test-assembler-arm64/fmadd_fmsub_float_nans on arm64 as flaky
jochen@chromium.org [Fri, 21 Mar 2014 10:02:57 +0000 (10:02 +0000)]
Mark test-assembler-arm64/fmadd_fmsub_float_nans on arm64 as flaky

BUG=v8:3226
LOG=n
R=ulan@chromium.org

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

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

10 years agoMove ParseLeftHandSideExpression to ParserBase.
marja@chromium.org [Fri, 21 Mar 2014 09:51:33 +0000 (09:51 +0000)]
Move ParseLeftHandSideExpression to ParserBase.

Includes cleanups:
- Reorganized functions in PreParserFactory to be in the logical order.
- De-hackified things PreParser doesn't need to track, such as IsCall & IsCallNew.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoMove ParsePostfixExpression into ParserBase.
marja@chromium.org [Fri, 21 Mar 2014 09:46:18 +0000 (09:46 +0000)]
Move ParsePostfixExpression into ParserBase.

+ enable a test which checks that Parser and PreParser produce the "invalid left
hand side" errors consistently.

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoRename A64 port to ARM64 port
jochen@chromium.org [Fri, 21 Mar 2014 09:28:26 +0000 (09:28 +0000)]
Rename A64 port to ARM64 port

BUG=354405
R=ulan@chromium.org, rodolph.perfetta@arm.com
LOG=y

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

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

10 years agoPrepare switch from a64 to arm64
jochen@chromium.org [Fri, 21 Mar 2014 08:47:03 +0000 (08:47 +0000)]
Prepare switch from a64 to arm64

BUG=354405
R=machenbach@chromium.org
LOG=n

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

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

10 years agoJSObject::NormalizeElements() handlified.
ishell@chromium.org [Fri, 21 Mar 2014 08:44:40 +0000 (08:44 +0000)]
JSObject::NormalizeElements() handlified.

R=verwaest@chromium.org

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

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

10 years agoJSArray::SetContent() handlified.
ishell@chromium.org [Fri, 21 Mar 2014 08:30:42 +0000 (08:30 +0000)]
JSArray::SetContent() handlified.

R=yangguo@chromium.org

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

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

10 years agoRemove unused color declarations in the a64 simulator
jochen@chromium.org [Fri, 21 Mar 2014 08:23:16 +0000 (08:23 +0000)]
Remove unused color declarations in the a64 simulator

They're now all defined globally

BUG=none
R=svenpanne@chromium.org
LOG=n

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

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

10 years agoArrayUnshift builtin handlified.
ishell@chromium.org [Fri, 21 Mar 2014 08:12:16 +0000 (08:12 +0000)]
ArrayUnshift builtin handlified.

R=yangguo@chromium.org

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

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

10 years agoRevert "Use constant length for memcpy on A64 simulator."
svenpanne@chromium.org [Fri, 21 Mar 2014 08:03:26 +0000 (08:03 +0000)]
Revert "Use constant length for memcpy on A64 simulator."

This reverts commit r20141 which broke the build with some GCC versions. The
reason behind that is GCC emits a warning about code which can never be reached,
but GCC can't figure that out.

The right approach would be using template specialization instead of these
runtime if/then/else cascades, which would be nicer from a SW engineering
perspective, too.

TBR=yangguo@chromium.org

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

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

10 years agoUse constant length for memcpy on A64 simulator.
svenpanne@chromium.org [Fri, 21 Mar 2014 07:08:08 +0000 (07:08 +0000)]
Use constant length for memcpy on A64 simulator.

Compiler can't optimize away variable length memcpy.
About a 18% boost.

Before - 5:40

Richards: 75.2
DeltaBlue: 105
Crypto: 64.0
RayTrace: 188
EarleyBoyer: 146
RegExp: 23.8
Splay: 96.2
NavierStokes: 91.9
----
Score (version 7): 85.7

After - 4:39

Richards: 90.8
DeltaBlue: 134
Crypto: 81.7
RayTrace: 227
EarleyBoyer: 177
RegExp: 29.7
Splay: 126
NavierStokes: 108
----
Score (version 7): 106

R=rodolph.perfetta@gmail.com, svenpanne@chromium.org

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

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

10 years agoIntroduce addp, idivp, imulp and subp for x64 port
haitao.feng@intel.com [Fri, 21 Mar 2014 02:42:10 +0000 (02:42 +0000)]
Introduce addp, idivp, imulp and subp for x64 port

R=verwaest@chromium.org

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

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

10 years agoMIPS: Fix register usage of r20076.
plind44@gmail.com [Thu, 20 Mar 2014 19:12:08 +0000 (19:12 +0000)]
MIPS: Fix register usage of r20076.

BUG=
R=plind44@gmail.com

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

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

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

10 years agoFix missing access check in Runtime_SetPrototype.
mstarzinger@chromium.org [Thu, 20 Mar 2014 18:14:33 +0000 (18:14 +0000)]
Fix missing access check in Runtime_SetPrototype.

R=rossberg@chromium.org
BUG=chromium:354123
TEST=cctest/test-api/Regress354123
LOG=y

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

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

10 years agoFix polymorphic hydrogen handling of SLOPPY_ARGUMENTS_ELEMENTS
jkummerow@chromium.org [Thu, 20 Mar 2014 16:25:24 +0000 (16:25 +0000)]
Fix polymorphic hydrogen handling of SLOPPY_ARGUMENTS_ELEMENTS

BUG=chromium:354391
LOG=y
R=verwaest@chromium.org

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

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

10 years agoReland "Implement ES6 symbol registry and predefined symbols"
rossberg@chromium.org [Thu, 20 Mar 2014 16:13:09 +0000 (16:13 +0000)]
Reland "Implement ES6 symbol registry and predefined symbols"

Only change relative to original CL is the updated assertion condition at objects-inl.h:2119

R=mstarzinger@chromium.org
BUG=

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

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