platform/upstream/v8.git
9 years agoARM64: Fix stack manipulation.
rodolph.perfetta@arm.com [Wed, 22 Oct 2014 18:24:20 +0000 (18:24 +0000)]
ARM64: Fix stack manipulation.

Builtins::Generate_StringConstructCode was claiming stack space instead of
giving it back.

BUG=chromium:425585
LOG=Y
R=jkummerow@chromium.org

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

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

9 years agoSpeed up creation of Objects whose prototype has dictionary elements
adamk@chromium.org [Wed, 22 Oct 2014 18:16:35 +0000 (18:16 +0000)]
Speed up creation of Objects whose prototype has dictionary elements

This speeds up both the case from the bug (using Object.create) but also
takes care ofthe "{ __proto__: obj  }" syntax, which was previously (and
erroneously) being treated the same as setting the prototype dynamically
from script using the __proto__ setter or Object.setPrototypeOf.

BUG=chromium:422754
LOG=y
R=mvstanton@chromium.org

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

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

9 years agoFix {get,set}ter-on-elements tests to run through all creation functions
adamk@chromium.org [Wed, 22 Oct 2014 17:21:53 +0000 (17:21 +0000)]
Fix {get,set}ter-on-elements tests to run through all creation functions

setter-on-elements had the wrong length hardcoded in a for loop over the
creation functions (getter-on-elements had the right length, but seemed
worth future-proofing).

R=mvstanton@chromium.org

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

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

9 years agoAdd Terminate operator.
titzer@chromium.org [Wed, 22 Oct 2014 17:15:38 +0000 (17:15 +0000)]
Add Terminate operator.

Terminate is need for non-terminating loops (NTLs) that can appear after optimizing control flow. It gathers the control and effect(s) from a NTL and connects them to end so that they are not dead-code removed.

R=mstarzinger@chromium.org
BUG=

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

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

