platform/upstream/v8.git
10 years agoTest landmines.
machenbach@chromium.org [Wed, 23 Jul 2014 13:12:00 +0000 (13:12 +0000)]
Test landmines.

BUG=
R=jochen@chromium.org
TBR=jochen@chromium.org

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

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

10 years agoExpress LoadIC extra ic state with LoadIC::State
mvstanton@chromium.org [Wed, 23 Jul 2014 12:24:11 +0000 (12:24 +0000)]
Express LoadIC extra ic state with LoadIC::State

Soon we will create code stubs that need to match LoadIC state. It's easier to
express if the state is encapsulated in a single class rather than multiple bit
fields.

R=verwaest@chromium.org

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

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

10 years agoRevert r22544: "Rebaseline/update the intl tests with ICU 52"
jochen@chromium.org [Wed, 23 Jul 2014 11:39:46 +0000 (11:39 +0000)]
Revert r22544: "Rebaseline/update the intl tests with ICU 52"

The intl tests still fail locally.

BUG=v8:3454
LOG=N
R=verwaest@chromium.org

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

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

10 years agoMake landmines work on the first landmine.
machenbach@chromium.org [Wed, 23 Jul 2014 11:33:29 +0000 (11:33 +0000)]
Make landmines work on the first landmine.

With the original script, landmines don't work if the initial commit of the landmine script and the first landmine are in the same build. In this case, the landmine file wouldn't exist yet and no landmine would be triggered. But the updated landmine content would have still been written, omitting the landmine.

Now, the script will initialize an empty landmine file if none exists. This will make sure that a landmine is set on the branch builders after the next branch point.

This also adds some debugging output to better trace when landmines are set/deleted.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoAvoid redundent redefinition of __STDC_FORMAT_MACROS when building with clang
rmcilroy@chromium.org [Wed, 23 Jul 2014 11:24:12 +0000 (11:24 +0000)]
Avoid redundent redefinition of __STDC_FORMAT_MACROS when building with clang

R=jochen@chromium.org, paul.lind@imgtec.com

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

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

10 years agoAdd bailout checks to Message::Get{Start,End}Column()
dcarney@chromium.org [Wed, 23 Jul 2014 11:21:19 +0000 (11:21 +0000)]
Add bailout checks to Message::Get{Start,End}Column()

Also add an initial ON_BAILOUT() check to these two 'bailout enabled'
accessors.

