Rollback of r11015, r11014, r11011, r11010 in trunk branch.

Remove static Mutex from math function intializers.

Use lazy instance initializer to remove static initializers in two places. Review URL: https://chromiumcodereview.appspot.com/9664067

Fix broken build on Win32 due to r11010. Review URL: https://chromiumcodereview.appspot.com/9666055

Landing for pliard@chromium.org: Remove static initializers in v8.

R=fschneider@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11149 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.0

Fixed store IC writability check in strict mode (Chromium issue 120099).

Resynchronize timers if the Windows system time was changed. (Chromium issue 119815)

Removed "-mfloat-abi=hard" from host compiler cflags when building for hardfp ARM (https://code.google.com/p/chrome-os-partner/issues/detail?id=8539)

Fixed edge case for case independent regexp character classes (issue 2032).

Reset function info counters after context disposal. (Chromium issue 117767, V8 issue 1902)

Fixed missing write barrier in CopyObjectToObjectElements. (Chromium issue 119926)

Fixed missing bounds check in HasElementImpl. (Chromium issue 119925)

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11192 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11195 into trunk branch.

Fix scoping of v8::HandleScope to prevent use-after-dispose

R=danno@chromium.org
TEST=sample shell doesn't crash

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11196 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11208 into trunk branch.

Check code kind when resetting profiler ticks.

Original CL: http://codereview.chromium.org/9956060/

R=danno@chromium.org
BUG=121147
TEST=chromium gpu_tests/WebGLConformanceTests

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11210 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11194, r11198, r11201, r11214 into trunk branch.

Ensure that arguments object is materialized when deoptimizing from inlined function.

Fix performance regressions due to lazy initialization.

Fix broken build on Windows due to r11198.

Properly support shrinking arrays in CopyDictionaryToObjectElements.

BUG=v8:2045,chromium:118686,chromium:121407

R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11215 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11225 into trunk branch.

Ensure default isolate is present in Add/RemoveCallCompletedCallback.

R=ulan@chromium.org
TEST=ui_tests don't crash in Chrome

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11227 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11233 into trunk branch.

Ensure default isolate is present in Context::New().

BUG=chromium:118686

R=ulan@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11234 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.1

Fixed bug with arguments object in inlined functions (issue 2045).

Fixed performance bug with lazy initialization (Chromium issue 118686).

Added suppport for Mac OS X 64bit builds with GYP.  (Patch contributed by Filipe David Manana <fdmanana@gmail.com>)

Fixed bug with hidden properties (issue 2034).

Fixed a performance bug when reloading pages (Chromium issue 117767, V8 issue 1902).

Fixed bug when optimizing throw in top-level code (issue 2054).

Fixed two bugs with array literals (issue 2055, Chromium issue 121407).

Fixed bug with Math.min/Math.max with NaN inputs (issue 2056).

Fixed a bug with the new runtime profiler (Chromium issue 121147).

Fixed compilation of V8 using uClibc.

Optimized boot-up memory use.

Optimized regular expressions.



git-svn-id: https://v8.googlecode.com/svn/trunk@11253 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.2

Fixed native ARM build (issues 1744, 539)

Return LOOKUP variable instead of CONTEXT for non-context allocated outer scope parameters (Chromium issue 119609).

Fixed regular and ElementsKind transitions interfering with each other (Chromium issue 122271).

Improved performance of keyed loads/stores which have a HeapNumber index (issues 1388, 1295).

Fixed WeakMap processing for evacuation candidates (issue 2060).

Bailout on possible direct eval calls (Chromium issue 122681).

Do not assume that names of function expressions are context-allocated (issue 2051).

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11309 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11308, r11311, r11313 into trunk branch.

Fix several ancient presubmit failures.

Provide empty default implementation of OutputStream::WriteUint32Chunk to make Webkit V8 bindings compile

Fix r11306 to use external references on X64.

R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11316 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.3

Fixed several bugs in heap profiles (including issue 2078).

Throw syntax errors on illegal escape sequences.

Implemented rudimentary module linking (behind --harmony flag)

Implemented ES5 erratum: Global declarations should shadow
inherited properties.

Made handling of const more consistent when combined with 'eval'
and 'with'.

Fixed V8 on MinGW-x64 (issue 2026).

Performance and stability improvements on all platforms.
Review URL: https://chromiumcodereview.appspot.com/10105026

git-svn-id: https://v8.googlecode.com/svn/trunk@11353 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Issue 2089 Expose value wrapper's inner values

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11371 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revert "Issue 2089 Expose value wrapper's inner values"

R=jkummerow@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11377 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.4

Fixed issues when stressing compaction with WeakMaps.

Fixed missing GVN flag for new-space promotion. (Chromium issue 123919)

Simplify invocation sequence at monomorphic function invocation sites. (issue 2079)

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11387 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.5

Put new global var semantics behind a flag until WebKit tests are cleaned up.

Enabled stepping into callback passed to builtins. (Chromium issue 109564)

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11413 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.6

Fixed some bugs in accessing details of the last regexp match.

Fixed source property of empty RegExp objects. (issue 1982)

Enabled inlining some V8 API functions.

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11442 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.7

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11466 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Version 3.10.8

Enabled MIPS cross-compilation.

Ensured reload of elements pointer in StoreFastDoubleElement stub. (Chromium issue 125515)

Fixed corner cases in truncation behavior when storing to TypedArrays. (issue 2110)

Fixed failure to properly recognize and report out-of-memory conditions when allocating code space pages. (Chromium issue 118625)

Fixed idle notifications to perform a round of incremental GCs after context disposal. (issue 2107)

Fixed preparser for try statement. (issue 2109)

Performance and stability improvements on all platforms.

git-svn-id: https://v8.googlecode.com/svn/trunk@11489 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Rollback of r11482 in trunk branch.

Sort functions when doing megamorphic dispatch/inlining so their order does not depend on the hash seed. Review URL: https://chromiumcodereview.appspot.com/10270032

R=mstarzinger@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/trunk@11498 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Merged r11507 into trunk branch.

MIPS: Ensure reload of elements pointer in StoreFastDoubleElement stub

R=mstarzinger@chromium.org

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

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