9 years agoUpdate intialization of vtune support.
jochen@chromium.org [Wed, 22 Oct 2014 15:30:50 +0000 (15:30 +0000)]
Update intialization of vtune support.

 In R23940 (https://code.google.com/p/v8/source/detail?r=23940) it introduces
 Isolate::CreateParams and mentions that V8::SetJitCodeEventHandler should either
 be passed to Isolate::New as well, or invoked via the Isolate.

 When Chrome as embedder of V8, we will set the Jit Code event handler for Vtune
 support during the initialization of renderer process and V8 has be initialized
 at that time. It's better that we invoke V8::SetJitCodeEventHander via the Isolate.
 So we change the vTune::InitializeVtuneForV8(v8::Isolate::CreateParams& params) to
 vTune::InitializeVtuneForV8(v8::Isolate* isolate).

 we will do corresponding changes in chromium code if this patch is landed and Chromium
 updates V8 to the
 new release branch.

 some part of this patch is provided by denis.pravdin@intel.com.

BUG=
R=danno@chromium.org, jochen@chromium.org

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

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

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

9 years agoStage harmony-strings.
dslomov@chromium.org [Wed, 22 Oct 2014 14:58:25 +0000 (14:58 +0000)]
Stage harmony-strings.

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

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

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

9 years agoCleanups to Verifier.
titzer@chromium.org [Wed, 22 Oct 2014 14:39:41 +0000 (14:39 +0000)]
Cleanups to Verifier.

This CL broadens the checks done by the verifier in untyped mode and introduces some subroutines to shorten the code a bit.

Introduce routines CheckUpperIs() CheckUpperMaybe() and CheckValueInputIs() that are called unconditionally by the verifier. If the typing mode is untyped, then don't check anything.

Also added a couple checks for Merge and Loop nodes that catch bugs where the operator and the node disagree on input counts (a bug encountered today).

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

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

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

9 years agoRemove [[PROTOTYPE]] from ObjectToStringHarmony
dslomov@chromium.org [Wed, 22 Oct 2014 14:06:15 +0000 (14:06 +0000)]
Remove [[PROTOTYPE]] from ObjectToStringHarmony

harmony-tostring needs to emulate InstallFunctions --- InstallFunctions will fail
in Debug builds because the `toString` property already exists in Object.prototype.

The fix is to add some of the other features from InstallFunctions() to the
setup of ObjectToStringHarmony.

R=dslomov@chromium.org

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

Patch from Caitlin Potter <caitpotter88@gmail.com>.

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

9 years agoArray.prototype.{reduce, reduceRight}: Wrong order of operations when determining...
wingo@igalia.com [Wed, 22 Oct 2014 13:13:19 +0000 (13:13 +0000)]
Array.prototype.{reduce, reduceRight}: Wrong order of operations when determining initial value.

BUG=v8:3534
LOG=
R=svenpanne@chromium.org, wingo@igalia.com

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

Patch from Diego Pino <dpino@igalia.com>.

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

9 years agoMove js perf tests to a common root on the perf dashboard.
machenbach@chromium.org [Wed, 22 Oct 2014 13:04:08 +0000 (13:04 +0000)]
Move js perf tests to a common root on the perf dashboard.

BUG=
R=dslomov@chromium.org

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

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

9 years agoAdd an --msan flag to run-tests.py.
machenbach@chromium.org [Wed, 22 Oct 2014 12:54:35 +0000 (12:54 +0000)]
Add an --msan flag to run-tests.py.

Currently a no-op and added only for consistency with ASan/TSan.

BUG=chromium:425187
R=machenbach@chromium.org
LOG=N

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

Patch from Sergey Matveev <earthdok@chromium.org>.

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

9 years agoWhitespace change to test new git workflow.
machenbach@chromium.org [Wed, 22 Oct 2014 11:32:39 +0000 (11:32 +0000)]
Whitespace change to test new git workflow.

TBR=bmeurer@chromium.org

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

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

9 years agoSwitch ScheduleLateNodeVisitor to use explicit queue.
mstarzinger@chromium.org [Wed, 22 Oct 2014 11:31:12 +0000 (11:31 +0000)]
Switch ScheduleLateNodeVisitor to use explicit queue.

R=jarin@chromium.org

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

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

9 years ago[turbofan] Add support for deferred code.
bmeurer@chromium.org [Wed, 22 Oct 2014 11:24:55 +0000 (11:24 +0000)]
[turbofan] Add support for deferred code.

Branch can now have an optional hint, when the condition is
likely true or false, and if such a hint is present the other
basic block will be marked as deferred and placed at the end
of the function.

We currently use this feature for tagging int32/uint32 in
change lowering, and for load/store bounds checks in simplified
lowering.

TEST=cctest,unittests
R=dcarney@chromium.org

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

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

9 years agoPerf tests for fromCodePoint and codePointAt.
dslomov@chromium.org [Wed, 22 Oct 2014 11:08:42 +0000 (11:08 +0000)]
Perf tests for fromCodePoint and codePointAt.

R=yangguo@chromium.org

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

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

9 years agoAdd FRINTP (round towards positive infinity) instruction.
sigurds@chromium.org [Wed, 22 Oct 2014 11:06:22 +0000 (11:06 +0000)]
Add FRINTP (round towards positive infinity) instruction.

Macro Assember, assembler and simulator for ARM64 were missing FRINTP.

R=rodolph.perfetta@arm.com, ulan@chromium.org

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

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

9 years agoMIPS64: Spread the knowledge!
balazs.kilvady@imgtec.com [Wed, 22 Oct 2014 10:26:38 +0000 (10:26 +0000)]
MIPS64: Spread the knowledge!

Port r24793 (c0c2b0d)

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

9 years agoDisable libstdc++ debug mode on x64 for now.
bmeurer@chromium.org [Wed, 22 Oct 2014 09:37:42 +0000 (09:37 +0000)]
Disable libstdc++ debug mode on x64 for now.

TBR=mstarzinger@chromium.org

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

9 years agoRemove testing artifacts from Schedule::AddFoo.
mstarzinger@chromium.org [Wed, 22 Oct 2014 09:14:48 +0000 (09:14 +0000)]
Remove testing artifacts from Schedule::AddFoo.

R=jarin@chromium.org

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

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

9 years agoFlatten the string in StringToDouble function.
dslomov@chromium.org [Wed, 22 Oct 2014 08:19:05 +0000 (08:19 +0000)]
Flatten the string in StringToDouble function.

R=yangguo@chromium.org
BUG=chromium:425551
LOG=N

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

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

9 years agoReally disable test when running with optimize for size
jochen@chromium.org [Wed, 22 Oct 2014 08:15:47 +0000 (08:15 +0000)]
Really disable test when running with optimize for size

R=bmeurer@chromium.org
TBR=bmeurer@chromium.org
LOG=n
BUG=none

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

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

9 years agoEnable libstdc++ debug mode in debug builds.
bmeurer@chromium.org [Wed, 22 Oct 2014 08:12:17 +0000 (08:12 +0000)]
Enable libstdc++ debug mode in debug builds.

For now it's only enabled on Linux/Intel.

R=mstarzinger@chromium.org
BUG=v8:3638
LOG=y

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

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

9 years agoSpread the knowledge!
dslomov@chromium.org [Wed, 22 Oct 2014 08:06:43 +0000 (08:06 +0000)]
Spread the knowledge!

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

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

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

9 years agoFix newly added test to not run with optimize-for-size
jochen@chromium.org [Wed, 22 Oct 2014 07:36:12 +0000 (07:36 +0000)]
Fix newly added test to not run with optimize-for-size

TBR=ulan@chromium.org
BUG=none
LOG=n

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

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

9 years agoAdd support for a target new space size
jochen@chromium.org [Wed, 22 Oct 2014 06:58:38 +0000 (06:58 +0000)]
Add support for a target new space size

When this flag is set, we will commit additional pages up until the
target size before doing a scavenge.

I made sure that all tests pass when a target size of 16MB is set.

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

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

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

9 years agoUse getauxval() if available.
bmeurer@chromium.org [Wed, 22 Oct 2014 06:42:17 +0000 (06:42 +0000)]
Use getauxval() if available.

This fixes the problem of not being able to detect ARM features on
ChromeOS because sandbox cannot access /proc/self/auxv and
/proc/cpuinfo there.

Drive-by-cleanup to libc detection in two other places.

R=svenpanne@chromium.org

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

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

9 years agoWhitespace change to trigger revert of new test262-es6 tests.
machenbach@chromium.org [Tue, 21 Oct 2014 20:13:09 +0000 (20:13 +0000)]
Whitespace change to trigger revert of new test262-es6 tests.

TBR=rossberg@chromium.org

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

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

9 years agoWhitespace change to trigger new test262-es6 tests.
machenbach@chromium.org [Tue, 21 Oct 2014 18:46:12 +0000 (18:46 +0000)]
Whitespace change to trigger new test262-es6 tests.

TBR=rossberg@chromium.org

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

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

9 years agoWhitespace change to trigger new test262-es6 tests.
machenbach@chromium.org [Tue, 21 Oct 2014 18:38:03 +0000 (18:38 +0000)]
Whitespace change to trigger new test262-es6 tests.

TBR=rossberg@chromium.org

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

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

9 years agoReplace single quotes with double quotes to fix BUILD.gn
adamk@chromium.org [Tue, 21 Oct 2014 18:16:50 +0000 (18:16 +0000)]
Replace single quotes with double quotes to fix BUILD.gn

TBR=jochen@chromium.org

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

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

9 years agoArray.prototype.{slice,splice} should use [[DefineOwnProperty]] to generate return...
adamk@chromium.org [Tue, 21 Oct 2014 17:46:42 +0000 (17:46 +0000)]
Array.prototype.{slice,splice} should use [[DefineOwnProperty]] to generate return value

BUG=chromium:423633
LOG=N
R=mstarzinger@chromium.org

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

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

9 years agoUpdate ObjectToString to Harmony-draft algorithm
dslomov@chromium.org [Tue, 21 Oct 2014 17:21:32 +0000 (17:21 +0000)]
Update ObjectToString to Harmony-draft algorithm

Updates Object.prototype.toString() to use algorithm described in harmony drafts.

Currently, the behaviour is essentially the same as ES262's version, however this changes when internal structures
such as Promise make use of symbolToStringTag (as they are supposed to, see v8:3241), and changes further once
Symbol.toStringTag is exposed publicly.

BUG=v8:3241, v8:3502
LOG=N
R=dslomov@chromium.org

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

Patch from Caitlin Potter <caitpotter88@gmail.com>.

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

9 years agoRevert "Make sure floating phi nodes are coupled to their control."
mstarzinger@chromium.org [Tue, 21 Oct 2014 16:31:51 +0000 (16:31 +0000)]
Revert "Make sure floating phi nodes are coupled to their control."

TBR=jarin@chromium.org

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

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

9 years agoMake sure floating phi nodes are coupled to their control.
mstarzinger@chromium.org [Tue, 21 Oct 2014 15:35:39 +0000 (15:35 +0000)]
Make sure floating phi nodes are coupled to their control.

R=jarin@chromium.org

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

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

9 years agoFix scheduler not to connect final merge block in the graph to its inputs.
titzer@chromium.org [Tue, 21 Oct 2014 15:12:45 +0000 (15:12 +0000)]
Fix scheduler not to connect final merge block in the graph to its inputs.

R=mstarzinger@chromium.org
BUG=

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

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

9 years ago[turbofan] use ZonePool in most places in the compiler pipeline a temp zone is used.
dcarney@chromium.org [Tue, 21 Oct 2014 14:44:50 +0000 (14:44 +0000)]
[turbofan] use ZonePool in most places in the compiler pipeline a temp zone is used.

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

BUG=

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

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

9 years agoFix off-by-one bug in TurboFan register allocator.
titzer@chromium.org [Tue, 21 Oct 2014 14:41:54 +0000 (14:41 +0000)]
Fix off-by-one bug in TurboFan register allocator.

R=jarin@chromium.org
BUG=

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

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

9 years agoFix AstGraphBuilder for loops like for(;;).
titzer@chromium.org [Tue, 21 Oct 2014 14:17:08 +0000 (14:17 +0000)]
Fix AstGraphBuilder for loops like for(;;).

R=mstarzinger@chromium.org
BUG=

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

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

9 years agoFix incorrect private access
rossberg@chromium.org [Tue, 21 Oct 2014 13:37:49 +0000 (13:37 +0000)]
Fix incorrect private access

(I'm puzzled why GCC did not report this error.)

TBR=bmeurer@chromium.org
BUG=

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

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

9 years agoThe issue is that by handling strings with map/handler pairs instead of a special
mvstanton@chromium.org [Tue, 21 Oct 2014 13:04:51 +0000 (13:04 +0000)]
The issue is that by handling strings with map/handler pairs instead of a special
version of the keyed load stub (https://code.google.com/p/v8/source/detail?r=24661),
I allowed polymorphism between string and non-string types in the IC. Before, the
IC would go generic.

Then, at crankshaft time, we special case when we only saw strings. The error
here is that crankshaft can't emit code that handles polymorphism between string
and non-string types. The choice is either to get that to happen (I don't deem
this necessary from a performance point of view, an IC with such type feedback
before would have gone generic), or simply check for the case of "polymorphic
with some string maps" and require crankshaft to go generic. I'll do the latter.

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

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

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

9 years agoFix data race with interface caching
rossberg@chromium.org [Tue, 21 Oct 2014 12:57:19 +0000 (12:57 +0000)]
Fix data race with interface caching

R=bmeurer@chromium.org
BUG=421634
LOG=N

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

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

9 years agoUse an idle notification of 0ms as hint that a GC after context disposal is triggerd
jochen@chromium.org [Tue, 21 Oct 2014 12:56:52 +0000 (12:56 +0000)]
Use an idle notification of 0ms as hint that a GC after context disposal is triggerd

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

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

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

9 years ago[turbofan] add ZonePool to correctly track compiler phase memory usage
dcarney@chromium.org [Tue, 21 Oct 2014 12:38:46 +0000 (12:38 +0000)]
[turbofan] add ZonePool to correctly track compiler phase memory usage

R=bmeurer@chromium.org

BUG=

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

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

9 years ago[turbofan] Reduce ~~x to x.
bmeurer@chromium.org [Tue, 21 Oct 2014 12:24:01 +0000 (12:24 +0000)]
[turbofan] Reduce ~~x to x.

TEST=unittests
R=dcarney@chromium.org

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

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

9 years agoAssign bailout and type feedback IDs in a post-pass
wingo@igalia.com [Tue, 21 Oct 2014 12:16:37 +0000 (12:16 +0000)]
Assign bailout and type feedback IDs in a post-pass

This will allow us to move expressions from one function to another, for
example when the parser determines that a given cover grammar instance
is actually the default value initializer for an arrow function.

This is a re-land of https://codereview.chromium.org/636403003/ with a
fix for the arm64 code generator.

R=svenpanne@chromium.org
BUG=

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

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

9 years agoHandle property name "-0" correctly for typed arrays.
dslomov@chromium.org [Tue, 21 Oct 2014 11:54:10 +0000 (11:54 +0000)]
Handle property name "-0" correctly for typed arrays.

R=rossberg@chromium.org

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

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

9 years agoRemove unused IsDirty
verwaest@chromium.org [Tue, 21 Oct 2014 11:21:54 +0000 (11:21 +0000)]
Remove unused IsDirty

BUG=
R=dcarney@chromium.org

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

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

9 years agoHandle NaN value storing in Uint8Clamped typed arrays.
dusan.milosavljevic@imgtec.com [Tue, 21 Oct 2014 11:10:13 +0000 (11:10 +0000)]
Handle NaN value storing in Uint8Clamped typed arrays.

TEST=mjsunit/external-array
BUG=
R=dslomov@chromium.org

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

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

9 years agoPerf tests for harmony string functions.
dslomov@chromium.org [Tue, 21 Oct 2014 11:05:32 +0000 (11:05 +0000)]
Perf tests for harmony string functions.

R=yangguo@chromium.org

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

9 years ago[x86] Select better left operand for comparisons.
bmeurer@chromium.org [Tue, 21 Oct 2014 10:59:55 +0000 (10:59 +0000)]
[x86] Select better left operand for comparisons.

R=dcarney@chromium.org

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

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

9 years agoFix leak in d8.
yangguo@chromium.org [Tue, 21 Oct 2014 10:59:41 +0000 (10:59 +0000)]
Fix leak in d8.

R=bmeurer@chromium.org
TBR=bmeurer@chromium.org

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

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

9 years agoRevert "Assign bailout and type feedback IDs in a post-pass"
svenpanne@chromium.org [Tue, 21 Oct 2014 10:55:12 +0000 (10:55 +0000)]
Revert "Assign bailout and type feedback IDs in a post-pass"

This reverts r24757, which breaks the ARM64 simulator build.
Simple repro:

   out/arm64.debug/d8 -e 'eval("(function(){ const x; var x; })")'

TBR=bmeurer@chromium.org

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

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

9 years agoRemove unused GetConstructor
verwaest@chromium.org [Tue, 21 Oct 2014 10:51:02 +0000 (10:51 +0000)]
Remove unused GetConstructor

BUG=
R=ishell@chromium.org

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

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

9 years agoFix use-of-uninitialized-value introduced in r24700
yurys@chromium.org [Tue, 21 Oct 2014 10:40:14 +0000 (10:40 +0000)]
Fix use-of-uninitialized-value introduced in r24700

LOG=N
BUG=chromium:425146
R=yangguo@chromium.org

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

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

9 years agoFix Win64 after r24758.
ulan@chromium.org [Tue, 21 Oct 2014 10:33:57 +0000 (10:33 +0000)]
Fix Win64 after r24758.

BUG=
TBR=bmeurer@chromium.org

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

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

9 years agoUse smi zero instead of undefine_value to zap dead weak cells.
ulan@chromium.org [Tue, 21 Oct 2014 09:42:16 +0000 (09:42 +0000)]
Use smi zero instead of undefine_value to zap dead weak cells.

It is faster to test for smi zero from generated code.

BUG=
R=erikcorry@chromium.org

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

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

9 years agoAssign bailout and type feedback IDs in a post-pass
svenpanne@chromium.org [Tue, 21 Oct 2014 08:52:32 +0000 (08:52 +0000)]
Assign bailout and type feedback IDs in a post-pass

This will allow us to move expressions from one function to another, for
example when the parser determines that a given cover grammar instance
is actually the default value initializer for an arrow function.

R=svenpanne@chromium.org, marja@chromium.org
BUG=

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

Patch from Andy Wingo <wingo@igalia.com>.

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

9 years agoX87: vector-based ICs did not update type feedback counts correctly.
weiliang.lin@intel.com [Tue, 21 Oct 2014 08:28:00 +0000 (08:28 +0000)]
X87: vector-based ICs did not update type feedback counts correctly.

port r24732.

original commit message:

  vector-based ICs did not update type feedback counts correctly.

BUG=
R=weiliang.lin@intel.com

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

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

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

9 years agoRemove v8stdint.h, it doesn't serve a purpose anymore.
svenpanne@chromium.org [Tue, 21 Oct 2014 08:25:14 +0000 (08:25 +0000)]
Remove v8stdint.h, it doesn't serve a purpose anymore.

Basically a follow-up to https://codereview.chromium.org/667573005/.

LOG=y
R=bmeurer@chromium.org

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

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

9 years agofix ia32 after r24753
dcarney@chromium.org [Tue, 21 Oct 2014 07:12:18 +0000 (07:12 +0000)]
fix ia32 after r24753

TBR=bmeurer@chromium.org

BUG=

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

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

9 years ago[turbofan] cleanup InstructionSequence
dcarney@chromium.org [Tue, 21 Oct 2014 06:59:50 +0000 (06:59 +0000)]
[turbofan] cleanup InstructionSequence

R=bmeurer@chromium.org

BUG=

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

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

9 years agod8: create compile cache in a separate isolate.
yangguo@chromium.org [Tue, 21 Oct 2014 06:40:15 +0000 (06:40 +0000)]
d8: create compile cache in a separate isolate.

R=vogelheim@chromium.org

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

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

9 years agoVisual Studio provides stdint.h these days.
bmeurer@chromium.org [Tue, 21 Oct 2014 04:55:49 +0000 (04:55 +0000)]
Visual Studio provides stdint.h these days.

R=svenpanne@chromium.org

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

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

9 years agoMIPS64: vector-based ICs did not update type feedback counts correctly.
balazs.kilvady@imgtec.com [Mon, 20 Oct 2014 17:59:59 +0000 (17:59 +0000)]
MIPS64: vector-based ICs did not update type feedback counts correctly.

Port r24732 (83e975b)

BUG=v8:3605
LOG=N
R=paul.lind@imgtec.com

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

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

9 years agoFix gc mole test failure.
mvstanton@chromium.org [Mon, 20 Oct 2014 17:32:06 +0000 (17:32 +0000)]
Fix gc mole test failure.

TBR=ulan@chromium.org

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

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

9 years agoRemove deprecated Ascii-related identifiers from include/v8.h
yangguo@chromium.org [Mon, 20 Oct 2014 15:07:27 +0000 (15:07 +0000)]
Remove deprecated Ascii-related identifiers from include/v8.h

R=dcarney@chromium.org

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

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

9 years agoSimplify language feature management.
dslomov@chromium.org [Mon, 20 Oct 2014 13:33:34 +0000 (13:33 +0000)]
Simplify language feature management.

R=rossberg@chromium.org
BUG=v8:3640
LOG=N

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

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

9 years agoDrop obsolete misc-intrinsics.h file.
bmeurer@chromium.org [Mon, 20 Oct 2014 12:37:48 +0000 (12:37 +0000)]
Drop obsolete misc-intrinsics.h file.

R=svenpanne@chromium.org

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

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

9 years agoRemove dead GeneralizeFieldRepresentation
verwaest@chromium.org [Mon, 20 Oct 2014 12:32:23 +0000 (12:32 +0000)]
Remove dead GeneralizeFieldRepresentation

BUG=
R=ishell@chromium.org

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

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

9 years agoUpgrade test262-es6
rossberg@chromium.org [Mon, 20 Oct 2014 12:17:12 +0000 (12:17 +0000)]
Upgrade test262-es6

R=dslomov@chromium.org
BUG=

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

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

9 years agoRemove fuzz-natives tests.
yangguo@chromium.org [Mon, 20 Oct 2014 12:14:26 +0000 (12:14 +0000)]
Remove fuzz-natives tests.

R=jkummerow@chromium.org

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

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

9 years agoAnnotate PromotionQueue::RelocateQueueHead for MemorySanitizer.
ulan@chromium.org [Mon, 20 Oct 2014 12:12:51 +0000 (12:12 +0000)]
Annotate PromotionQueue::RelocateQueueHead for MemorySanitizer.

BUG=chromium:416875
LOG=N
R=earthdok@chromium.org, jkummerow@chromium.org

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

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

9 years agoRead object pointer atomically while updating slots
jochen@chromium.org [Mon, 20 Oct 2014 12:12:09 +0000 (12:12 +0000)]
Read object pointer atomically while updating slots

BUG=425003
R=ulan@chromium.org
LOG=n

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

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

9 years agoMove some Runtime:: functions and remove runtime.h as include when unnecessary.
yangguo@chromium.org [Mon, 20 Oct 2014 12:07:45 +0000 (12:07 +0000)]
Move some Runtime:: functions and remove runtime.h as include when unnecessary.

R=bmeurer@chromium.org

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

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

9 years agoRemove (untested) code for unsupported compilers.
bmeurer@chromium.org [Mon, 20 Oct 2014 12:04:22 +0000 (12:04 +0000)]
Remove (untested) code for unsupported compilers.

R=svenpanne@chromium.org

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

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

9 years agoWhitespace change to test new git workflow.
machenbach@chromium.org [Mon, 20 Oct 2014 11:53:21 +0000 (11:53 +0000)]
Whitespace change to test new git workflow.

TBR=bmeurer@chromium.org

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

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

9 years agovector-based ICs did not update type feedback counts correctly.
mvstanton@chromium.org [Mon, 20 Oct 2014 11:42:56 +0000 (11:42 +0000)]
vector-based ICs did not update type feedback counts correctly.

BUG=v8:3605
LOG=N
R=jkummerow@chromium.org, ulan@chromium.org

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

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

9 years agoAdd README.md file
mikhail.naganov@gmail.com [Mon, 20 Oct 2014 11:37:06 +0000 (11:37 +0000)]
Add README.md file

Add basic info. This file is automatically displayed on GitHub, and is
kind of de-facto standard for project documentation.

BUG=chromium:415466
R=jkummerow@chromium.org

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

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

9 years agoplatform: fix build on SmartOS
bmeurer@chromium.org [Mon, 20 Oct 2014 11:27:39 +0000 (11:27 +0000)]
platform: fix build on SmartOS

With -std=g++0x, `signbit` is no longer a define, and is an actual
function declared in C++-specific headers. Thus checking it's presence
with ifdef will no longer work.

Considering that g++0x implies newer compiler, there should not be the
case where it won't be present anymore.

BUG=
R=bmeurer@chromium.org, danno

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

Patch from Fedor Indutny <fedor.indutny@gmail.com>.

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

9 years ago[turbofan] Move node matchers to separate file.
bmeurer@chromium.org [Mon, 20 Oct 2014 11:26:23 +0000 (11:26 +0000)]
[turbofan] Move node matchers to separate file.

TEST=unittests
R=svenpanne@chromium.org

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

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

9 years ago[turbofan] pass zone to InstructionSequence
dcarney@chromium.org [Mon, 20 Oct 2014 11:18:07 +0000 (11:18 +0000)]
[turbofan] pass zone to InstructionSequence

R=bmeurer@chromium.org

BUG=

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

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

9 years ago[turbofan] fix build after r24726
dcarney@chromium.org [Mon, 20 Oct 2014 10:57:37 +0000 (10:57 +0000)]
[turbofan] fix build after r24726

TBR=bmeurer@chromium.org

BUG=

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

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

9 years ago[turbofan] remove schedule from InstructionSequence
dcarney@chromium.org [Mon, 20 Oct 2014 10:19:15 +0000 (10:19 +0000)]
[turbofan] remove schedule from InstructionSequence

R=bmeurer@chromium.org

BUG=

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

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

9 years agoScript streaming: more UTF-8 handing fixes (again).
marja@chromium.org [Mon, 20 Oct 2014 09:23:43 +0000 (09:23 +0000)]
Script streaming: more UTF-8 handing fixes (again).

1) Since we fill the output buffer both from the chunks and the conversion
buffer, it's possible that we run out of space and call CopyCharsHelper with 0
length. The underlying functions don't handle it gracefully, so check there.

2) There was a bug where we used to try to copy too many characters from the
beginning of the data chunk into the conversion buffer. Continuation bytes in
UTF-8 are of the form 0b10XXXXXX. If a byte is bigger than that, it's the first
byte of a new UTF-8 character and we should ignore it.

These two together (or maybe in combination with surrogates) are a probable
reason for crbug.com/420932.

3) The test data was off; \uc481 is \xec\x92\x81.

