platform/upstream/v8.git
10 years agoremove Isolate::Current from ScriptData and Script
dcarney@chromium.org [Tue, 1 Oct 2013 09:56:04 +0000 (09:56 +0000)]
remove Isolate::Current from ScriptData and Script

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoMove TryRemoveInvalidPrototypeDependentStub onto the IC class.
verwaest@chromium.org [Tue, 1 Oct 2013 09:55:15 +0000 (09:55 +0000)]
Move TryRemoveInvalidPrototypeDependentStub onto the IC class.

R=ulan@chromium.org

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

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

10 years agoEncapsulate IC::State into the IC.
verwaest@chromium.org [Tue, 1 Oct 2013 09:52:24 +0000 (09:52 +0000)]
Encapsulate IC::State into the IC.

BUG=
R=ulan@chromium.org

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

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

10 years agoDefer allocation of native function literals.
mstarzinger@chromium.org [Tue, 1 Oct 2013 09:47:37 +0000 (09:47 +0000)]
Defer allocation of native function literals.

R=dcarney@chromium.org

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

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

10 years agoAlways cache the original target in a handle on the IC.
verwaest@chromium.org [Tue, 1 Oct 2013 09:47:18 +0000 (09:47 +0000)]
Always cache the original target in a handle on the IC.
This requires us to always open a handle-scope in the miss handlers.

BUG=
R=ulan@chromium.org

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

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

10 years agoCleanup in IC patching.
verwaest@chromium.org [Tue, 1 Oct 2013 09:44:35 +0000 (09:44 +0000)]
Cleanup in IC patching.

BUG=
R=ulan@chromium.org

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

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

10 years agoMake strict_mode a flag on StoreIC.
verwaest@chromium.org [Tue, 1 Oct 2013 09:36:34 +0000 (09:36 +0000)]
Make strict_mode a flag on StoreIC.

BUG=
R=ulan@chromium.org

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

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

10 years agoReduce code duplication in IC updating.
verwaest@chromium.org [Tue, 1 Oct 2013 09:30:07 +0000 (09:30 +0000)]
Reduce code duplication in IC updating.

BUG=
R=ulan@chromium.org

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

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

10 years agoLimit entry points into the parser API.
mstarzinger@chromium.org [Tue, 1 Oct 2013 09:27:03 +0000 (09:27 +0000)]
Limit entry points into the parser API.

R=ulan@chromium.org

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

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

10 years agoRefactor PropertyCallbackInfo & FunctionCallbackInfo, part 3.
marja@chromium.org [Tue, 1 Oct 2013 09:24:13 +0000 (09:24 +0000)]
Refactor PropertyCallbackInfo & FunctionCallbackInfo, part 3.

This CL starts using positive array indices instead of negative array indices
for the PropertyCallbackInfo and FunctionCallbackInfo fields. Also, the indices
match now, so they can be unified in the next step.

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

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

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

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

10 years agoInitialize flag before usage.
yangguo@chromium.org [Tue, 1 Oct 2013 08:40:33 +0000 (08:40 +0000)]
Initialize flag before usage.

This fixes a crash when running with --concurrent-osr.

R=ulan@chromium.org, dslomov@chromium.org
BUG=

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

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

10 years agoIn crankshafted code, we were creating allocation mementos for shallow
mvstanton@chromium.org [Tue, 1 Oct 2013 08:22:01 +0000 (08:22 +0000)]
In crankshafted code, we were creating allocation mementos for shallow
SMI array literals when we shouldn't. The idea is that we should have learned
by this point what type of array we'll end up with.

R=hpayer@chromium.org

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

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

10 years agoPrint out how many AllocationMementos were found on a scavenge of new
mvstanton@chromium.org [Tue, 1 Oct 2013 08:14:38 +0000 (08:14 +0000)]
Print out how many AllocationMementos were found on a scavenge of new
space. This is useful because the unrooted mementos affect heap
decisions like pretenuring mode, and helps to gauge the effectiveness
of allocation-site feedback.

