platform/upstream/v8.git
12 years agoUpdate .gitignore for Windows/Visual Studio/GYP.
danno@chromium.org [Tue, 10 Jul 2012 12:58:42 +0000 (12:58 +0000)]
Update .gitignore for Windows/Visual Studio/GYP.

BUG=None
TEST=None

Review URL: https://chromiumcodereview.appspot.com/10701115
Patch from Sigurður Ásgeirsson <siggi@chromium.org>.

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

12 years agoAdd OS::GetCurrentProcessId and prepend output from trace-gc with the current pid
mstarzinger@chromium.org [Tue, 10 Jul 2012 12:52:36 +0000 (12:52 +0000)]
Add OS::GetCurrentProcessId and prepend output from trace-gc with the current pid

BUG=none
TEST=manual

Review URL: https://chromiumcodereview.appspot.com/9817002
Patch from Jochen Eisinger <jochen@chromium.org>.

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

12 years agoCorrectly report octal literals in strict mode when preparsing.
yangguo@chromium.org [Tue, 10 Jul 2012 12:24:17 +0000 (12:24 +0000)]
Correctly report octal literals in strict mode when preparsing.

SingletonLogger::LogMessage did not work as advertised and
overwrote existing message.

R=mstarzinger@chromium.org
BUG=v8:2220
TEST=test-parsing/PreparserStrictOctal

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

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

12 years agoFix inline constructors for Harmony Proxy prototypes.
mstarzinger@chromium.org [Tue, 10 Jul 2012 11:28:33 +0000 (11:28 +0000)]
Fix inline constructors for Harmony Proxy prototypes.

R=rossberg@chromium.org
BUG=v8:2225
TEST=mjsunit/regress/regress-2225

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.11.
danno@chromium.org [Tue, 10 Jul 2012 11:23:46 +0000 (11:23 +0000)]
Prepare push to trunk.  Now working on version 3.12.11.

R=mstarzinger@chromium.org

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

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

12 years agoOutput the correct line number in the error message for compilation failures during...
mstarzinger@chromium.org [Tue, 10 Jul 2012 11:04:38 +0000 (11:04 +0000)]
Output the correct line number in the error message for compilation failures during bootstrapping

BUG=none
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10735024
Patch from Jochen Eisinger <jochen@chromium.org>.

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

12 years agoFixed array bounds check elimination (Chromium issue 132114).
mmassi@chromium.org [Tue, 10 Jul 2012 11:01:29 +0000 (11:01 +0000)]
Fixed array bounds check elimination (Chromium issue 132114).

BUG=
TEST=

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

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

12 years agoAfter transitioning to constant function, return the constant function as result...
verwaest@chromium.org [Tue, 10 Jul 2012 09:31:30 +0000 (09:31 +0000)]
After transitioning to constant function, return the constant function as result of the assignment.

BUG=v8:2226
TEST=test/mjsunit/regress/regress-2226.js

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

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

12 years agoRevert "Removed one copy-n-paste clone of HGraphBuilder::BuildStoreNamed."
svenpanne@chromium.org [Tue, 10 Jul 2012 09:15:03 +0000 (09:15 +0000)]
Revert "Removed one copy-n-paste clone of HGraphBuilder::BuildStoreNamed."

It inadvertently introduced some performance regressions, e.g. for the
'richards' benchmark.

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

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

12 years agoMoving prototype transitions into the header of the transition array.
verwaest@chromium.org [Tue, 10 Jul 2012 07:53:00 +0000 (07:53 +0000)]
Moving prototype transitions into the header of the transition array.

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

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

12 years agoFix types.
rossberg@chromium.org [Mon, 9 Jul 2012 16:31:49 +0000 (16:31 +0000)]
Fix types.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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

12 years agoSilence more warnings.
rossberg@chromium.org [Mon, 9 Jul 2012 16:22:53 +0000 (16:22 +0000)]
Silence more warnings.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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

12 years agoFix Debug::Break crash.
yangguo@chromium.org [Mon, 9 Jul 2012 15:18:08 +0000 (15:18 +0000)]
Fix Debug::Break crash.