BUG=420932
LOG=N
R=yangguo@chromium.org

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

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

9 years ago[arm64] Skip TF tests that time out in simulator debug runs.
bmeurer@chromium.org [Mon, 20 Oct 2014 09:01:14 +0000 (09:01 +0000)]
[arm64] Skip TF tests that time out in simulator debug runs.

TBR=dcarney@chromium.org

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

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

9 years agoSpecial handling for inline caches in code serializer.
yangguo@chromium.org [Mon, 20 Oct 2014 08:46:11 +0000 (08:46 +0000)]
Special handling for inline caches in code serializer.

R=mvstanton@chromium.org

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

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

9 years agoAvoid the Marsaglia effect in 3D
svenpanne@chromium.org [Mon, 20 Oct 2014 08:40:46 +0000 (08:40 +0000)]
Avoid the Marsaglia effect in 3D

For a longer discussion, see the associated Chromium issue.

BUG=chromium:423311
LOG=y
R=bmeurer@chromium.org

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

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

9 years agoFix Win64 size_t/int conversion after b3f2277ea42a.
sigurds@chromium.org [Mon, 20 Oct 2014 08:16:26 +0000 (08:16 +0000)]
Fix Win64 size_t/int conversion after b3f2277ea42a.

TBR=dcarney@chromium.org

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

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