R=hpayer@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.6.
jkummerow@chromium.org [Tue, 1 Oct 2013 08:09:05 +0000 (08:09 +0000)]
Prepare push to trunk.  Now working on version 3.22.6.

R=mvstanton@chromium.org

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

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

10 years agoFixed debuggersupport=off build after r16521
yangguo@chromium.org [Tue, 1 Oct 2013 07:53:37 +0000 (07:53 +0000)]
Fixed debuggersupport=off build after r16521

BUG=
R=yangguo@chromium.org

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

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

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

10 years agoRevert "Defer allocation of native function literals."
jkummerow@chromium.org [Mon, 30 Sep 2013 17:42:58 +0000 (17:42 +0000)]
Revert "Defer allocation of native function literals."

This reverts r17017 for breaking LayoutTests.

R=mstarzinger@chromium.org
TBR=mstarzinger@chromium.org

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

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

10 years agoDisable externalization of sliced/cons strings in old pointer space.
jkummerow@chromium.org [Mon, 30 Sep 2013 16:42:19 +0000 (16:42 +0000)]
Disable externalization of sliced/cons strings in old pointer space.

This is a temporary workaround for the fact that a good deal of the code that triggers access checks, which in turn externalize strings, is not yet handlified and therefore not GC safe.

R=yangguo@chromium.org

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

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

10 years agoRevert "Allow code to be cached in shared maps." due to GC stress crashes.
verwaest@chromium.org [Mon, 30 Sep 2013 16:34:37 +0000 (16:34 +0000)]
Revert "Allow code to be cached in shared maps." due to GC stress crashes.

TBR=ulan@chromium.org

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

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

10 years agoRevert "Refactor PropertyCallbackInfo & FunctionCallbackInfo, part 3."
marja@chromium.org [Mon, 30 Sep 2013 15:33:51 +0000 (15:33 +0000)]
Revert "Refactor PropertyCallbackInfo & FunctionCallbackInfo, part 3."

This reverts commit 977bfe3e9353ead1039878597590ffbd7dd5e725.

This might be responsible of the Linux Webkit test failures.

BUG=
TBR=mstarzinger@chromium.org

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

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

10 years agoAllow code to be cached in shared maps.
verwaest@chromium.org [Mon, 30 Sep 2013 15:28:52 +0000 (15:28 +0000)]
Allow code to be cached in shared maps.

R=ulan@chromium.org

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

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

10 years agoARM: Allow function inlining with context change.
rodolph.perfetta@gmail.com [Mon, 30 Sep 2013 15:08:20 +0000 (15:08 +0000)]
ARM: Allow function inlining with context change.

BUG=none
TEST=none
R=ulan@chromium.org

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

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

10 years agoTurn on handle zapping for release builds
jochen@chromium.org [Mon, 30 Sep 2013 14:49:48 +0000 (14:49 +0000)]
Turn on handle zapping for release builds

The impact on performance appears to be negligible, see the golem results on r17004

R=danno@chromium.org

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

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

10 years agoDefer allocation of native function literals.
mstarzinger@chromium.org [Mon, 30 Sep 2013 14:49:11 +0000 (14:49 +0000)]
Defer allocation of native function literals.

R=dcarney@chromium.org
BUG=

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

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

10 years agoconvert remainder of v8.h to use V8_DEPRECATED
dcarney@chromium.org [Mon, 30 Sep 2013 14:45:40 +0000 (14:45 +0000)]
convert remainder of v8.h to use V8_DEPRECATED

R=danno@chromium.org
BUG=

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

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

10 years agoRefactor PropertyCallbackInfo & FunctionCallbackInfo, part 3.
marja@chromium.org [Mon, 30 Sep 2013 14:09:51 +0000 (14:09 +0000)]
Refactor PropertyCallbackInfo & FunctionCallbackInfo, part 3.

This CL starts using positive array indices instead of negative array indices
for the PropertyCallbackInfo and FunctionCallbackInfo fields. Also, the indices
match now, so they can be unified in the next step.

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

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

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

10 years agoRemove parallel marking support.
jochen@chromium.org [Mon, 30 Sep 2013 14:06:43 +0000 (14:06 +0000)]
Remove parallel marking support.

