Rollback trunk to bleeding_edge revision 12525

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12661 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r12629 into trunk branch.

Restore the descriptor array before returning allocation failure.

BUG=chromium:151750

R=verwaest@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Reverting sharing of descriptor arrays:

- Sharing of descriptor arrays.
- Ensure correct enumeration indices in the dict.
- Clear the EnumLength fields of maps that lose their enumeration cache.
- Directly set the value in the descriptors pointer to avoid checks.
- CNLT with descriptors but no valid enum fields has to clear the
  EnumCache.
- Only count the descriptor array if it's owned by the map.
- Restore the descriptor array before returning allocation failure.

BUG=

Review URL: https://chromiumcodereview.appspot.com/11072014

git-svn-id: http://v8.googlecode.com/svn/trunk@12669 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Reapply descriptor array sharing.

This reverts commit 12669

Review URL: https://chromiumcodereview.appspot.com/11093026

git-svn-id: http://v8.googlecode.com/svn/trunk@12683 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.14.2

ARM: allowed VFP3 instructions when hardfloat is enabled. (Chromium issue 152506)

Fixed instance_descriptors() and PushStackTraceAndDie regressions. (Chromium issue 151749)

Made GDBJIT interface compile again. (issue 1804)

Fixed Accessors::FunctionGetPrototype's proto chain traversal. (Chromium issue 143967)

Made sure that names of temporaries do not clash with real variables. (issue 2322)

Rejected local module declarations. (Chromium issue 150628)

Rejected uses of lexical for-loop variable on the RHS. (issue 2322)

Fixed slot recording of code target patches. (Chromium issue 152615,chromium:144230)

Changed the Android makefile to use GCC 4.6 instead of GCC 4.4.3.

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12693 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.14.3

Use native context to retrieve ErrorMessageForCodeGenerationFromStrings (Chromium issue 155076).

Bumped variable limit further to 2^17 (Chromium issue 151625).

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12706 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.14.4

Allow evals for debugger even if they are prohibited in the debugee context. (Chromium issue 154733)

Enabled --verify-heap in release mode (issue 2120)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12729 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r12731 into trunk branch.

Fixed VERIFY_HEAP without DEBUG.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12732 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.14.5

Killed off the SCons based build.

Added a faster API for creating v8::Integer objects.

Speeded up function deoptimization by avoiding quadratic pass over optimized function list. (Chromium issue 155270)

Always invoke the default Array.sort functions from builtin functions. (issue 2372)

Reverted recent CPU profiler changes because they broke --prof. (issue 2364)

Switched code flushing to use different JSFunction field. (issue 1609)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12787 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.15.0

Loosened aligned code target requirement on ARM (issue 2380)

Fixed JSON.parse to treat leading zeros correctly. (Chromium issue 158185)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12836 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revert r12825 and r12796 from trunk.

Revert "Fix code flusher to process weak function links."
Revert "Enable incremental code flushing."

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12843 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.15.1

Put incremental code flushing behind a flag. (Chromium issue 159140)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12864 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r12868 into trunk branch.

Fixed visibility attribute for GetPointerFromInternalField

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/11366106

git-svn-id: http://v8.googlecode.com/svn/trunk@12869 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Rollback of r12868, r12849 in trunk branch.

Fixed visibility attribute for GetPointerFromInternalField

Heavy cleanup of the external pointer API.

R=verwaest@chromium.org
BUG=Chrome 159674

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12878 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Refactoring incremental marking

BUG=

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12918 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revert accidental r12918 from trunk.

Refactoring incremental marking.

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/trunk@12922 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.15.2

Function::GetScriptOrigin supplies sourceURL when script name is not available.  (Chromium issue 159413)

Made formatting error message side-effect-free.  (issue 2398)

Fixed length check in JSON.stringify.  (Chromium issue 160010)

ES6: Added support for Set and Map clear method (issue 2400)

Fixed slack tracking when instance prototype changes. (Chromium issue 157019)

Fixed disabling of code flusher while marking.  (Chromium issue 159140)

Added a test case for object grouping in a scavenger GC (issue 2077)

Support shared library build of Android for v8. (Chromium issue 158821)

ES6: Added support for size to Set and Map (issue 2395)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12934 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.15.3

Changed sample shell to send non-JS output (e.g. errors) to stderr instead of stdout.

Correctly check for stack overflow even when interrupt is pending. (issue 214)

Collect stack trace on stack overflow. (issue 2394)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12947 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.15.4

Fixed Array.prototype.join evaluation order. (issue 2263)

Perform CPU sampling by CPU sampling thread only iff processing thread is not running. (issue 2364)

When using an Object as a set in Object.getOwnPropertyNames, null out the proto. (issue 2410)

Disabled EXTRA_CHECKS in Release build.

Heap explorer: Show representation of strings.

Removed 'type' and 'arguments' properties from Error object. (issue 2397)

Added atomics implementation for ThreadSanitizer v2. (Chromium issue 128314)

Fixed LiveEdit crashes when object/array literal is added. (issue 2368)

Performance and stability improvements on all platforms.

git-svn-id: http://v8.googlecode.com/svn/trunk@12994 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revert r12990 and r12991 from trunk.

Revert "Clean-up refactoring to eliminate GetLocalElementKind."
Revert "Drastically reduce the number of created strings in d8."

R=jkummerow@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/trunk@13002 ce2b1a6d-e550-0410-aec6-3dcde31c8c00