[v8-dev] [v8] r5334 committed - Use collector for preparse data....

2010-08-24 Thread codesite-noreply
Revision: 5334 Author: l...@chromium.org Date: Tue Aug 24 23:46:53 2010 Log: Use collector for preparse data. This is in preparation of adding more data to the preparse record. Using a collector instead of a list avoids copying data when the backing store grows. Review URL: http://codereview.chr

[v8-dev] Prepare push of version 2.3.11 to trunk. Now working on versin 2.3.12... (issue3169042)

2010-08-24 Thread ricow
Reviewers: Kasper Lund, Description: Prepare push of version 2.3.11 to trunk. Now working on versin 2.3.12 This includes the ChangeLog part from the last push to trunk, since the "prepare push to trunk" cl for that push was never committed. Please review this at http://codereview.chromium.org

[v8-dev] Re: Issue 842 in v8: Object.freeze() throws exception is Object or Array has been extended

2010-08-24 Thread codesite-noreply
Updates: Status: Assigned Owner: ri...@chromium.org Comment #1 on issue 842 by ri...@chromium.org: Object.freeze() throws exception is Object or Array has been extended http://code.google.com/p/v8/issues/detail?id=842 I will take a look -- v8-dev mailing list v8-dev@googlegro

[v8-dev] [v8] r5333 committed - Fix a bug in the handling of debug break in CallIC...

2010-08-24 Thread codesite-noreply
Revision: 5333 Author: sgje...@chromium.org Date: Tue Aug 24 22:57:02 2010 Log: Fix a bug in the handling of debug break in CallIC The change of calling convention in the CallIC was not reflected in the debug break code. Without the change to the debug break code the added test crashed. Revi

[v8-dev] Re: Fix a bug in the handling of debug break in CallIC... (issue3167037)

2010-08-24 Thread kasperl
LGTM also for merging to the 2.2 branch. http://codereview.chromium.org/3167037/diff/1/5 File test/cctest/test-debug.cc (right): http://codereview.chromium.org/3167037/diff/1/5#newcode872 test/cctest/test-debug.cc:872: // Mark sweep (and perhaps compact). Maybe update comment. It always compact

[v8-dev] Issue 842 in v8: Object.freeze() throws exception is Object or Array has been extended

2010-08-24 Thread codesite-noreply
Status: New Owner: New issue 842 by polarjs: Object.freeze() throws exception is Object or Array has been extended http://code.google.com/p/v8/issues/detail?id=842 Here's a simple test case: === BEGIN === //Object.prototype.myfunc = function() {} //Array.prototype.myfunc = function() {}

[v8-dev] Fix a bug in the handling of debug break in CallIC... (issue3167037)

2010-08-24 Thread sgjesse
Reviewers: Kasper Lund, Message: This is a candidate for merging to the 2.2 branch! Description: Fix a bug in the handling of debug break in CallIC The change of calling convention in the CallIC was not reflected in the debug break code. Without the change to the debug break code the added te

[v8-dev] Move code stubs from codegen*.* files to code-stub*.* files. (issue3195022)

2010-08-24 Thread whesse
Reviewers: Lasse Reichstein, Message: This change only moves functions and declarations to new files, and adds #includes, in order to remove the code stubs from the virtual-frame code generator. The new files are added to the build systems. Xcode build is not yet modified - it will be fixed b

[v8-dev] Re: Use collector for preparse data. (issue3153037)

2010-08-24 Thread ager
LGTM http://codereview.chromium.org/3153037/diff/1/2 File src/parser.cc (right): http://codereview.chromium.org/3153037/diff/1/2#newcode965 src/parser.cc:965: : has_error_(false), store_(ScriptDataImpl::kHeaderSize) { Four space indent. http://codereview.chromium.org/3153037/show -- v8-dev ma

[v8-dev] [v8] r5332 committed - Add position information for compares, binary ops, and count...

