[v8-dev] New approach to Crankshaft decision-making (issue 8700008)

2011-11-25 Thread jkummerow
Reviewers: danno, Message: First version. Building with snapshot is currently broken. This depends on the definition of "primitive" functions from http://codereview.chromium.org/8677008/. Danno: WDYT? Kevin: FYI. Feel free to comment if you care. Description: New approach to Crankshaft decisio

[v8-dev] Re: Clean up JavaScript files to better follow coding standard. (issue 8701006)

2011-11-25 Thread yangguo
actually sending the comment... http://codereview.chromium.org/8701006/diff/1/src/v8natives.js File src/v8natives.js (right): http://codereview.chromium.org/8701006/diff/1/src/v8natives.js#newcode891 src/v8natives.js:891: throw MakeTypeError("obj_ctor_property_non_object", ["getOwnPropertyNames

[v8-dev] Re: Clean up JavaScript files to better follow coding standard. (issue 8701006)

2011-11-25 Thread yangguo
On 2011/11/25 15:34:40, Lasse Reichstein wrote: PTAL drive-by LGTM with comments. Did not make sure the corrections are exhaustive though. http://codereview.chromium.org/8701006/ -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Clean up JavaScript files to better follow coding standard. (issue 8701006)

2011-11-25 Thread lrn
Reviewers: rossberg, Message: PTAL Description: Clean up JavaScript files to better follow coding standard. Multiline conditionals must use braces. Semicolons are not optional. Please review this at http://codereview.chromium.org/8701006/ SVN Base: https://v8.googlecode.com/svn/branches/blee

[v8-dev] [v8] r10072 committed - Implement high promotion mode for new space....

2011-11-25 Thread codesite-noreply
Revision: 10072 Author: mstarzin...@chromium.org Date: Fri Nov 25 06:41:38 2011 Log: Implement high promotion mode for new space. This mode drastically decreases pause times by limiting maximum capacity of the young generation when mutators generate many long-lived objects. It shrinks

[v8-dev] Re: Implement high promotion mode for new space. (issue 8702006)

2011-11-25 Thread erik . corry
LGTM http://codereview.chromium.org/8702006/ -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] [v8] r10071 committed - Shorten FP register pops where possible....

2011-11-25 Thread codesite-noreply
Revision: 10071 Author: yang...@chromium.org Date: Fri Nov 25 06:26:54 2011 Log: Shorten FP register pops where possible. Review URL: http://codereview.chromium.org/8699004 http://code.google.com/p/v8/source/detail?r=10071 Modified: /branches/bleeding_edge/src/ia32/lithium-codegen-ia

[v8-dev] Re: Shorten FP register pops where possible. (issue 8699004)

2011-11-25 Thread ulan
LGTM. http://codereview.chromium.org/8699004/ -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Shorten FP register pops where possible. (issue 8699004)

2011-11-25 Thread yangguo
Reviewers: ulan, Message: PTAL. Local tests look good. Description: Shorten FP register pops where possible. Please review this at http://codereview.chromium.org/8699004/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/ia32/lithium-codegen-ia32.cc M s

[v8-dev] Re: Add external strings support to regexp in generated code. (issue 8680010)

2011-11-25 Thread yangguo
Landed. http://codereview.chromium.org/8680010/diff/3001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/8680010/diff/3001/src/arm/code-stubs-arm.cc#newcode4563 src/arm/code-stubs-arm.cc:4563: __ and_(r1, r0, Operand(kIsNotStringMask | kStringRep

[v8-dev] [v8] r10070 committed - Add external strings support to regexp in generated code....

2011-11-25 Thread codesite-noreply
Revision: 10070 Author: yang...@chromium.org Date: Fri Nov 25 06:04:47 2011 Log: Add external strings support to regexp in generated code. TEST=test/mjsunit/string-external-cached.js Review URL: http://codereview.chromium.org/8680010 http://code.google.com/p/v8/source/detail?r=10070

[v8-dev] [v8] r10069 committed - Fixing build errors on arm....

2011-11-25 Thread codesite-noreply
Revision: 10069 Author: yang...@chromium.org Date: Fri Nov 25 05:38:43 2011 Log: Fixing build errors on arm. Review URL: http://codereview.chromium.org/8698005 http://code.google.com/p/v8/source/detail?r=10069 Modified: /branches/bleeding_edge/src/arm/code-stubs-arm.cc =

[v8-dev] Re: Fixing build errors on arm. (issue 8698005)

2011-11-25 Thread ulan
LGTM. http://codereview.chromium.org/8698005/ -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Fixing build errors on arm. (issue 8698005)

2011-11-25 Thread yangguo
Reviewers: ulan, Message: PTAL. Description: Fixing build errors on arm. Please review this at http://codereview.chromium.org/8698005/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/arm/code-stubs-arm.cc Index: src/arm/code-stubs-arm.cc diff --git a/

[v8-dev] Implement high promotion mode for new space. (issue 8702006)

2011-11-25 Thread mstarzinger
Reviewers: Erik Corry, Message: PTAL. Description: Implement high promotion mode for new space. This mode drastically decreases pause times by limiting maximum capacity of the young generation when mutators generate many long-lived objects. It shrinks new space back to the initial capacity and