9 years agoAdd inlining for intrinsics.
sigurds@chromium.org [Mon, 20 Oct 2014 07:56:50 +0000 (07:56 +0000)]
Add inlining for intrinsics.

This issue is for discussion on how to proceed.

I think the implementation of ValueOf shows that directly creating the IR does not scale.

BUG=
R=mstarzinger@chromium.org

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

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

9 years agosome static casts for windows to fix r24717
dcarney@chromium.org [Mon, 20 Oct 2014 07:43:56 +0000 (07:43 +0000)]
some static casts for windows to fix r24717

TBR=bmeurer@chromium.org

BUG=

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

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

9 years ago[turbofan] decouple register allocation from schedule and graph
dcarney@chromium.org [Mon, 20 Oct 2014 07:32:01 +0000 (07:32 +0000)]
[turbofan] decouple register allocation from schedule and graph

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

BUG=

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

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

9 years ago[turbofan] Skip bounds checks for positive indices only.
bmeurer@chromium.org [Mon, 20 Oct 2014 06:25:41 +0000 (06:25 +0000)]
[turbofan] Skip bounds checks for positive indices only.

TEST=unittests,mjsunit/asm/int32array-constant-key
R=svenpanne@chromium.org

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

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

9 years agoRevert "Enable libstdc++ debug mode in debug builds.".
bmeurer@chromium.org [Mon, 20 Oct 2014 04:16:06 +0000 (04:16 +0000)]
Revert "Enable libstdc++ debug mode in debug builds.".

