svenpanne@chromium.org [Wed, 11 Jul 2012 07:59:58 +0000 (07:59 +0000)]
Re-land "Removed one copy-n-paste clone of HGraphBuilder::BuildStoreNamed."
The previous CL used the wrong map in some cases, leading to a wrong decision
regarding monomorphic usage and therefore some performance regressions.
Review URL: https://chromiumcodereview.appspot.com/
10694129
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12037
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
yangguo@chromium.org [Wed, 11 Jul 2012 07:47:29 +0000 (07:47 +0000)]
Sync preparser and parser wrt syntax error in switch..case.
R=jkummerow@chromium.org
BUG=v8:2210
TEST=test-parsing/ParserSync
Review URL: https://chromiumcodereview.appspot.com/
10701116
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12036
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
danno@chromium.org [Tue, 10 Jul 2012 13:33:19 +0000 (13:33 +0000)]
Port r11344 (Try aligning unboxed double array backing store in allocation or
scavenge promotion.) to ARM.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/
10696097
Patch from Rodolph Perfetta <rodolph.perfetta@gmail.com>.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12035
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
verwaest@chromium.org [Tue, 10 Jul 2012 13:31:36 +0000 (13:31 +0000)]
Swap bitfield3 and backpointer.
Bitfield3 now has its own field, while the backpointer shares the field with the descriptor array; which will become the transition array.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/
10692130
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12034
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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