2010-08-24 Thread codesite-noreply
Revision: 5332 Author: kasp...@chromium.org Date: Tue Aug 24 06:51:23 2010 Log: Add position information for compares, binary ops, and count operations. Review URL: http://codereview.chromium.org/3120027 http://code.google.com/p/v8/source/detail?r=5332 Modified: /branches/bleeding_edge/src/arm/f

[v8-dev] Re: Add position information for compares, binary ops, and count (issue3120027)

2010-08-24 Thread fschneider
LGTM. http://codereview.chromium.org/3120027/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] [v8] r5331 committed - Ported string call IC-s to arm....

2010-08-24 Thread codesite-noreply
Revision: 5331 Author: vita...@chromium.org Date: Tue Aug 24 06:45:53 2010 Log: Ported string call IC-s to arm. Review URL: http://codereview.chromium.org/3143038 http://code.google.com/p/v8/source/detail?r=5331 Modified: /branches/bleeding_edge/src/arm/stub-cache-arm.cc ==

[v8-dev] [v8] r5330 committed - Ported string call IC-s to x64....

2010-08-24 Thread codesite-noreply
Revision: 5330 Author: vita...@chromium.org Date: Tue Aug 24 06:39:29 2010 Log: Ported string call IC-s to x64. Review URL: http://codereview.chromium.org/3156045 http://code.google.com/p/v8/source/detail?r=5330 Modified: /branches/bleeding_edge/src/x64/stub-cache-x64.cc ==

[v8-dev] [v8] r5329 committed - Refactor the tools/test.py script and related testcfg.py files....

2010-08-24 Thread codesite-noreply
Revision: 5329 Author: ri...@chromium.org Date: Tue Aug 24 06:34:59 2010 Log: Refactor the tools/test.py script and related testcfg.py files. This makes it possible to run several variants of the tests (with different flags that is) by adding extra lists to the VARIANT_FLAGS list. In addition

[v8-dev] Re: Refactor the tools/test.py script and related testcfg.py files.... (issue3164023)

2010-08-24 Thread kasperl
LGTM. http://codereview.chromium.org/3164023/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Add position information for compares, binary ops, and count (issue3120027)

2010-08-24 Thread kasperl
Reviewers: fschneider, Description: Add position information for compares, binary ops, and count operations. Please review this at http://codereview.chromium.org/3120027/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/full-codegen-arm.cc M

[v8-dev] Use collector for preparse data. (issue3153037)

2010-08-24 Thread lrn
Reviewers: Mads Ager, Description: Use collector for preparse data. This is in preparation of adding more data to the preparse record. Using a collector instead of a list avoids copying data when the backing store grows. Please review this at http://codereview.chromium.org/3153037/show Affecte

[v8-dev] Re: Reapplying r5147 (caching maps for slow case objects).... (issue3134027)

2010-08-24 Thread kaznacheev
http://codereview.chromium.org/3134027/diff/1/9 File src/objects-debug.cc (right): http://codereview.chromium.org/3134027/diff/1/9#newcode654 src/objects-debug.cc:654: ASSERT(instance_descriptors() == Heap::empty_descriptor_array()); On 2010/08/24 12:36:20, antonm wrote: minor cosmetic: maybe A

[v8-dev] [v8] r5328 committed - Introduce a new intermediate AST node for encapsulating the...

2010-08-24 Thread codesite-noreply
Revision: 5328 Author: kasp...@chromium.org Date: Tue Aug 24 05:56:45 2010 Log: Introduce a new intermediate AST node for encapsulating the increment part of a count operation. Review URL: http://codereview.chromium.org/3150032 http://code.google.com/p/v8/source/detail?r=5328 Modified: /branches

[v8-dev] Re: Introduce a new intermediate AST node for encapsulating the... (issue3150032)

2010-08-24 Thread fschneider
LGTM. http://codereview.chromium.org/3150032/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Introduce a new intermediate AST node for encapsulating the... (issue3150032)