The framework isn't used, and won't be used in the near future

R=hpayer@chromium.org

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

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

10 years agoTag normal as handlers, and make code handler-specific.
verwaest@chromium.org [Mon, 30 Sep 2013 13:58:44 +0000 (13:58 +0000)]
Tag normal as handlers, and make code handler-specific.

BUG=
R=ulan@chromium.org

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

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

10 years agoTag handlers as HANDLER rather than STUB.
verwaest@chromium.org [Mon, 30 Sep 2013 13:53:21 +0000 (13:53 +0000)]
Tag handlers as HANDLER rather than STUB.

R=ulan@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.5.
jkummerow@chromium.org [Mon, 30 Sep 2013 13:38:28 +0000 (13:38 +0000)]
Prepare push to trunk.  Now working on version 3.22.5.

R=mvstanton@chromium.org

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

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

10 years agoAdd titzer@ to owners file.
yangguo@chromium.org [Mon, 30 Sep 2013 13:37:06 +0000 (13:37 +0000)]
Add titzer@ to owners file.

R=danno@chromium.org
BUG=

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

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

10 years agoRemove unused SmiTryAddConstant from X64 macro assembler
haitao.feng@intel.com [Mon, 30 Sep 2013 13:36:39 +0000 (13:36 +0000)]
Remove unused SmiTryAddConstant from X64 macro assembler

R=yangguo@chromium.org

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

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

10 years agochange of V8_DEPRECATED to be enabled behind a gyp flag
dcarney@chromium.org [Mon, 30 Sep 2013 13:28:23 +0000 (13:28 +0000)]
change of V8_DEPRECATED to be enabled behind a gyp flag

also add a deprecation message for newer gcc versions

R=danno@chromium.org
BUG=

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

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

10 years agoUpdate V8 top-level OWNERS: -mmassi +machenbach
jochen@chromium.org [Mon, 30 Sep 2013 13:23:14 +0000 (13:23 +0000)]
Update V8 top-level OWNERS: -mmassi +machenbach

R=danno@chromium.org

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

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

10 years agoSplit extra checks into extra checks and handle zapping
jochen@chromium.org [Mon, 30 Sep 2013 11:56:52 +0000 (11:56 +0000)]
Split extra checks into extra checks and handle zapping

That will make it easier to turn on handle zapping alone and experiment
with it.

R=jkummerow@chromium.org

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

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

10 years agoFunction::Call and Object::CallAsFunction APIs should allow v8::Value as a receiver
mstarzinger@chromium.org [Mon, 30 Sep 2013 11:47:36 +0000 (11:47 +0000)]
Function::Call and Object::CallAsFunction APIs should allow v8::Value as a receiver

Since the primitive values can be a receiver of strict mode functions in
ECMA262 5.1th, v8::Function::Call and Object::CallAsFunction should take
v8::Value as a receiver instead of v8::Object.

BUG=v8:2915
TEST=cctest/test-api
R=mstarzinger@chromium.org

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

Patch from Yusuke Suzuki <yusukesuzuki@chromium.org>.

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

10 years agoRemove unnecessary mutex.
yangguo@chromium.org [Mon, 30 Sep 2013 11:41:30 +0000 (11:41 +0000)]
Remove unnecessary mutex.

The heap leak has since been solved.

R=mstarzinger@chromium.org
BUG=291236

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

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

10 years agoUse a walking visitor to traverse JSObject structure. The purpose is to prepare for...
mvstanton@chromium.org [Mon, 30 Sep 2013 11:36:50 +0000 (11:36 +0000)]
Use a walking visitor to traverse JSObject structure. The purpose is to prepare for more complex context-dependent walks of the structure, needed for allocation site and pretenuring work. Different visitors can be created that annotate the object in various ways.

BUG=
R=yangguo@chromium.org

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

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

10 years agoDelete references to old_statusfile.py
jkummerow@chromium.org [Mon, 30 Sep 2013 09:52:21 +0000 (09:52 +0000)]
Delete references to old_statusfile.py