This reverts commit r24676 to see if it was the cause for the mysterious
crashes on some bots. If not, we'll reland it.

TBR=svenpanne@chromium.org

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

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

9 years agoX87: ReceiverCheckMode needs to be utilized further.
weiliang.lin@intel.com [Mon, 20 Oct 2014 04:12:53 +0000 (04:12 +0000)]
X87:  ReceiverCheckMode needs to be utilized further.

port r24704.

original commit message:

  ReceiverCheckMode needs to be utilized further.

  The parameter wasn't being passed appropriately, and there was an extra
   opportunity to use mode RECEIVER_IS_STRING in SubStringStub.

BUG=
R=weiliang.lin@intel.com

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

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

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

9 years agoX87: Tick processor: Print C++ entry points.
weiliang.lin@intel.com [Mon, 20 Oct 2014 04:06:06 +0000 (04:06 +0000)]
X87: Tick processor: Print C++ entry points.

port r24700.

original commit message:

  Tick processor: Print C++ entry points

BUG=
R=weiliang.lin@intel.com

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

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

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

9 years agoAdd turbo.cfg to .gitignore.
bmeurer@chromium.org [Mon, 20 Oct 2014 03:52:10 +0000 (03:52 +0000)]
Add turbo.cfg to .gitignore.

TBR=jarin@chromium.org

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

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