2010-08-24 Thread kasperl
Reviewers: fschneider, Description: Introduce a new intermediate AST node for encapsulating the increment part of a count operation. Please review this at http://codereview.chromium.org/3150032/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/ast.

[v8-dev] Re: Reapplying r5147 (caching maps for slow case objects).... (issue3134027)

2010-08-24 Thread antonm
LGTM http://codereview.chromium.org/3134027/diff/1/9 File src/objects-debug.cc (right): http://codereview.chromium.org/3134027/diff/1/9#newcode654 src/objects-debug.cc:654: ASSERT(instance_descriptors() == Heap::empty_descriptor_array()); minor cosmetic: maybe ASSERT_EQ is better. http://coder

[v8-dev] [v8] r5327 committed - Ensure that scanner state is correctly reset when an error is encounte...

2010-08-24 Thread codesite-noreply
Revision: 5327 Author: l...@chromium.org Date: Tue Aug 24 05:29:50 2010 Log: Ensure that scanner state is correctly reset when an error is encountered. Add a scope object to ensure that leaving a literal scanning prematurely will clean up after itself. Also reset the literal buffer if a scanne

[v8-dev] Re: Ensure that scanner state is correctly reset when an error is encountered. (issue3137037)

2010-08-24 Thread lrn
http://codereview.chromium.org/3137037/diff/1/3 File src/scanner.h (right): http://codereview.chromium.org/3137037/diff/1/3#newcode280 src/scanner.h:280: private: Done. http://codereview.chromium.org/3137037/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-

[v8-dev] Re: Ensure that scanner state is correctly reset when an error is encountered. (issue3137037)

2010-08-24 Thread ager
LGTM http://codereview.chromium.org/3137037/diff/1/3 File src/scanner.h (right): http://codereview.chromium.org/3137037/diff/1/3#newcode280 src/scanner.h:280: private: Strange spacing going on here. Please add blank line before private: and consider removing the blanks between the function decl

[v8-dev] Ensure that scanner state is correctly reset when an error is encountered. (issue3137037)

2010-08-24 Thread lrn
Reviewers: Mads Ager, Description: Ensure that scanner state is correctly reset when an error is encountered. Add a scope object to ensure that leaving a literal scanning prematurely will clean up after itself. Also reset the literal buffer if a scanner is reinitialized with a new source code.

[v8-dev] Issue 841 in v8: RUNTIME_ASSERT requires allocation

2010-08-24 Thread codesite-noreply
Status: Accepted Owner: sgje...@chromium.org Labels: Type-Bug Priority-Medium New issue 841 by sgje...@chromium.org: RUNTIME_ASSERT requires allocation http://code.google.com/p/v8/issues/detail?id=841 The RUNTIME_ASSERT macro used in runtime.cc requires heap heap allocation. There might be sit

[v8-dev] [v8] r5326 committed - Optimize 'typeof == ' in the full codegen....

2010-08-24 Thread codesite-noreply
Revision: 5326 Author: kasp...@chromium.org Date: Tue Aug 24 04:41:26 2010 Log: Optimize 'typeof == ' in the full codegen. Review URL: http://codereview.chromium.org/3110034 http://code.google.com/p/v8/source/detail?r=5326 Modified: /branches/bleeding_edge/src/arm/full-codegen-arm.cc /branches

[v8-dev] Re: Optimize 'typeof == ' in the full codegen. (issue3110034)

2010-08-24 Thread ager
LGTM http://codereview.chromium.org/3110034/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] [v8] r5325 committed - Created collector class and used it to collect identifiers during scan...

2010-08-24 Thread codesite-noreply
Revision: 5325 Author: l...@chromium.org Date: Tue Aug 24 03:53:44 2010 Log: Created collector class and used it to collect identifiers during scanning. The collector class automatically expands to hold the values added to it, like a List, but doesn't ensure that the backing store is contiguou

[v8-dev] Optimize 'typeof == ' in the full codegen. (issue3110034)