[v8-dev] [v8] r10068 committed - Fix assertion broken by recent revision....

2011-11-25 Thread codesite-noreply
Revision: 10068 Author: mstarzin...@chromium.org Date: Fri Nov 25 05:21:56 2011 Log: Fix assertion broken by recent revision. R=yang...@chromium.org TEST=mjsunit/keyed-call-ic Review URL: http://codereview.chromium.org/8688008 http://code.google.com/p/v8/source/detail?r=10068 Modifie

[v8-dev] [v8] r10067 committed - Implement Math.tan in generated code....

2011-11-25 Thread codesite-noreply
Revision: 10067 Author: yang...@chromium.org Date: Fri Nov 25 05:15:31 2011 Log: Implement Math.tan in generated code. Review URL: http://codereview.chromium.org/874 http://code.google.com/p/v8/source/detail?r=10067 Modified: /branches/bleeding_edge/src/arm/code-stubs-arm.cc /br

[v8-dev] Re: Implement Math.tan in generated code. (issue 8700004)

2011-11-25 Thread Yang Guo
Thanks Lasse. Ulan and I just found out by looking at GCC-compiled code of tan(). There are a few other places where "ffree(); fincstp()" could be replaced. Will be addressed in another CL though. Yang On Fri, Nov 25, 2011 at 2:11 PM, wrote: > LGTM if Lasse's comment is addressed. > > > http://

[v8-dev] Re: Implement Math.tan in generated code. (issue 8700004)

2011-11-25 Thread ulan
LGTM if Lasse's comment is addressed. http://codereview.chromium.org/874/diff/1/src/arm/full-codegen-arm.cc File src/arm/full-codegen-arm.cc (right): http://codereview.chromium.org/874/diff/1/src/arm/full-codegen-arm.cc#newcode3142 src/arm/full-codegen-arm.cc:3142: context()->Plug(r0);

[v8-dev] Re: Add external strings support to regexp in generated code. (issue 8680010)

2011-11-25 Thread lrn
LGTM http://codereview.chromium.org/8680010/diff/3001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): http://codereview.chromium.org/8680010/diff/3001/src/arm/code-stubs-arm.cc#newcode4563 src/arm/code-stubs-arm.cc:4563: __ and_(r1, r0, Operand(kIsNotStringMask | kStringRepres

[v8-dev] Re: Implement Math.tan in generated code. (issue 8700004)

2011-11-25 Thread lrn
drive-by comment. http://codereview.chromium.org/874/diff/1/src/x64/code-stubs-x64.cc File src/x64/code-stubs-x64.cc (right): http://codereview.chromium.org/874/diff/1/src/x64/code-stubs-x64.cc#newcode1781 src/x64/code-stubs-x64.cc:1781: __ fincstp(); If you just want to drop the top el

[v8-dev] Re: Fix assertion broken by recent revision. (issue 8688008)

2011-11-25 Thread yangguo
On 2011/11/24 17:21:24, Michael Starzinger wrote: PTAL. drive-by LGTM. http://codereview.chromium.org/8688008/ -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Implement Math.tan in generated code. (issue 8700004)

2011-11-25 Thread yangguo
Reviewers: ulan, Message: This takes advantage of FPTAN on intel architectures. Please take a look. Description: Implement Math.tan in generated code. Please review this at http://codereview.chromium.org/874/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files:

Re: [v8-dev] Re: Issue 1840 in v8: High num of deopts for attached production code from game engine

2011-11-25 Thread Alexandre Rames
Hello, Concerning your comment: "What we really should do is to recognize that the result is always used as an integer, avoiding deopts when the modulus is non-zero or some kind of overflow happens [...]" I have a patch doing this optimization in hydrogen when the result is used in bitwise operat

[v8-dev] [v8] r10066 committed - Don't preparse large files to find boundaries of lazy functions....

2011-11-25 Thread codesite-noreply
Revision: 10066 Author: l...@chromium.org Date: Fri Nov 25 01:36:31 2011 Log: Don't preparse large files to find boundaries of lazy functions. Instead use the preparser inline to parse only the lazy function bodies. This is still disabled for small files. More measurements are needed

[v8-dev] Re: Start incremental marking on idle notification (second version). (issue 8519002)

2011-11-25 Thread erik . corry
Still LGTM http://codereview.chromium.org/8519002/diff/16001/test/cctest/test-api.cc File test/cctest/test-api.cc (right): http://codereview.chromium.org/8519002/diff/16001/test/cctest/test-api.cc#newcode13430 test/cctest/test-api.cc:13430: } Can we test that the heap is now much smaller? http

[v8-dev] Re: Relax inlining limits for simple leaf functions. (issue 8677008)

2011-11-25 Thread ulan
Uploaded a new patch set that renames "heavy" to "non_primitive" and adds comments. I tried moving the counters to IsInlineable (see http://codereview.chromium.org/871/) but don't really like it because there is no good place to call ComputeAstNodeCountAndInlineableFlags() from. This funct