R=machenbach@chromium.org

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

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

10 years agoRemove ArrayBufferView::BaseAddress method.
dslomov@chromium.org [Mon, 30 Sep 2013 09:31:10 +0000 (09:31 +0000)]
Remove ArrayBufferView::BaseAddress method.

We should not expose a raw pointer to typed array's backing store.

R=yangguo@chromium.org

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

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

10 years agoRefactor register allocator a little bit
haitao.feng@intel.com [Sat, 28 Sep 2013 00:48:08 +0000 (00:48 +0000)]
Refactor register allocator a little bit

R=jkummerow@chromium.org

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

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

10 years agoMIPS: Improve integer multiplication.
plind44@gmail.com [Fri, 27 Sep 2013 16:16:40 +0000 (16:16 +0000)]
MIPS: Improve integer multiplication.

Port r16576 (8ce78a4)

TEST=test/mjsunit/lithium/MulI.js
BUG=
R=plind44@gmail.com

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

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

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

10 years agoTry to make MSVC happy about EscapableHandleScope.
mstarzinger@chromium.org [Fri, 27 Sep 2013 15:32:26 +0000 (15:32 +0000)]
Try to make MSVC happy about EscapableHandleScope.

R=jkummerow@chromium.org

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

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

10 years agoARM: Let the register allocator handle the context register.
rodolph.perfetta@gmail.com [Fri, 27 Sep 2013 13:59:28 +0000 (13:59 +0000)]
ARM: Let the register allocator handle the context register.

BUG=none
TEST=none
R=ulan@chromium.org

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

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

10 years agoFinish control flow after throw if not inlined.
yangguo@chromium.org [Fri, 27 Sep 2013 13:48:19 +0000 (13:48 +0000)]
Finish control flow after throw if not inlined.

R=jkummerow@chromium.org
BUG=v8:2868

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

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

10 years agoRestrict recorded execution pauses to the required range.
yangguo@chromium.org [Fri, 27 Sep 2013 13:45:17 +0000 (13:45 +0000)]
Restrict recorded execution pauses to the required range.

R=jkummerow@chromium.org
BUG=

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

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

10 years agoRefactoring such that loop builders only call into the HOsrBuilder if
mvstanton@chromium.org [Fri, 27 Sep 2013 13:38:04 +0000 (13:38 +0000)]
Refactoring such that loop builders only call into the HOsrBuilder if
compiling for OSR.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoAvoid using double temp register explicitly in lithium codegen
mvstanton@chromium.org [Fri, 27 Sep 2013 12:43:37 +0000 (12:43 +0000)]
Avoid using double temp register explicitly in lithium codegen

BUG=
R=mvstanton@chromium.org

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

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

10 years agomake v8::Locker not use Isolate::GetCurrent()
dcarney@chromium.org [Fri, 27 Sep 2013 11:32:13 +0000 (11:32 +0000)]
make v8::Locker not use Isolate::GetCurrent()

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoOnly zapped used handles if a handle scope fits entirely within one handle block
jochen@chromium.org [Fri, 27 Sep 2013 11:31:06 +0000 (11:31 +0000)]
Only zapped used handles if a handle scope fits entirely within one handle block

This should avoid zapping the same unused handles over and over again
when using many small nested handle scopes.

BUG=none
R=mstarzinger@chromium.org, vegorov@chromium.org

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

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

10 years agoDisable gc stress mode for mjsunit timer test.
hpayer@chromium.org [Fri, 27 Sep 2013 11:04:16 +0000 (11:04 +0000)]
Disable gc stress mode for mjsunit timer test.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoRe-land "Add methods to enable configuration of ResourceConstraints based on limits...
hpayer@chromium.org [Fri, 27 Sep 2013 10:53:07 +0000 (10:53 +0000)]
Re-land "Add methods to enable configuration of ResourceConstraints based on limits derived at runtime."

Adds ConfigureResourceConstraintsForCurrentPlatform and SetDefaultResourceConstraintsForCurrentPlatform which configure the heap based on the available physical memory, rather than hard-coding by platform as previous. This change also adds OS::TotalPhysicalMemory to platform.h.