2010-08-24 Thread kasperl
Reviewers: Mads Ager, Description: Optimize 'typeof == ' in the full codegen. Please review this at http://codereview.chromium.org/3110034/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M src/arm/full-codegen-arm.cc M src/full-codegen.h M

[v8-dev] Reapplying r5147 (caching maps for slow case objects).... (issue3134027)

2010-08-24 Thread kaznacheev
Reviewers: Mads Ager, antonm, Description: Reapplying r5147 (caching maps for slow case objects). r5147 wrongly assumed that a code cache for a slow case map is always empty. This patch solves this: whenever we attempt to add a stub to a map's code cache we check that this map is cached. If i

[v8-dev] Re: Using array index hash code for string-to-number conversion. (issue3141022)

2010-08-24 Thread serya
The same optimization added to ParseInt and PartseFloat (v8natives.js). http://codereview.chromium.org/3141022/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Created collector class and used it to collect identifiers during scanning. (issue3181036)

2010-08-24 Thread ager
LGTM if you move most of the method bodies to utils.cc. http://codereview.chromium.org/3181036/diff/1/9 File src/utils.h (right): http://codereview.chromium.org/3181036/diff/1/9#newcode541 src/utils.h:541: Vector ToVector() { You should move some of these methods to utils.cc and only keep the o

[v8-dev] Created collector class and used it to collect identifiers during scanning. (issue3181036)

2010-08-24 Thread lrn
Reviewers: Mads Ager, Description: Created collector class and used it to collect identifiers during scanning. The collector class automatically expands to hold the values added to it, like a List, but doesn't ensure that the backing store is contiguous, which allows it to avoid copying back and

[v8-dev] [v8] r5324 committed - Remove the full codegen syntax checker completely but be...

2010-08-24 Thread codesite-noreply
Revision: 5324 Author: kasp...@chromium.org Date: Tue Aug 24 02:04:17 2010 Log: Remove the full codegen syntax checker completely but be careful to avoid making code with loops run too slowly. Review URL: http://codereview.chromium.org/3107033 http://code.google.com/p/v8/source/detail?r=5324 Modi

[v8-dev] Remove the full codegen syntax checker completely but be... (issue3107033)

2010-08-24 Thread kasperl
Reviewers: Søren Gjesse, Description: Remove the full codegen syntax checker completely but be careful to avoid making code with loops run too slowly. Please review this at http://codereview.chromium.org/3107033/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files

[v8-dev] Re: Refactor the tools/test.py script and related testcfg.py files.... (issue3164023)

2010-08-24 Thread ricow
Added flag and HasPreciousOutput to TestOutput Please take another look http://codereview.chromium.org/3164023/diff/1/5 File test/mjsunit/testcfg.py (right): http://codereview.chromium.org/3164023/diff/1/5#newcode94 test/mjsunit/testcfg.py:94: if self.self_script and (not result.UnexpectedOutpu

[v8-dev] Re: Ported string call IC-s to arm. (issue3143038)

2010-08-24 Thread ager
LGTM http://codereview.chromium.org/3143038/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Cleanup the AST code by removing unused parts and get rid of the... (issue3146037)

2010-08-24 Thread ager
STV! http://codereview.chromium.org/3146037/diff/1/21 File src/x64/full-codegen-x64.cc (right): http://codereview.chromium.org/3146037/diff/1/21#newcode3019 src/x64/full-codegen-x64.cc:3019: Label materialize_true, materialize_false; Indentation. http://codereview.chromium.org/3146037/show --

[v8-dev] Cleanup the AST code by removing unused parts and get rid of the... (issue3146037)

2010-08-24 Thread kasperl
Reviewers: Mads Ager, Description: Cleanup the AST code by removing unused parts and get rid of the flow graph code completely. Add new AST node for null compares and use it to make the full codegens better at generating code for null comparisons. Please review this at http://codereview.chromium