(The need for these was encountered via http://crbug.com/393273)

R=dcarney@chromium.org

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

Patch from Sigbjorn Finne <sof@opera.com>.

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

10 years agoAdd debugging output to RangeType test.
neis@chromium.org [Wed, 23 Jul 2014 11:17:14 +0000 (11:17 +0000)]
Add debugging output to RangeType test.
R=rossberg@chromium.org
BUG=

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

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

10 years agoAlways use the LoadStubCompiler for Load handlers, also for keyedload handlers.
verwaest@chromium.org [Wed, 23 Jul 2014 11:16:29 +0000 (11:16 +0000)]
Always use the LoadStubCompiler for Load handlers, also for keyedload handlers.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoOnly to the relevant checks in LoadFunctionPrototype
verwaest@chromium.org [Wed, 23 Jul 2014 11:12:11 +0000 (11:12 +0000)]
Only to the relevant checks in LoadFunctionPrototype

BUG=
R=mvstanton@chromium.org

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

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

10 years agotools: more post-mortem constants
danno@chromium.org [Wed, 23 Jul 2014 10:48:16 +0000 (10:48 +0000)]
tools: more post-mortem constants

Expose more info about post-mortem constants

Useful for node.js and/or other tools.

BUG=
R=danno@chromium.org

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

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

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

10 years agoDo not reverse lookup code stubs dictionary.
yangguo@chromium.org [Wed, 23 Jul 2014 09:49:00 +0000 (09:49 +0000)]
Do not reverse lookup code stubs dictionary.

R=jkummerow@chromium.org

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

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

10 years agoPropagate serialization flag to inner functions.
yangguo@chromium.org [Wed, 23 Jul 2014 09:35:06 +0000 (09:35 +0000)]
Propagate serialization flag to inner functions.

R=mvstanton@chromium.org

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

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

10 years agoFix version check in push-to-trunk.
machenbach@chromium.org [Wed, 23 Jul 2014 09:25:36 +0000 (09:25 +0000)]
Fix version check in push-to-trunk.

The local master branch is not kept up-to-date by the script.

BUG=
TBR=jarin@chromium.org

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

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

10 years agoWait for sweeper threads when a scan on scavenge page is not swept.
hpayer@chromium.org [Wed, 23 Jul 2014 09:17:21 +0000 (09:17 +0000)]
Wait for sweeper threads when a scan on scavenge page is not swept.

BUG=
R=jarin@chromium.org

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

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

10 years agoRebaseline/update the intl tests with ICU 52
jochen@chromium.org [Wed, 23 Jul 2014 09:00:43 +0000 (09:00 +0000)]
Rebaseline/update the intl tests with ICU 52

Update the following 4 intl tests after ICU 52 roll.

date-format/parse-MMMdy.js
date-format/parse-mdyhms.js
number-format/parse-decimal.js
number-format/parse-percent.js

BUG=v8:3454
TEST=intl/* tests pass.
LOG=Y
R=jochen@chromium.org

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

Patch from Jungshik Shin <jshin@chromium.org>.

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

10 years agoFix debugger-related issues in the code serializer.
yangguo@chromium.org [Wed, 23 Jul 2014 08:27:04 +0000 (08:27 +0000)]
Fix debugger-related issues in the code serializer.

R=mvstanton@chromium.org

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

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

10 years agoX87: Introduce FLAG_vector_ics.
mvstanton@chromium.org [Wed, 23 Jul 2014 07:48:19 +0000 (07:48 +0000)]
X87: Introduce FLAG_vector_ics.

port r22500.

original commit message:

  Introduce FLAG_vector_ics.

  When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs
  will allocate a type vector slot to store feedback information. Full codegen
  will emit a load of the slot into a register if the flag is on.

  Support is incomplete, right now the IC doesn't know how to use the feedback
  slot.

BUG=
R=mvstanton@chromium.org

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

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

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

10 years agoExpose the content of Sets and WeakSets through SetMirror.
yangguo@chromium.org [Wed, 23 Jul 2014 07:33:47 +0000 (07:33 +0000)]
Expose the content of Sets and WeakSets through SetMirror.

BUG=v8:3093
LOG=Y
R=aandrey@chromium.org, arv@chromium.org, yangguo@chromium.org

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

Patch from Alexandra Mikhaylova <amikhaylova@google.com>.

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

10 years agoCorrectly hook up back references to internalized strings in code deserializer.
yangguo@chromium.org [Wed, 23 Jul 2014 07:16:32 +0000 (07:16 +0000)]
Correctly hook up back references to internalized strings in code deserializer.

R=mvstanton@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.33.0
machenbach@chromium.org [Wed, 23 Jul 2014 06:30:45 +0000 (06:30 +0000)]
[Auto-roll] Bump up version to 3.28.33.0

TBR=machenbach@chromium.org

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

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

10 years agoDisable mjsunit/stack-traces-overflow test for gc stress builders.
hpayer@chromium.org [Tue, 22 Jul 2014 20:30:08 +0000 (20:30 +0000)]
Disable mjsunit/stack-traces-overflow test for gc stress builders.

BUG=

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

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

10 years agoAdd constructor for range types.
neis@chromium.org [Tue, 22 Jul 2014 17:33:22 +0000 (17:33 +0000)]
Add constructor for range types.

R=rossberg@chromium.org
BUG=

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

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

10 years agoMIPS: Move function prototype handling into a special handler rather than IC.
balazs.kilvady@imgtec.com [Tue, 22 Jul 2014 17:14:27 +0000 (17:14 +0000)]
MIPS: Move function prototype handling into a special handler rather than IC.

Port r22526 (d4c953e)

Original commit message:
Adjust hydrogen handling of function.prototype to be based on map feedback. Handle non-instance prototype loading using an IC rather than in the hydrogen instruction. In the future, remove the special instruction and replace by multiple hydrogen instructions.

BUG=
R=paul.lind@imgtec.com

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

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

10 years agoFix webkit test status file.
hpayer@chromium.org [Tue, 22 Jul 2014 16:45:08 +0000 (16:45 +0000)]
Fix webkit test status file.

BUG=

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

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

10 years agoSet the state of a swept page after being done with sweeping.
hpayer@chromium.org [Tue, 22 Jul 2014 16:30:23 +0000 (16:30 +0000)]
Set the state of a swept page after being done with sweeping.

BUG=
R=machenbach@chromium.org

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

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

10 years agoFix remaining CXX cross-compilation builds in Makefile.
paul.lind@imgtec.com [Tue, 22 Jul 2014 15:29:22 +0000 (15:29 +0000)]
Fix remaining CXX cross-compilation builds in Makefile.

r22509 fixed arm and mips (big-endian) cross-compilation builds.

It did not fix mipsel, mips64el, or arm64 builds, since the
toolchain prefix did not match the v8_target_arch.

For mips, the toolchain is typically named mips-linux-gnu-g++,
but it can compile for mipsel or mips64el via flags. (There can
also be mipsel-linux-gnu-g++ toolchains, and this patch will
work for mipsel build in that case).

For arm64, the toolchains seem to be named aarch64-linux-gnu-g++.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoLandmine after ICU52 roll.
machenbach@chromium.org [Tue, 22 Jul 2014 15:09:58 +0000 (15:09 +0000)]
Landmine after ICU52 roll.

BUG=
TBR=jochen@chromium.org

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

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

10 years agoAdd landmines support.
machenbach@chromium.org [Tue, 22 Jul 2014 15:06:18 +0000 (15:06 +0000)]
Add landmines support.

The scripts are copied from chromium/src/build and simplified.

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

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

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

10 years agoAvoid bash-ism in Makefile
jochen@chromium.org [Tue, 22 Jul 2014 14:53:29 +0000 (14:53 +0000)]
Avoid bash-ism in Makefile

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

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

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

10 years agoMIPS: Never record safepoint with doubles.
balazs.kilvady@imgtec.com [Tue, 22 Jul 2014 14:34:55 +0000 (14:34 +0000)]
MIPS: Never record safepoint with doubles.

Port r22496 (f9dde0f) and r22498 (7a16d69)

BUG=
R=dusan.milosavljevic@imgtec.com

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

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

10 years agoMove function prototype handling into a special handler rather than IC
verwaest@chromium.org [Tue, 22 Jul 2014 14:27:53 +0000 (14:27 +0000)]
Move function prototype handling into a special handler rather than IC
Adjust hydrogen handling of function.prototype to be based on map feedback. Handle non-instance prototype loading using an IC rather than in the hydrogen instruction. In the future, remove the special instruction and replace by multiple hydrogen instructions.

BUG=
R=mvstanton@chromium.org

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

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

10 years agoSkip test262 tests failing on Mac
jochen@chromium.org [Tue, 22 Jul 2014 12:56:53 +0000 (12:56 +0000)]
Skip test262 tests failing on Mac

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

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

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

10 years agoUpdate ICU to 5.2 (matching chromium)
jochen@chromium.org [Tue, 22 Jul 2014 12:27:59 +0000 (12:27 +0000)]
Update ICU to 5.2 (matching chromium)

BUG=v8:3452
R=svenpanne@chromium.org
LOG=y

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

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

10 years agoSlotRef::GetValue INT32 case needs to be 64bit big endian aware
jkummerow@chromium.org [Tue, 22 Jul 2014 11:35:49 +0000 (11:35 +0000)]
SlotRef::GetValue INT32 case needs to be 64bit big endian aware

On 64bit big endian systems fetch the correct 32bits from the slot

BUG=v8:3449
LOG=N
R=jkummerow@chromium.org

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

Patch from Andrew Low <andrew_low@ca.ibm.com>.

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

10 years agoAdd profiling to code serializer.
yangguo@chromium.org [Tue, 22 Jul 2014 10:35:38 +0000 (10:35 +0000)]
Add profiling to code serializer.

R=jochen@chromium.org

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

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

10 years agoUpdate test and rebaseline
verwaest@chromium.org [Tue, 22 Jul 2014 09:44:56 +0000 (09:44 +0000)]
Update test and rebaseline

BUG=
R=ishell@chromium.org

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

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

10 years ago[Auto-roll] Bump up version to 3.28.32.0
machenbach@chromium.org [Tue, 22 Jul 2014 09:19:05 +0000 (09:19 +0000)]
[Auto-roll] Bump up version to 3.28.32.0

TBR=machenbach@chromium.org

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

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

10 years agoSupport setting named properties on non-JSObjects.
verwaest@chromium.org [Tue, 22 Jul 2014 08:28:49 +0000 (08:28 +0000)]
Support setting named properties on non-JSObjects.

BUG=
R=ishell@chromium.org

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

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

10 years agoRevert "Set the state of a swept page after being done with sweeping."
svenpanne@chromium.org [Tue, 22 Jul 2014 07:19:46 +0000 (07:19 +0000)]
Revert "Set the state of a swept page after being done with sweeping."

This reverts commit r22514, it broke the GC stress builder.

TBR=machenbach@chromium.org

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

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

10 years agoSet the state of a swept page after being done with sweeping.
hpayer@chromium.org [Mon, 21 Jul 2014 19:24:02 +0000 (19:24 +0000)]
Set the state of a swept page after being done with sweeping.

BUG=
R=titzer@chromium.org

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

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

10 years agoMIPS: Introduce FLAG_vector_ics.
paul.lind@imgtec.com [Mon, 21 Jul 2014 19:09:56 +0000 (19:09 +0000)]
MIPS: Introduce FLAG_vector_ics.

Port r22500 (8fd2751)

Original commit message:
When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs
will allocate a type vector slot to store feedback information. Full codegen
will emit a load of the slot into a register if the flag is on.

Support is incomplete, right now the IC doesn't know how to use the feedback
slot.

BUG=
R=paul.lind@imgtec.com

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

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

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

10 years ago[Arm]: Assert that movw/movt is only emitted for Armv7 targets
rmcilroy@chromium.org [Mon, 21 Jul 2014 16:20:19 +0000 (16:20 +0000)]
[Arm]: Assert that movw/movt is only emitted for Armv7 targets

R=jochen@chromium.org

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

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

10 years agoReduce usage of StoreMode.
verwaest@chromium.org [Mon, 21 Jul 2014 16:01:50 +0000 (16:01 +0000)]
Reduce usage of StoreMode.

BUG=
R=ishell@chromium.org

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

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

10 years agoRename CurrentMapForDeprecated to TryUpdate, and introduce Map::Update which potentia...
verwaest@chromium.org [Mon, 21 Jul 2014 15:59:05 +0000 (15:59 +0000)]
Rename CurrentMapForDeprecated to TryUpdate, and introduce Map::Update which potentially deprecates

BUG=
R=ishell@chromium.org

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

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

10 years agoAdd CXX cross-compile detection into Makefile after it was removed from gyp.
rmcilroy@chromium.org [Mon, 21 Jul 2014 15:25:50 +0000 (15:25 +0000)]
Add CXX cross-compile detection into Makefile after it was removed from gyp.

R=jkummerow@chromium.org

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

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

10 years agoEnable object evacuation verifier. Perform verification of evacuation candidates...
hpayer@chromium.org [Mon, 21 Jul 2014 15:12:19 +0000 (15:12 +0000)]
Enable object evacuation verifier. Perform verification of evacuation candidates when sweeping is done.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoUse 0 instead of undefined for uninitialized stub key.
yangguo@chromium.org [Mon, 21 Jul 2014 13:51:42 +0000 (13:51 +0000)]
Use 0 instead of undefined for uninitialized stub key.

The CPU profiler looks at uninitialized code objects, which triggers an assertion.

TBR=jkummerow@chromium.org

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

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

10 years agoSmall improvement to String.fromCodePoint.
yangguo@chromium.org [Mon, 21 Jul 2014 13:18:44 +0000 (13:18 +0000)]
Small improvement to String.fromCodePoint.

R=rossberg@chromium.org

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

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

10 years agoStore both major and minor key on code stubs.
yangguo@chromium.org [Mon, 21 Jul 2014 13:10:14 +0000 (13:10 +0000)]
Store both major and minor key on code stubs.

R=jkummerow@chromium.org

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

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

10 years agoFix HSourcePosition when --hydrogen-track-positions is used.
mstarzinger@chromium.org [Mon, 21 Jul 2014 13:09:11 +0000 (13:09 +0000)]
Fix HSourcePosition when --hydrogen-track-positions is used.

R=yangguo@chromium.org

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

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

10 years agoMissing runtime test
rossberg@chromium.org [Mon, 21 Jul 2014 12:20:05 +0000 (12:20 +0000)]
Missing runtime test

TBR=svenpanne@chromium.org
BUG=

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

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

10 years ago[Auto-roll] Bump up version to 3.28.31.0
machenbach@chromium.org [Mon, 21 Jul 2014 12:14:36 +0000 (12:14 +0000)]
[Auto-roll] Bump up version to 3.28.31.0

TBR=machenbach@chromium.org

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

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

10 years agoFix automatic version update.
machenbach@chromium.org [Mon, 21 Jul 2014 12:13:36 +0000 (12:13 +0000)]
Fix automatic version update.

This fixes two things:
1. Guarantee that versions are bumped up also when presubmit errors exists. Those errors originate from other CLs and should not stop the automatic versioning.
2. Calculate the last bleeding edge version when pushing to trunk based on remote branch svn/bleeding_edge and not on local branch master. The master branch is not kept up-to-date by the script.

BUG=
TBR=jarin@chromium.org

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

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

10 years agoIntroduce FLAG_vector_ics.
mvstanton@chromium.org [Mon, 21 Jul 2014 11:19:56 +0000 (11:19 +0000)]
Introduce FLAG_vector_ics.

When FLAG_vector_ics is true, then AST nodes that use Load and KeyedLoad ICs
will allocate a type vector slot to store feedback information. Full codegen
will emit a load of the slot into a register if the flag is on.

Support is incomplete, right now the IC doesn't know how to use the feedback
slot.

R=verwaest@chromium.org

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

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

10 years agoAlways sweep precisely.
hpayer@chromium.org [Mon, 21 Jul 2014 10:39:10 +0000 (10:39 +0000)]
Always sweep precisely.

BUG=
R=jarin@chromium.org

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

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

10 years agoARM64: never record safepoint with doubles
Jacob.Bramley@arm.com [Mon, 21 Jul 2014 10:31:23 +0000 (10:31 +0000)]
ARM64: never record safepoint with doubles

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

BUG=

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

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

10 years agoRemove harmony-typeof
rossberg@chromium.org [Mon, 21 Jul 2014 10:20:54 +0000 (10:20 +0000)]
Remove harmony-typeof

This was an early experiment in the Harmony era that turned out to
not be compatible with the web.

BUG=None
LOG=Y
R=rossberg@chromium.org

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

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

10 years agoARM: never record safepoint with doubles
Jacob.Bramley@arm.com [Mon, 21 Jul 2014 10:15:08 +0000 (10:15 +0000)]
ARM: never record safepoint with doubles

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

BUG=

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

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

10 years agoImplement basic code generation for arrow functions
rossberg@chromium.org [Mon, 21 Jul 2014 09:58:01 +0000 (09:58 +0000)]
Implement basic code generation for arrow functions

Implements code generation for arrow functions by desugaring them into
a FunctionLiteral. For the moment, a normal FUNCTION_SCOPE is used, so
"this" and "arguments" behave as in normal functions. Implementing the
correct scoping rules is to be done later on.

BUG=v8:2700
LOG=
R=rossberg@chromium.org

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

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

10 years agoFix off-by-one error in Array.concat slow mode check
jkummerow@chromium.org [Mon, 21 Jul 2014 09:42:21 +0000 (09:42 +0000)]
Fix off-by-one error in Array.concat slow mode check

BUG=chromium:395499
LOG=n
R=yangguo@chromium.org

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

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

10 years agoImplement String.prototype.codePointAt and String.fromCodePoint.
yangguo@chromium.org [Mon, 21 Jul 2014 08:45:32 +0000 (08:45 +0000)]
Implement String.prototype.codePointAt and String.fromCodePoint.

Contributed by Mathias Bynens <mathiasb@opera.com>.

TBR=mathiasb@opera.com, rossberg@chromium.org
BUG=v8:2840
LOG=Y

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

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

10 years agoExpose the content of Maps and WeakMaps through MapMirror.
yangguo@chromium.org [Mon, 21 Jul 2014 08:07:04 +0000 (08:07 +0000)]
Expose the content of Maps and WeakMaps through MapMirror.

BUG=v8:3291
LOG=N
R=aandrey@chromium.org, yangguo@chromium.org

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

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

Patch from Alexandra Mikhaylova <amikhaylova@google.com>.

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

10 years agoMIPS64: Correct register use.
paul.lind@imgtec.com [Mon, 21 Jul 2014 03:09:19 +0000 (03:09 +0000)]
MIPS64: Correct register use.

TEST: mozilla/js1_5/Regress/regress-366601.
TEST: mozilla/ecma_3/ExecutionContexts/10.1.3-1

BUG=
R=paul.lind@imgtec.com

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

Patch from Yu Yin <xwafish@gmail.com>.

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

10 years agoX87: Cache IC handlers on the prototype's map if possible
weiliang.lin@intel.com [Mon, 21 Jul 2014 02:57:42 +0000 (02:57 +0000)]
X87:  Cache IC handlers on the prototype's map if possible

port r22483

original commit message:

  Cache IC handlers on the prototype's map if possible

  instead of on the receiver's map. Lazily overwrite cached handler if it is
  identical to the handler that just missed.

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoMigrate to current map if deprecated in SetProperty
verwaest@chromium.org [Sat, 19 Jul 2014 12:00:20 +0000 (12:00 +0000)]
Migrate to current map if deprecated in SetProperty

BUG=
R=jkummerow@chromium.org

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

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

10 years agoMIPS: Cache IC handlers on the prototype's map if possible.
balazs.kilvady@imgtec.com [Fri, 18 Jul 2014 17:11:52 +0000 (17:11 +0000)]
MIPS: Cache IC handlers on the prototype's map if possible.

Port r22483 (6dd09cb)

Original commit message:
Instead of on the receiver's map. Lazily overwrite cached handler if it is
identical to the handler that just missed.

BUG=
R=akos.palfi@imgtec.com

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

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

10 years agoCache IC handlers on the prototype's map if possible
jkummerow@chromium.org [Fri, 18 Jul 2014 13:50:21 +0000 (13:50 +0000)]
Cache IC handlers on the prototype's map if possible

instead of on the receiver's map. Lazily overwrite cached handler if it is
identical to the handler that just missed.

R=verwaest@chromium.org

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

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

10 years agoReimplement SetProperty using the LookupIterator
verwaest@chromium.org [Fri, 18 Jul 2014 13:47:25 +0000 (13:47 +0000)]
Reimplement SetProperty using the LookupIterator

BUG=
R=ishell@chromium.org

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

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

10 years agoReland "Make v8::TryCatch able to consume natively thrown exceptions."
mstarzinger@chromium.org [Fri, 18 Jul 2014 13:28:12 +0000 (13:28 +0000)]
Reland "Make v8::TryCatch able to consume natively thrown exceptions."

R=svenpanne@chromium.org
BUG=chromium:362388
TEST=cctest/test-api/TryCatchNative
LOG=N

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

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

10 years agoAlways sweep precisely off.
hpayer@chromium.org [Fri, 18 Jul 2014 12:51:21 +0000 (12:51 +0000)]
Always sweep precisely off.

BUG=

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

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

10 years agoAdd automatic tag script.
machenbach@chromium.org [Fri, 18 Jul 2014 12:16:14 +0000 (12:16 +0000)]
Add automatic tag script.

The script can be run in a cron job to automatically tag
lkgrs.

BUG=391261
LOG=n
TEST=tools/push-to-trunk/script_test.py
TEST=tools/push-to-trunk/auto_tag.py --dry_run
R=jarin@chromium.org

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

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

10 years agoAlways sweep precisely.
hpayer@chromium.org [Fri, 18 Jul 2014 12:04:48 +0000 (12:04 +0000)]
Always sweep precisely.

BUG=
R=jarin@chromium.org

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

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

10 years agoWait for sweeper threads when verifying the heap.
hpayer@chromium.org [Fri, 18 Jul 2014 12:00:11 +0000 (12:00 +0000)]
Wait for sweeper threads when verifying the heap.

BUG=
R=jarin@chromium.org

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

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

10 years agoRevert "Bootstrapper::DetachGlobal also need to unset global_proxy's constructor...
dcarney@chromium.org [Fri, 18 Jul 2014 11:47:35 +0000 (11:47 +0000)]
Revert "Bootstrapper::DetachGlobal also need to unset global_proxy's constructor to remove all refs to context"

This reverts r22460 for potentially breaking the mac webkit build.

TBR=titzer@chromium.org

BUG=

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

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

10 years agoReally fix the arm builder bots by copying android_webview_build out one scope in...
rmcilroy@chromium.org [Fri, 18 Jul 2014 11:36:40 +0000 (11:36 +0000)]
Really fix the arm builder bots by copying android_webview_build out one scope in toolchain.gypi

Move android_webview_build variable to toolchain.gypi to fix arm builders.

R=jkummerow@chromium.org

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

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

10 years agoFix 64-bit compile.
hpayer@chromium.org [Fri, 18 Jul 2014 11:30:50 +0000 (11:30 +0000)]
Fix 64-bit compile.

BUG=
R=jarin@chromium.org

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

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

10 years agoConcurrent/parallel precise sweeping.
hpayer@chromium.org [Fri, 18 Jul 2014 11:04:20 +0000 (11:04 +0000)]
Concurrent/parallel precise sweeping.

BUG=
R=jarin@chromium.org

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

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

10 years agoMove android_webview_build variable to toolchain.gypi to fix arm builders.
rmcilroy@chromium.org [Fri, 18 Jul 2014 10:54:33 +0000 (10:54 +0000)]
Move android_webview_build variable to toolchain.gypi to fix arm builders.

R=jkummerow@chromium.org

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

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

10 years agoFix the android_webview build's gyp files after the changes in r22444.
rmcilroy@chromium.org [Fri, 18 Jul 2014 10:17:01 +0000 (10:17 +0000)]
Fix the android_webview build's gyp files after the changes in r22444.

The android_webview get's it's compiler flags from the Android build system,
so we should not be setting these flags in gyp when building the webview.

R=jkummerow@chromium.org

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

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

10 years agoUnravel kHeapObjectTagSize from the stub cache.
Jacob.Bramley@arm.com [Fri, 18 Jul 2014 09:57:39 +0000 (09:57 +0000)]
Unravel kHeapObjectTagSize from the stub cache.

The stub cache used kHeapObjectTagSize to scale indices, but there
doesn't appear to be a direct need for this. Instead, the stub cache has
its own kCacheIndexShift quantity.

BUG=
R=hpayer@chromium.org

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

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

10 years agoMake GCTracer persistent.
ernstm@chromium.org [Fri, 18 Jul 2014 08:55:40 +0000 (08:55 +0000)]
Make GCTracer persistent.

This is essentially https://codereview.chromium.org/390823003/. It turns
out that it's safe to use a persistent GCTracer instead
of creating and destroying GCTracers for each GC, because
Scavenge and Mark-Sweep steps never overlap, and the tracking of
incremental marking also happens separately for the two types of GC.
Tracking of incremental marking will be moved into the GCTracer in a
follow-up patch.

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

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

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

10 years ago[Auto-roll] Bump up version to 3.28.29.0
machenbach@chromium.org [Fri, 18 Jul 2014 08:43:49 +0000 (08:43 +0000)]
[Auto-roll] Bump up version to 3.28.29.0

TBR=machenbach@chromium.org

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

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

10 years agoAdd histograms for idle notification and incremental marking steps
jochen@chromium.org [Fri, 18 Jul 2014 08:25:41 +0000 (08:25 +0000)]
Add histograms for idle notification and incremental marking steps

BUG=381820
LOG=n
R=hpayer@chromium.org

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

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

10 years agoFix compilation after r22461: removed now unused var
jochen@chromium.org [Fri, 18 Jul 2014 08:00:51 +0000 (08:00 +0000)]
Fix compilation after r22461: removed now unused var

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

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

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

10 years agoRemove experimental flags that are now required
danno@chromium.org [Fri, 18 Jul 2014 07:17:21 +0000 (07:17 +0000)]
Remove experimental flags that are now required

R=mstarzinger@chromium.org

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

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

10 years agoBootstrapper::DetachGlobal also need to unset global_proxy's constructor to remove...
dcarney@chromium.org [Fri, 18 Jul 2014 06:05:59 +0000 (06:05 +0000)]
Bootstrapper::DetachGlobal also need to unset global_proxy's constructor to remove all refs to context

DetachGlobal detaches original context of a global proxy object.

Before this patch, the constructor JSFunction still carried a reference to the old context after |Bootstrapper::DetachGlobal| call.
This patch removes the reference by setting the constructor null.

TEST=http/tests/security/isolatedWorld w/ --enable-leak-detection
LOG=N
BUG=364377
R=dcarney@chromium.org

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

Patch from Kouhei Ueno <kouhei@chromium.org>.

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

10 years agoX87: StubCallInterfaceDescriptor takes a context register.
weiliang.lin@intel.com [Fri, 18 Jul 2014 03:15:48 +0000 (03:15 +0000)]
X87: StubCallInterfaceDescriptor takes a context register.

port r22448

original commit message:
  StubCallInterfaceDescriptor and CallInterfaceDescriptor are unified under a base class InterfaceDescriptor.

  Handling of the context register had to be massaged to effect the unification. This will make it easier
  to call hydrogen code stubs directly from crankshaft.

BUG=
R=weiliang.lin@intel.com

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

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

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

10 years agoMIPS: StubCallInterfaceDescriptor and CallInterfaceDescriptor are unified under a...
balazs.kilvady@imgtec.com [Thu, 17 Jul 2014 18:24:59 +0000 (18:24 +0000)]
MIPS: StubCallInterfaceDescriptor and CallInterfaceDescriptor are unified under a base class InterfaceDescriptor.

Port r22448 (a9e0b0e)

Original commit message:
Handling of the context register had to be massaged to effect the unification. This will make it easier to call hydrogen code stubs directly from crankshaft.

BUG=
R=mvstanton@chromium.org, paul.lind@imgtec.com

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

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

10 years agoFix v8 Windows GN build.
jochen@chromium.org [Thu, 17 Jul 2014 17:39:54 +0000 (17:39 +0000)]
Fix v8 Windows GN build.

The paths for some of the Windows-specific files was incorrect.

R=jochen@chromium.org

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

Patch from Brett Wilson <brettw@chromium.org>.

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

10 years agoRevert "Expose the content of Maps and WeakMaps through MapMirror."
yangguo@chromium.org [Thu, 17 Jul 2014 16:43:52 +0000 (16:43 +0000)]
Revert "Expose the content of Maps and WeakMaps through MapMirror."

This reverts r22452.

TBR=amikhaylova@google.com

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

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

10 years agoRemove fuzz-natives blacklist entries that no longer exist.
mstarzinger@chromium.org [Thu, 17 Jul 2014 15:13:46 +0000 (15:13 +0000)]
Remove fuzz-natives blacklist entries that no longer exist.

R=verwaest@chromium.org

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

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

10 years agoExpose the content of Maps and WeakMaps through MapMirror.
yangguo@chromium.org [Thu, 17 Jul 2014 15:07:59 +0000 (15:07 +0000)]
Expose the content of Maps and WeakMaps through MapMirror.

BUG=v8:3291
LOG=N
R=aandrey@chromium.org, yangguo@chromium.org

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

Patch from Alexandra Mikhaylova <amikhaylova@google.com>.

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

10 years agoLimit stack size when testing stack overflow in JSON.stringify.
yangguo@chromium.org [Thu, 17 Jul 2014 13:23:02 +0000 (13:23 +0000)]
Limit stack size when testing stack overflow in JSON.stringify.

R=mvstanton@chromium.org

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

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

10 years agoMove node statistics from GCTracer to Heap.
ernstm@chromium.org [Thu, 17 Jul 2014 13:00:46 +0000 (13:00 +0000)]
Move node statistics from GCTracer to Heap.

R=hpayer@chromium.org
BUG=

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

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

10 years ago[Auto-roll] Bump up version to 3.28.27.0
machenbach@chromium.org [Thu, 17 Jul 2014 11:57:09 +0000 (11:57 +0000)]
[Auto-roll] Bump up version to 3.28.27.0

TBR=machenbach@chromium.org

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

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

10 years agoStubCallInterfaceDescriptor and CallInterfaceDescriptor are unified under a base...
mvstanton@chromium.org [Thu, 17 Jul 2014 11:50:04 +0000 (11:50 +0000)]
StubCallInterfaceDescriptor and CallInterfaceDescriptor are unified under a base class InterfaceDescriptor.

Handling of the context register had to be massaged to effect the unification. This will make it easier to call hydrogen code stubs directly from crankshaft.

R=danno@chromium.org

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

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

10 years agoChange String.prototype.concat to be more like similar functions.
yangguo@chromium.org [Thu, 17 Jul 2014 10:54:25 +0000 (10:54 +0000)]
Change String.prototype.concat to be more like similar functions.

This is just cosmetic: We usually avoid using %FunctionSetLength.

R=dslomov@chromium.org

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

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

10 years agoAdd back a static_cast<int32_t> to assembler-arm.cc to fix WebView build.
rmcilroy@chromium.org [Thu, 17 Jul 2014 10:34:59 +0000 (10:34 +0000)]
Add back a static_cast<int32_t> to assembler-arm.cc to fix WebView build.

The WebView Mac builder is having trouble with resolving set_at_offset with an
intptr_t argument to the correct overload. Add back the static_cast which
was present before r22293 to resolve this.

R=bmeurer@chromium.org

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

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

10 years agoSome fixes to avoid breakages when enabling out-of-line constant pools.
rmcilroy@chromium.org [Thu, 17 Jul 2014 10:03:30 +0000 (10:03 +0000)]
Some fixes to avoid breakages when enabling out-of-line constant pools.

Three fixes which are required to pass all the tests when  out-of-line constant
pools are enabled for Arm:

 - Invalidate embedded objects in optimized code when it is deoptimized such
   that the weak pointers in the constant pool array are cleared.  This prevents
   a CHECK(heap_->mark_compact_collector()->IsMarked(object)) error when a
   verifying weak pointers in a deoptimized code object's constant pool.
 - Modify LargeObjectSpace::Verify to allow constant pool arrays in the
   large object space.
 - Increase the 32bit stack size limit, since the constant pool pointer
   is now on every stack frame, causing the size of each stack frame to
   increase by one word, and causing deep-recursion-test to fail.

R=hpayer@chromium.org

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

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

10 years agoReland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp."
rmcilroy@chromium.org [Thu, 17 Jul 2014 09:56:58 +0000 (09:56 +0000)]
Reland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp."

The current gyp config tries to test whether the compiler is an arm / mips
compiler and whether it supports -m32 / -m64 based on a test within gyp.
Unfortunately CXX / CXX_target / CXX_host are no no longer set early enough
in gyp for this to work, and so all of these tests were actually being done
using "$(which g++)" rather than the appropriate CXX_target / CXX_host compiler.

This change removes these dynamic tests and instead bases the decisions on
knowledge of the host / target / v8_target architecture combination.  The
the -m32/-m64 flags are set based on host_cxx_is_biarch / target_cxx_is_biarch,
which are set to reasonable defaults of only ia32/x64 or clang compilers
being build for biarch support.  The host_cxx_is_biarch / target_cxx_is_biarch
variables can be overriden if required.

Original Review URL: https://codereview.chromium.org/382343003
TBR=jkummerow@chromium.org

BUG=384474
LOG=NO

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

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