BUG=131642
TEST=test-debug/Regress131642

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

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

12 years agoRemoved one copy-n-paste clone of HGraphBuilder::BuildStoreNamed.
svenpanne@chromium.org [Mon, 9 Jul 2012 13:59:28 +0000 (13:59 +0000)]
Removed one copy-n-paste clone of HGraphBuilder::BuildStoreNamed.

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

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

12 years agoSilence warnings.
rossberg@chromium.org [Mon, 9 Jul 2012 13:54:29 +0000 (13:54 +0000)]
Silence warnings.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoDisable array bounds check removal.
mmassi@chromium.org [Mon, 9 Jul 2012 13:25:29 +0000 (13:25 +0000)]
Disable array bounds check removal.

BUG=
TEST=

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

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

12 years agoRestored removed flag.
mmassi@chromium.org [Mon, 9 Jul 2012 12:06:07 +0000 (12:06 +0000)]
Restored removed flag.

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

12 years agoRe-enable array bounds check elimination.
mmassi@chromium.org [Mon, 9 Jul 2012 12:05:58 +0000 (12:05 +0000)]
Re-enable array bounds check elimination.

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

12 years agoAdded Crankshaft support for JavaScript getters.
svenpanne@chromium.org [Mon, 9 Jul 2012 11:33:53 +0000 (11:33 +0000)]
Added Crankshaft support for JavaScript getters.

Instead of calling the getter via a stub, we now call it more directly via a
(guarded) CallConstantFunction instruction.

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

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

12 years agoImproved printing of CheckPrototypeMaps instruction.
svenpanne@chromium.org [Mon, 9 Jul 2012 10:46:17 +0000 (10:46 +0000)]
Improved printing of CheckPrototypeMaps instruction.

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

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

12 years agoFixed CompareIC::GetStateName.
svenpanne@chromium.org [Mon, 9 Jul 2012 10:28:56 +0000 (10:28 +0000)]
Fixed CompareIC::GetStateName.

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

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

12 years agoImplement proper module linking.
rossberg@chromium.org [Mon, 9 Jul 2012 08:59:03 +0000 (08:59 +0000)]
Implement proper module linking.

Specifically:

- In parser, check that all exports are defined.
- Move JSModule allocation from parser to scope resolution.
- Move JSModule linking from full codegen to scope resolution.
- Implement module accessors for exported value members.
- Allocate module contexts statically along with JSModules
  (to allow static linking), but chain them when module literal is evaluated.