9 years agoX87: Implement the new semantics for 'super(...)'
weiliang.lin@intel.com [Mon, 20 Oct 2014 02:00:50 +0000 (02:00 +0000)]
X87: Implement the new semantics for 'super(...)'

original commit message:

  Implement the new semantics for 'super(...)'

  Per the latest ES6 draft, super(...) translates into a call
   to function's prototype.

BUG=
R=weiliang.lin@intel.com

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

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

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

9 years agoX87: Make disassembler string tables read-only.
weiliang.lin@intel.com [Mon, 20 Oct 2014 01:58:46 +0000 (01:58 +0000)]
X87: Make disassembler string tables read-only.

port r24672.

original commit message:

  Move them from .data to .rodata.

BUG=
R=weiliang.lin@intel.com

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

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

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

9 years agoFix webkit getOwnPropertyNames test after r24706 removed Array.prototype.values
adamk@chromium.org [Fri, 17 Oct 2014 20:27:24 +0000 (20:27 +0000)]
Fix webkit getOwnPropertyNames test after r24706 removed Array.prototype.values

TBR=danno@chromium.org

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

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

9 years agoMIPS64: ReceiverCheckMode needs to be utilized further.
akos.palfi@imgtec.com [Fri, 17 Oct 2014 20:17:01 +0000 (20:17 +0000)]
MIPS64: ReceiverCheckMode needs to be utilized further.

Port r24704 (f43a27ee)

Original commit message:
The parameter wasn't being passed appropriately, and there was an extra
opportunity to use mode RECEIVER_IS_STRING in SubStringStub.

BUG=
R=paul.lind@imgtec.com

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

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