The re-land fix the performance regression caused by accidental change in default max young space size.

BUG=292928
R=hpayer@chromium.org

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

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agoMIPS: Fix simulator divide for overflow case.
palfia@homejinni.com [Fri, 27 Sep 2013 10:42:51 +0000 (10:42 +0000)]
MIPS: Fix simulator divide for overflow case.

TEST=mjsunit/div-mul-minus-one.js
BUG=
R=gergely@homejinni.com

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

Patch from Paul Lind <plind44@gmail.com>.

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

10 years agoRevert "Add methods to enable configuration of ResourceConstraints based on limits...
machenbach@chromium.org [Fri, 27 Sep 2013 09:45:14 +0000 (09:45 +0000)]
Revert "Add methods to enable configuration of ResourceConstraints based on limits derived at runtime." and "Fix Windows build of defaults.cc."

This reverts commit r16964 and r16968 due to performance regressions in octane.

TBR=hpayer@chromium.org

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

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

10 years agoDisposing an OSR job should only restore the back edge state.
yangguo@chromium.org [Fri, 27 Sep 2013 09:37:18 +0000 (09:37 +0000)]
Disposing an OSR job should only restore the back edge state.

R=titzer@chromium.org
BUG=

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

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

10 years agoDisable escape analysis for Canary stabilization.
mstarzinger@chromium.org [Fri, 27 Sep 2013 08:46:29 +0000 (08:46 +0000)]
Disable escape analysis for Canary stabilization.

R=jkummerow@chromium.org

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

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

10 years agoTweak SmiSub for X64
haitao.feng@intel.com [Fri, 27 Sep 2013 07:46:52 +0000 (07:46 +0000)]
Tweak SmiSub for X64

R=danno@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.4.
machenbach@chromium.org [Fri, 27 Sep 2013 07:26:59 +0000 (07:26 +0000)]
Prepare push to trunk.  Now working on version 3.22.4.

R=hpayer@chromium.org
BUG=

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

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

10 years agoremove Local::New with no isolate parameter
dcarney@chromium.org [Fri, 27 Sep 2013 07:04:02 +0000 (07:04 +0000)]
remove Local::New with no isolate parameter

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoMIPS: Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.
palfia@homejinni.com [Thu, 26 Sep 2013 22:18:02 +0000 (22:18 +0000)]
MIPS: Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.

Port r16961 (ce471468)

Original commit message:
This step reorders the FunctionCallbackInfo fields.

BUG=
R=plind44@gmail.com

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

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

10 years agoImplement local check elimination on basic blocks.
titzer@chromium.org [Thu, 26 Sep 2013 16:25:57 +0000 (16:25 +0000)]
Implement local check elimination on basic blocks.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoFix replaying of HCapturedObject for nested objects.
mstarzinger@chromium.org [Thu, 26 Sep 2013 15:28:46 +0000 (15:28 +0000)]
Fix replaying of HCapturedObject for nested objects.

R=titzer@chromium.org
TEST=mjsunit/compiler/property-refs,mjsunit/compiler/escape-analysis

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

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

10 years agoFix Windows build of defaults.cc.
hpayer@chromium.org [Thu, 26 Sep 2013 14:49:47 +0000 (14:49 +0000)]
Fix Windows build of defaults.cc.

BUG=None
R=hpayer@chromium.org

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

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agoAdd EscapableHandleScope to api to fix problems with HandleScope::Close
dcarney@chromium.org [Thu, 26 Sep 2013 13:46:37 +0000 (13:46 +0000)]
Add EscapableHandleScope to api to fix problems with HandleScope::Close

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoAdd methods to enable configuration of ResourceConstraints based on limits derived...
hpayer@chromium.org [Thu, 26 Sep 2013 13:31:19 +0000 (13:31 +0000)]
Add methods to enable configuration of ResourceConstraints based on limits derived at runtime.

Adds ConfigureResourceConstraintsForCurrentPlatform and SetDefaultResourceConstraintsForCurrentPlatform which configure the heap based on the available physical memory, rather than hard-coding by platform as previous.  This change also adds OS::TotalPhysicalMemory to platform.h.