- Make module contexts' extension slot refer to resp. JSModule
  (makes modules' ScopeInfo accessible from context).
- Some other tweaks to context handling in general.
- Make any code containing module literals (and thus embedding
  static references to JSModules) non-cacheable.

This enables accessing module instance objects as expected.
Import declarations are a separate feature and do not work yet.

R=mstarzinger@chromium.org
BUG=v8:1569
TEST=

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

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

12 years agoFix wrong iteration variable in test/preparser/strict-identifiers.pyt
jkummerow@chromium.org [Mon, 9 Jul 2012 08:26:17 +0000 (08:26 +0000)]
Fix wrong iteration variable in test/preparser/strict-identifiers.pyt

R=mstarzinger@chromium.org
TEST=preparser/strict-identifiers

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

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

12 years agoMake room in Code flags to support compiled stubs.
danno@chromium.org [Fri, 6 Jul 2012 22:08:27 +0000 (22:08 +0000)]
Make room in Code flags to support compiled stubs.

R=mstarzinger@chromium.org

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.10.
yangguo@chromium.org [Fri, 6 Jul 2012 16:20:57 +0000 (16:20 +0000)]
Prepare push to trunk.  Now working on version 3.12.10.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoFix missing handle scope in recent r12001.
mstarzinger@chromium.org [Fri, 6 Jul 2012 16:03:18 +0000 (16:03 +0000)]
Fix missing handle scope in recent r12001.

R=yangguo@chromium.org
BUG=v8:2219
TEST=webkit:fast/dom/inline-event-attributes-release.html

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

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

12 years agoFix bug in compilation-handlescope.
sanjoy@chromium.org [Fri, 6 Jul 2012 14:09:11 +0000 (14:09 +0000)]
Fix bug in compilation-handlescope.

BUG=
TEST=

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

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

12 years agoCorrectly advance the scanner when scanning unicode regexp flag.
yangguo@chromium.org [Fri, 6 Jul 2012 14:04:15 +0000 (14:04 +0000)]
Correctly advance the scanner when scanning unicode regexp flag.

R=rossberg@chromium.org
BUG=136084
TEST=regress-136084.js

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

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

12 years agoFix unhandlified code calling Harmony Proxy traps.
mstarzinger@chromium.org [Fri, 6 Jul 2012 11:34:22 +0000 (11:34 +0000)]
Fix unhandlified code calling Harmony Proxy traps.

R=rossberg@chromium.org
BUG=v8:2219
TEST=mjsunit/regress/regress-2219

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

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

12 years agoAlso in ClearNonLiveTransitions we have to check if there still is a transition array...
verwaest@chromium.org [Fri, 6 Jul 2012 10:02:15 +0000 (10:02 +0000)]
Also in ClearNonLiveTransitions we have to check if there still is a transition array before we access it.
This should never happen in the long run, but will happen when maps still have a back-pointer while the forward pointer (the transition) was overwritten.

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

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

12 years agoPut additional information onto the stack when crashing in Debug::Break.
yangguo@chromium.org [Fri, 6 Jul 2012 09:34:59 +0000 (09:34 +0000)]
Put additional information onto the stack when crashing in Debug::Break.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoAdd a second kind of HandleScope that ties the lifetime of Handles created in its...
sanjoy@chromium.org [Fri, 6 Jul 2012 09:31:31 +0000 (09:31 +0000)]
Add a second kind of HandleScope that ties the lifetime of Handles created in its scope to the lifetime of a given CompilationInfo.

BUG=
TEST=

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

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

12 years agoSlightly generalize AddCheckConstantFunction.
svenpanne@chromium.org [Fri, 6 Jul 2012 08:34:48 +0000 (08:34 +0000)]
Slightly generalize AddCheckConstantFunction.

This is needed for crankshafted accessors, which are syntactically not a Call.

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

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

12 years agoAdded LookupResult::GetValueFromMap.
svenpanne@chromium.org [Fri, 6 Jul 2012 08:11:10 +0000 (08:11 +0000)]
Added LookupResult::GetValueFromMap.

This is needed later for crankshafted accessors and reduces copy-n-paste a bit.

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

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

12 years agoFix compilation when disabling debugger support.
yangguo@chromium.org [Thu, 5 Jul 2012 16:23:14 +0000 (16:23 +0000)]
Fix compilation when disabling debugger support.

Based on a patch by Remi Duraffort <remi.duraffort@st.com>: http://codereview.chromium.org/10702093/

R=mstarzinger@chromium.org
BUG=
TEST=build with debuggersupport=off

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

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

12 years agoSeparating transitions from descriptors.
verwaest@chromium.org [Thu, 5 Jul 2012 13:54:20 +0000 (13:54 +0000)]
Separating transitions from descriptors.

In this design maps contain descriptor arrays, which in turn can contain transition arrays. If transitions are needed when no descriptor array is present, a descriptor array without real descriptors is inserted just so it can point at the transition array.

The transition array does not contain details about the field it transitions to. In order to weed out transitions to FIELDs from CONSTANT_FUNCTION (what used to be MAP_TRANSITION vs CONSTANT_TRANSITION), the transition needs to be followed and the details need to be looked up in the target map. CALLBACKS transitions are still easy to recognize since the transition targets are stored as an AccessorPair containing the maps, rather than the maps directly.

Currently AccessorPairs containing a transition and an accessor are shared between the descriptor array and the transition array. This simplifies lookup since we only have to look in one of both arrays. This will change in subsequent revisions, when descriptor arrays will become shared between multiple maps, since transitions cannot be shared.

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

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

12 years agoFix timout of packed-elements.js on ARM
danno@chromium.org [Thu, 5 Jul 2012 13:40:51 +0000 (13:40 +0000)]
Fix timout of packed-elements.js on ARM

R=mstarzinger@chromium.org

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

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

12 years agoRemoved superfluous cast.
svenpanne@chromium.org [Thu, 5 Jul 2012 13:13:33 +0000 (13:13 +0000)]
Removed superfluous cast.

R=jkummerow@chromium.org

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

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

12 years agoRemove some duplicated logic from compiler.cc.
sanjoy@chromium.org [Thu, 5 Jul 2012 13:11:57 +0000 (13:11 +0000)]
Remove some duplicated logic from compiler.cc.

BUG=
TEST=

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

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

12 years agoCleanup Test262 expectations for simulators.
mstarzinger@chromium.org [Thu, 5 Jul 2012 12:44:44 +0000 (12:44 +0000)]
Cleanup Test262 expectations for simulators.

R=jkummerow@chromium.org
TEST=test262

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.9.
svenpanne@chromium.org [Thu, 5 Jul 2012 08:21:28 +0000 (08:21 +0000)]
Prepare push to trunk.  Now working on version 3.12.9.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoLarger stack trace string in the minidump when catching Debug::Break crash.
yangguo@chromium.org [Thu, 5 Jul 2012 08:07:01 +0000 (08:07 +0000)]
Larger stack trace string in the minidump when catching Debug::Break crash.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoRemove $FAST variable from mozilla.status. It was never set to true anyway.
jkummerow@chromium.org [Thu, 5 Jul 2012 07:33:01 +0000 (07:33 +0000)]
Remove $FAST variable from mozilla.status. It was never set to true anyway.

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

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

12 years agoHandle accessors on the prototype chain in StoreICs.
svenpanne@chromium.org [Wed, 4 Jul 2012 11:40:51 +0000 (11:40 +0000)]
Handle accessors on the prototype chain in StoreICs.

Made stub compiler function signatures a bit more consistent on the way.

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

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

12 years agoImplement typedarray.set and arraybuffer.slice for d8.
rossberg@chromium.org [Tue, 3 Jul 2012 13:44:36 +0000 (13:44 +0000)]
Implement typedarray.set and arraybuffer.slice for d8.

R=yangguo@chromium.org
BUG=
TEST=

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

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

12 years agoMove quadratic behavior of Context's optimized function list verification behind...
jkummerow@chromium.org [Tue, 3 Jul 2012 13:01:31 +0000 (13:01 +0000)]
Move quadratic behavior of Context's optimized function list verification behind --enable-slow-asserts flag

BUG=webkit:90003
TEST=the following takes only about 1 second in debug mode: var a=[1,2,3,4,5]; eval("for (var i=0;i<50000;i++) a.sort(function(){return 1;});");

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

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

12 years agoAdd function to grokdump shell to print ASCII string.
yangguo@chromium.org [Tue, 3 Jul 2012 11:56:30 +0000 (11:56 +0000)]
Add function to grokdump shell to print ASCII string.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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

12 years agoDon't actually create Handles for the constant hole, the true value and the false...
sanjoy@chromium.org [Tue, 3 Jul 2012 10:42:03 +0000 (10:42 +0000)]
Don't actually create Handles for the constant hole, the true value and the false value.  This is required to have some parts of Crankshaft run without creating Handles.

BUG=
TEST=

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.8.
mstarzinger@chromium.org [Tue, 3 Jul 2012 09:59:55 +0000 (09:59 +0000)]
Prepare push to trunk.  Now working on version 3.12.8.

R=yangguo@chromium.org

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

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

12 years agoFix lazy compilation for strict eval scopes.
mstarzinger@chromium.org [Tue, 3 Jul 2012 08:41:13 +0000 (08:41 +0000)]
Fix lazy compilation for strict eval scopes.

This prevents lazy compilation of functions that have an outer context
containing a strict eval scope. Such a scope potentially contains
context allocated variables in an artificial function scope that is not
deserialized correctly.

R=ulan@chromium.org
BUG=chromium:135066
TEST=mjsunit/regress/regress-crbug-135066

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

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

12 years agoAdd Makefile targets for running tests on Android.
ulan@chromium.org [Tue, 3 Jul 2012 07:45:58 +0000 (07:45 +0000)]
Add Makefile targets for running tests on Android.

This allows to run tests on the attached Android device using
> make android.check
> make android.debug.check
> make android.release.check
> ANDROID_V8=/data/local/v8 TESTJOBS=-j4 make android.release.check -j10

Tests and binaries are copied to device location specified by the ANDROID_V8
variable and then tests are executed using the 'adb shell' program.

R=jkummerow@chromium.org

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

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

12 years agoMake MACOSX_DEPLOYMENT_TARGET configurable.
jkummerow@chromium.org [Mon, 2 Jul 2012 14:58:43 +0000 (14:58 +0000)]
Make MACOSX_DEPLOYMENT_TARGET configurable.

BUG=v8:2151

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

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

12 years agoAdded tests for calling typed array constructors as functions.
rossberg@chromium.org [Mon, 2 Jul 2012 13:09:47 +0000 (13:09 +0000)]
Added tests for calling typed array constructors as functions.

R=danno@chromium.org
BUG=v8:1497
TEST=

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

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

12 years agoReport "hidden properties" in heap profiler for properties case
yurys@chromium.org [Mon, 2 Jul 2012 12:46:31 +0000 (12:46 +0000)]
Report "hidden properties" in heap profiler for properties case

BUG=v8:2212
TEST=cctest/test-heap-profiler/HiddenPropertiesFastCase
Review URL: https://chromiumcodereview.appspot.com/10692058

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

12 years agoPlug memory leak in Isolate.
yangguo@chromium.org [Mon, 2 Jul 2012 12:15:23 +0000 (12:15 +0000)]
Plug memory leak in Isolate.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoAdd test case for typed arrays slicing
danno@chromium.org [Mon, 2 Jul 2012 10:45:00 +0000 (10:45 +0000)]
Add test case for typed arrays slicing

R=rossberg@chromium.org

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

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

12 years agoActivate optimization of packed arrays by default
danno@chromium.org [Mon, 2 Jul 2012 09:50:53 +0000 (09:50 +0000)]
Activate optimization of packed arrays by default

R=jkummerow@chromium.org

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

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

12 years agoProperly fix liveedit heap traversal bug with write barrier
peter.rybin@gmail.com [Sun, 1 Jul 2012 22:25:48 +0000 (22:25 +0000)]
Properly fix liveedit heap traversal bug with write barrier

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

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

12 years agoConsolidate similar KeyedLoads to worst case instead of transitioning elements
danno@chromium.org [Fri, 29 Jun 2012 22:27:25 +0000 (22:27 +0000)]
Consolidate similar KeyedLoads to worst case instead of transitioning elements

R=jkummerow@chromium.org

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

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

12 years agoDisallow inlining of functions containing array literals.
mstarzinger@chromium.org [Fri, 29 Jun 2012 16:39:40 +0000 (16:39 +0000)]
Disallow inlining of functions containing array literals.

This is disabled due to regressions in 3d-cube, but leaves the actual
code to allow inlining in place so it can easily be enabled again.

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

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.7.
yangguo@chromium.org [Fri, 29 Jun 2012 15:15:20 +0000 (15:15 +0000)]
Prepare push to trunk.  Now working on version 3.12.7.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoPut even more debug information on stack when aborting.
yangguo@chromium.org [Fri, 29 Jun 2012 15:11:16 +0000 (15:11 +0000)]
Put even more debug information on stack when aborting.

R=jkummerow@chromium.org
BUG=131642
TEST=

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

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

12 years agoExtend test for external arrays.
yangguo@chromium.org [Fri, 29 Jun 2012 15:06:36 +0000 (15:06 +0000)]
Extend test for external arrays.

R=rossberg@chromium.org
BUG=
TEST=

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

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

12 years agoFix isolate build.
yangguo@chromium.org [Fri, 29 Jun 2012 09:15:52 +0000 (09:15 +0000)]
Fix isolate build.

BUG=
TEST=

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

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

12 years agoCleanup hardfp ABI detection. This work was triggered by issue 2140.
yangguo@chromium.org [Fri, 29 Jun 2012 08:04:24 +0000 (08:04 +0000)]
Cleanup hardfp ABI detection. This work was triggered by issue 2140.

BUG=none
TEST=none

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

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

12 years agoARRAY_SIZE is not available on Linux-shared.
rossberg@chromium.org [Thu, 28 Jun 2012 16:40:16 +0000 (16:40 +0000)]
ARRAY_SIZE is not available on Linux-shared.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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

12 years agoFurther extend TypedArray support in d8:
rossberg@chromium.org [Thu, 28 Jun 2012 16:29:53 +0000 (16:29 +0000)]
Further extend TypedArray support in d8:

- Add copy constructors.
- Add subarray methods.
- Make instanceof and constructor property work.
- Rename PixelArray to Uint8ClampedArray.

Also fix broken definition of assertInstanceof in MJSUnit test harness.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.6.
yangguo@chromium.org [Thu, 28 Jun 2012 15:03:51 +0000 (15:03 +0000)]
Prepare push to trunk.  Now working on version 3.12.6.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoFix lazy parsing heuristics to respect outer scope.
mstarzinger@chromium.org [Thu, 28 Jun 2012 14:56:28 +0000 (14:56 +0000)]
Fix lazy parsing heuristics to respect outer scope.

This makes sure that a function literal is only parsed lazily when the
outer scope actually allows lazy compilation. Otherwise compilation will
crash due to a missing function body.

R=ulan@chromium.org
BUG=chromium:135008
TEST=mjsunit/regress/regress-crbug-135008

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

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

12 years agoAllow using test-wrapper-gypbuild.py on Windows when no python interpreter is registered.
jkummerow@chromium.org [Thu, 28 Jun 2012 14:31:03 +0000 (14:31 +0000)]
Allow using test-wrapper-gypbuild.py on Windows when no python interpreter is registered.

R=danno@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10716004
Patch from Sigurður Ásgeirsson <siggi@chromium.org>.

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

12 years agoRevert 11939 'Add a CompilationHandleScope' since it breaks array-sort.js in Win32...
sanjoy@chromium.org [Thu, 28 Jun 2012 12:34:51 +0000 (12:34 +0000)]
Revert 11939 'Add a CompilationHandleScope' since it breaks array-sort.js in Win32 Release.

BUG=
TEST=

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

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

12 years agoAllow inlining of functions containing array literals.
mstarzinger@chromium.org [Wed, 27 Jun 2012 14:46:01 +0000 (14:46 +0000)]
Allow inlining of functions containing array literals.

R=yangguo@chromium.org
BUG=v8:1322
TEST=mjsunit/compiler/inline-literals

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

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

12 years agoEnable the CHECK for near-jump displacement range in Release mode too.
jkummerow@chromium.org [Wed, 27 Jun 2012 12:33:39 +0000 (12:33 +0000)]
Enable the CHECK for near-jump displacement range in Release mode too.

If we're generating bad code anyway, we might as well crash immediately and at least get a proper backtrace.

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

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

12 years agoAllow inlining of functions containing RegExp literals.
mstarzinger@chromium.org [Wed, 27 Jun 2012 11:49:37 +0000 (11:49 +0000)]
Allow inlining of functions containing RegExp literals.

R=yangguo@chromium.org
BUG=v8:1322
TEST=mjsunit/compiler/inline-literals

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

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

12 years agoAdd a second kind of HandleScope that ties the lifetime of Handles created in its...
sanjoy@chromium.org [Wed, 27 Jun 2012 11:47:47 +0000 (11:47 +0000)]
Add a second kind of HandleScope that ties the lifetime of Handles created in its scope to the lifetime of a given CompilationInfo.

BUG=
TEST=

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.5.
jkummerow@chromium.org [Wed, 27 Jun 2012 11:09:17 +0000 (11:09 +0000)]
Prepare push to trunk.  Now working on version 3.12.5.

R=yangguo@chromium.org

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

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

12 years agoPort r11517 (not deopt Math.floor on negative input) to x64, sse2.
yangguo@chromium.org [Wed, 27 Jun 2012 07:27:28 +0000 (07:27 +0000)]
Port r11517 (not deopt Math.floor on negative input) to x64, sse2.

BUG=v8:873
TEST=math-floor-negative.js

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

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

12 years agoRemove -fomit-frame-pointer flag from Release builds
jkummerow@chromium.org [Tue, 26 Jun 2012 15:31:27 +0000 (15:31 +0000)]
Remove -fomit-frame-pointer flag from Release builds

BUG=133723

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

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

12 years agoEnable whole program optimization for WIN64 to make build-bot green.
ulan@chromium.org [Tue, 26 Jun 2012 15:27:12 +0000 (15:27 +0000)]
Enable whole program optimization for WIN64 to make build-bot green.

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

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

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

12 years agoPort r7868 (constant masking) to x64.
yangguo@chromium.org [Tue, 26 Jun 2012 13:56:48 +0000 (13:56 +0000)]
Port r7868 (constant masking) to x64.

BUG=v8:1374
TEST=test-compiler/SplitConstantsInFullCompiler

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

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

12 years agoExpose more detailed memory statistics
mstarzinger@chromium.org [Tue, 26 Jun 2012 11:46:16 +0000 (11:46 +0000)]
Expose more detailed memory statistics

Expose allocated and used byte counters for the different spaces. The goal is
to monitor those values both on page cycles and via UMA

BUG=v8:2201
TEST=none

Review URL: https://chromiumcodereview.appspot.com/10657022
Patch from Jochen Eisinger <jochen@chromium.org>.

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

12 years agoFix missing slot recording in transition compaction.
mstarzinger@chromium.org [Tue, 26 Jun 2012 11:25:28 +0000 (11:25 +0000)]
Fix missing slot recording in transition compaction.

R=verwaest@chromium.org
TEST=cctest/test-api/Threading2

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

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

12 years agoMIPS: Skip LiveEdit test on ARM.
yangguo@chromium.org [Tue, 26 Jun 2012 07:48:04 +0000 (07:48 +0000)]
MIPS: Skip LiveEdit test on ARM.

Port r11915 (4c749256)

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com/10661049
Patch from Akos Palfi <palfia@homejinni.com>.

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

12 years agoRevert 11927 "Fix liveedit heap traversal bug with write barrier"
peter.rybin@gmail.com [Mon, 25 Jun 2012 22:20:52 +0000 (22:20 +0000)]
Revert 11927 "Fix liveedit heap traversal bug with write barrier"

A test was broken by r11927

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

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

12 years agoFix liveedit heap traversal bug with write barrier
peter.rybin@gmail.com [Mon, 25 Jun 2012 21:43:50 +0000 (21:43 +0000)]
Fix liveedit heap traversal bug with write barrier

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

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

12 years agoFix failing test after r11924.
mstarzinger@chromium.org [Mon, 25 Jun 2012 13:57:52 +0000 (13:57 +0000)]
Fix failing test after r11924.

R=verwaest@chromium.org
BUG=chromium:132744
TEST=cctest/test-dictionary/ObjectHashTableCausesGC

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

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

12 years agoUpdate heap test so it calls gc 6 times. This is necessary to avoid flakiness.
verwaest@chromium.org [Mon, 25 Jun 2012 13:55:36 +0000 (13:55 +0000)]
Update heap test so it calls gc 6 times. This is necessary to avoid flakiness.

BUG=
TEST=

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

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

12 years agoFix Harmony Maps and WeakMaps for undefined values.
mstarzinger@chromium.org [Mon, 25 Jun 2012 13:33:48 +0000 (13:33 +0000)]
Fix Harmony Maps and WeakMaps for undefined values.

R=rossberg@chromium.org
BUG=chromium:132744
TEST=mjsunit/harmony/collections

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

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

12 years agoCorrectly throw reference error in strict mode with ICs disabled.
yangguo@chromium.org [Mon, 25 Jun 2012 13:28:11 +0000 (13:28 +0000)]
Correctly throw reference error in strict mode with ICs disabled.

R=jkummerow@chromium.org
BUG=v8:2119
TEST=regress/regress-2119.js

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

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

12 years agoIn-place shrinking of descriptor arrays with non-live transitions.
verwaest@chromium.org [Mon, 25 Jun 2012 13:10:54 +0000 (13:10 +0000)]
In-place shrinking of descriptor arrays with non-live transitions.
Instead of overwriting non-live transitions with NULL_DESCRIPTORs, we remove them from the array by compacting the array (shifting live values to the left) and in-place trimming the array. If the final descriptor array contains no live values (only contained transitions which are now all cleared), we move bit_field3 back from the descriptor array to the map. The descriptor array itself will be collected in the next GC.

BUG=
TEST=

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

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

12 years agoUse correct size of objects in PrintShortHeapStatistics.
ulan@chromium.org [Mon, 25 Jun 2012 12:51:03 +0000 (12:51 +0000)]
Use correct size of objects in PrintShortHeapStatistics.

R=mstarzinger@chromium.org

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

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

12 years agoSeparate stub types from property types.
verwaest@chromium.org [Mon, 25 Jun 2012 11:35:23 +0000 (11:35 +0000)]
Separate stub types from property types.

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.4.
ulan@chromium.org [Mon, 25 Jun 2012 09:45:51 +0000 (09:45 +0000)]
Prepare push to trunk.  Now working on version 3.12.4.

R=jkummerow@chromium.org

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

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

12 years agoRevert r11835 'Unify promotion and allocation limit computation' due to V8 Splay...
ulan@chromium.org [Mon, 25 Jun 2012 09:14:47 +0000 (09:14 +0000)]
Revert r11835 'Unify promotion and allocation limit computation' due to V8 Splay performance regression on Mac.

R=mstarzinger@chromium.org
BUG=134183

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

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

12 years agoSkip LiveEdit test on ARM.
yangguo@chromium.org [Mon, 25 Jun 2012 08:18:09 +0000 (08:18 +0000)]
Skip LiveEdit test on ARM.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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

12 years agoCorrectly support several consecutive stack modifications.
peter.rybin@gmail.com [Fri, 22 Jun 2012 20:50:03 +0000 (20:50 +0000)]
Correctly support several consecutive stack modifications.

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

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

12 years agoFix sharing of literal boilerplates for optimized code.
mstarzinger@chromium.org [Fri, 22 Jun 2012 13:55:15 +0000 (13:55 +0000)]
Fix sharing of literal boilerplates for optimized code.

This makes sure the literal boilerplates array is correctly shared
together with optimized code when caching of optimized code is enabled.
It also enabled said caching by default again.

R=ulan@chromium.org
BUG=v8:2193
TEST=mjsunit/regress/regress-2193

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

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

12 years agoPrepare push to trunk. Now working on version 3.12.3.
yangguo@chromium.org [Fri, 22 Jun 2012 13:44:02 +0000 (13:44 +0000)]
Prepare push to trunk.  Now working on version 3.12.3.

R=jkummerow@chromium.org
BUG=
TEST=

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

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

12 years agoMake near-jump check more strict in LoadNamedFieldPolymorphic on ia32/x64
jkummerow@chromium.org [Fri, 22 Jun 2012 13:38:39 +0000 (13:38 +0000)]
Make near-jump check more strict in LoadNamedFieldPolymorphic on ia32/x64

BUG=134055

TEST=mjsunit/regress/regress-crbug-134055

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

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

12 years agoSkip test for optimized code sharing if flag is disabled by default.
yangguo@chromium.org [Fri, 22 Jun 2012 12:47:11 +0000 (12:47 +0000)]
Skip test for optimized code sharing if flag is disabled by default.

R=mstarzinger@chromium.org
BUG=
TEST=

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

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