BUG=292928
R=danno@chromium.org, hpayer@chromium.org

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

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agobuild fix for 16957 - broke shared builds
dcarney@chromium.org [Thu, 26 Sep 2013 12:42:10 +0000 (12:42 +0000)]
build fix for 16957 - broke shared builds

TBR=mstarzinger@chromium.org
BUG=

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

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

10 years agoRefactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.
marja@chromium.org [Thu, 26 Sep 2013 10:28:00 +0000 (10:28 +0000)]
Refactoring PropertyCallbackInfo & FunctionCallbackInfo, step 2.

This step reorders the FunctionCallbackInfo fields.

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

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

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

10 years agoAdd -optimize-for-size flag to optimize for memory size (will be used by pre-aging...
hpayer@chromium.org [Thu, 26 Sep 2013 09:40:13 +0000 (09:40 +0000)]
Add -optimize-for-size flag to optimize for memory size (will be used by pre-aging CL), and remove the is_memory_constrained ResourceConstraint.

BUG=292928
R=hpayer@chromium.org

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

Patch from Ross McIlroy <rmcilroy@chromium.org>.

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

10 years agoMake Heap::AllocateRawFixedArray methods private.
mstarzinger@chromium.org [Thu, 26 Sep 2013 09:37:25 +0000 (09:37 +0000)]
Make Heap::AllocateRawFixedArray methods private.

R=hpayer@chromium.org

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

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

10 years agobuild fix for 16957
dcarney@chromium.org [Thu, 26 Sep 2013 08:47:59 +0000 (08:47 +0000)]
build fix for 16957

TBR=mstarzinger@chromium.org
BUG=

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

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

10 years agoremove uses of static oddball accessors using GetCurrent in advance of removal from api
dcarney@chromium.org [Thu, 26 Sep 2013 08:21:48 +0000 (08:21 +0000)]
remove uses of static oddball accessors using GetCurrent in advance of removal from api

R=mstarzinger@chromium.org
BUG=

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

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

10 years agofix copy/paste error in r16955
dcarney@chromium.org [Thu, 26 Sep 2013 07:43:09 +0000 (07:43 +0000)]
fix copy/paste error in r16955

TBR=mstarzinger@chromium.org
BUG=

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

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

10 years agoadd isolate parameter to ThrowException
dcarney@chromium.org [Thu, 26 Sep 2013 07:37:59 +0000 (07:37 +0000)]
add isolate parameter to ThrowException

R=mstarzinger@chromium.org
BUG=

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.3.
machenbach@chromium.org [Thu, 26 Sep 2013 07:35:34 +0000 (07:35 +0000)]
Prepare push to trunk.  Now working on version 3.22.3.

R=danno@chromium.org
BUG=

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

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

10 years agoMIPS: Tweak Math.exp.
palfia@homejinni.com [Wed, 25 Sep 2013 20:42:26 +0000 (20:42 +0000)]
MIPS: Tweak Math.exp.

Port r16913 (a1b66fea)

Original commit message:
Avoid corrupting the input and small assembly tuning.

BUG=
R=plind44@gmail.com

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

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

10 years agoFix comment in test case.
machenbach@chromium.org [Wed, 25 Sep 2013 18:53:33 +0000 (18:53 +0000)]
Fix comment in test case.

TBR=jkummerow@chromium.org

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

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

10 years agoLet timer test retry for 20ms to reduce flakiness.
machenbach@chromium.org [Wed, 25 Sep 2013 16:47:56 +0000 (16:47 +0000)]
Let timer test retry for 20ms to reduce flakiness.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoMIPS: Less aggressive polling when concurrently compiling for OSR.
plind44@gmail.com [Wed, 25 Sep 2013 16:27:52 +0000 (16:27 +0000)]
MIPS: Less aggressive polling when concurrently compiling for OSR.

Port r16934 (b12e96b)

Original commit message:
Changes include:
- completed concurrent OSR tasks trigger a stack check interrupt.
- polling for completion is now guarded by a stack check.
- circular buffer for completed OSR tasks instead of list.

BUG=
R=plind44@gmail.com

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

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

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

10 years agoAllocate optimizing compiler thread only when necessary.
yangguo@chromium.org [Wed, 25 Sep 2013 15:14:12 +0000 (15:14 +0000)]
Allocate optimizing compiler thread only when necessary.

R=ulan@chromium.org
BUG=

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

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

10 years agoAdd trace output when recompilation queues are flushed.
yangguo@chromium.org [Wed, 25 Sep 2013 15:13:10 +0000 (15:13 +0000)]
Add trace output when recompilation queues are flushed.

R=mvstanton@chromium.org
BUG=

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

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

10 years agoInternalize names before using them in slow-mode objects.
verwaest@chromium.org [Wed, 25 Sep 2013 15:11:48 +0000 (15:11 +0000)]
Internalize names before using them in slow-mode objects.

R=yangguo@chromium.org

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

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

10 years agoSpecial handle for mul/div minus one when kAllUsesTruncatingToInt32
verwaest@chromium.org [Wed, 25 Sep 2013 15:10:48 +0000 (15:10 +0000)]
Special handle for mul/div minus one when kAllUsesTruncatingToInt32

BUG=
R=verwaest@chromium.org

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

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

10 years agoDisable timer mjsunit test on Windows.
hpayer@chromium.org [Wed, 25 Sep 2013 12:46:45 +0000 (12:46 +0000)]
Disable timer mjsunit test on Windows.

BUG=
R=jkummerow@chromium.org

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

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

10 years agoAdd windows to status variable list.
machenbach@chromium.org [Wed, 25 Sep 2013 12:37:00 +0000 (12:37 +0000)]
Add windows to status variable list.

This will allow to modify test expectation for system==windows.

R=jkummerow@chromium.org

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

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

10 years agoMacrofication of HInstruction constructors with context argument.
olivf@chromium.org [Wed, 25 Sep 2013 11:57:20 +0000 (11:57 +0000)]
Macrofication of HInstruction constructors with context argument.

BUG=
R=danno@chromium.org

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

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

10 years agoRename "OptimizingCompiler" to the more suitable "RecompileJob".
yangguo@chromium.org [Wed, 25 Sep 2013 10:01:18 +0000 (10:01 +0000)]
Rename "OptimizingCompiler" to the more suitable "RecompileJob".

R=mvstanton@chromium.org
BUG=

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

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

10 years agoRevert OS::TimeCurrentMillis on Windows introduced in r16413.
hpayer@chromium.org [Wed, 25 Sep 2013 09:50:48 +0000 (09:50 +0000)]
Revert OS::TimeCurrentMillis on Windows introduced in r16413.

BUG=chromium:288924
R=danno@chromium.org, jkummerow@chromium.org

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

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

10 years agoRemove obsolete global SubString method.
mstarzinger@chromium.org [Wed, 25 Sep 2013 09:31:10 +0000 (09:31 +0000)]
Remove obsolete global SubString method.

R=yangguo@chromium.org

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

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

10 years agoReset IC to premonomorphic rather than uninitialized.
verwaest@chromium.org [Wed, 25 Sep 2013 09:25:39 +0000 (09:25 +0000)]
Reset IC to premonomorphic rather than uninitialized.

R=mstarzinger@chromium.org

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

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

10 years agoRemove unused kFirstMathFunctionId
yangguo@chromium.org [Wed, 25 Sep 2013 09:10:45 +0000 (09:10 +0000)]
Remove unused kFirstMathFunctionId

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

Patch from Haitao Feng <haitao.feng@intel.com>.

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

10 years agoLess aggressive polling when concurrently compiling for OSR.
yangguo@chromium.org [Wed, 25 Sep 2013 08:26:11 +0000 (08:26 +0000)]
Less aggressive polling when concurrently compiling for OSR.

Changes include:
- completed concurrent OSR tasks trigger a stack check interrupt.
- polling for completion is now guarded by a stack check.
- circular buffer for completed OSR tasks instead of list.

R=titzer@chromium.org
BUG=

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

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

10 years agoFix flaky parallel recompilation test.
olivf@chromium.org [Wed, 25 Sep 2013 08:23:14 +0000 (08:23 +0000)]
Fix flaky parallel recompilation test.

On very rare circumstances parallel recompilation would install
the optimized method earlier than expected and the test would fail.

BUG=
R=yangguo@chromium.org

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

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

10 years agoSpeed up ArrayBuffer/typed array/DataView properties.
dslomov@chromium.org [Wed, 25 Sep 2013 08:19:35 +0000 (08:19 +0000)]
Speed up ArrayBuffer/typed array/DataView properties.

Optimizes byteLength, byteOffset, buffer and other properties on
ArrayBuffer, typed arrays and DataView into simple field loads. Some
unification with the way Array.length and String.length are treated.

R=verwaest@chromium.org

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

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

10 years agoPrepare push to trunk. Now working on version 3.22.2.
machenbach@chromium.org [Wed, 25 Sep 2013 08:18:59 +0000 (08:18 +0000)]
Prepare push to trunk.  Now working on version 3.22.2.

R=dslomov@chromium.org
BUG=

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

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

10 years agoRemove redundant flags for array buffer and typed arrays.
dslomov@chromium.org [Wed, 25 Sep 2013 07:25:44 +0000 (07:25 +0000)]
Remove redundant flags for array buffer and typed arrays.

These flags are a no-op for a while, we kept them just because
Blink used to set them. After
https://src.chromium.org/viewvc/blink?revision=158187 they can be safely
removed.

R=mstarzinger@chromium.org

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

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

10 years agoMIPS: replace RegExpCEntryStub with DirectCEntryStub.
plind44@gmail.com [Wed, 25 Sep 2013 00:58:04 +0000 (00:58 +0000)]
MIPS: replace RegExpCEntryStub with DirectCEntryStub.

Port r16618 (0eebc593)

Original commit message:
RegExpCEntryStub is therefore removed.

BUG=none
TEST=none
R=plind44@gmail.com

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

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

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

10 years agoMIPS: Turn the NumberToStringStub into a hydrogen stub.
palfia@homejinni.com [Wed, 25 Sep 2013 00:41:37 +0000 (00:41 +0000)]
MIPS: Turn the NumberToStringStub into a hydrogen stub.

Port r16910 (5a0dd952)

Original commit message:
This adds a BuildLookupNumberStringCache() in Hydrogen, which will
be used by the hydrogen version of StringAddStub, in addition to the
hydrogen version of NumberToStringStub.

BUG=
R=plind44@gmail.com

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

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

10 years agoFix a typo
haitao.feng@intel.com [Wed, 25 Sep 2013 00:30:52 +0000 (00:30 +0000)]
Fix a typo

R=jkummerow@chromium.org

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

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

10 years agoExpose SameValue equality comparison algorithm
mstarzinger@chromium.org [Tue, 24 Sep 2013 16:51:43 +0000 (16:51 +0000)]
Expose SameValue equality comparison algorithm

Since SameValue algorithm is defined formally in ECMA262 and V8 already
exported Equals and StrictEquals algorithms, SameValue should be exposed.
And in this issue, we fix the issue of Object::SameValue implementation,
SameValue(0.0, -0.0) returnes true.

BUG=v8:2909
TEST=cctest/test-api/Equality
R=mstarzinger@chromium.org

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

Patch from Yusuke Suzuki <yusukesuzuki@chromium.org>.

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

10 years agoDelete Runtime_NotifyOSR.
titzer@chromium.org [Tue, 24 Sep 2013 15:27:49 +0000 (15:27 +0000)]
Delete Runtime_NotifyOSR.

BUG=
R=mstarzinger@chromium.org

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

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

10 years agoFlush recompile jobs on last-resort GC.
yangguo@chromium.org [Tue, 24 Sep 2013 13:39:06 +0000 (13:39 +0000)]
Flush recompile jobs on last-resort GC.

R=hpayer@chromium.org
BUG=

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

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