[v8-dev] Re: [Isolates] StaticVisitor::VisitPointer gets Heap* as additional argument (issue3397021)

2010-09-22 Thread dimich
I've made more changes, perhaps it's better if one of you guys took another look: On 2010/09/22 08:54:23, Yury Semikhatsky wrote: http://codereview.chromium.org/3397021/diff/1/5#newcode677 src/mark-compact.cc:677: RootMarkingVisitor(Heap* heap) Should be "explicit". Done. http://codereview.c

[v8-dev] Re: Issue 686 in v8: "With" and function scope

2010-09-22 Thread codesite-noreply
Comment #9 on issue 686 by vego...@chromium.org: "With" and function scope http://code.google.com/p/v8/issues/detail?id=686 Issue 875 has been merged into this issue. -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Issue 875 in v8: Closure problems with the Javascript "with" statement.

2010-09-22 Thread codesite-noreply
Updates: Status: Duplicate Labels: -Type-Bug -Priority-Medium Mergedinto: 686 Comment #1 on issue 875 by vego...@chromium.org: Closure problems with the Javascript "with" statement. http://code.google.com/p/v8/issues/detail?id=875 (No comment was entered for this chang

[v8-dev] Issue 875 in v8: Closure problems with the Javascript "with" statement.

2010-09-22 Thread codesite-noreply
Status: New Owner: Labels: Type-Bug Priority-Medium New issue 875 by asarg...@chromium.org: Closure problems with the Javascript "with" statement. http://code.google.com/p/v8/issues/detail?id=875 From original report in the Chromium bug tracker: http://code.google.com/p/chromium/issues/

[v8-dev] Re: Issue 164 in v8: Wrong order in Object properties interation

2010-09-22 Thread codesite-noreply
Comment #46 on issue 164 by phistuck: Wrong order in Object properties interation http://code.google.com/p/v8/issues/detail?id=164 Everyone, for your information - Internet Explorer 9 treats the property order of objects the same was as V8. So you better stop hanging onto the old implementa

[v8-dev] Re: Issue 164 in v8: Wrong order in Object properties interation

2010-09-22 Thread codesite-noreply
Comment #45 on issue 164 by atcrabtree: Wrong order in Object properties interation http://code.google.com/p/v8/issues/detail?id=164 Just a small folow up FWIW, per @jdunck and some obvious realization & agreement on my part, "Maintaining order raises insertion to O(log(n)) & higher const

[v8-dev] Re: Issue 164 in v8: Wrong order in Object properties interation

2010-09-22 Thread codesite-noreply
Comment #44 on issue 164 by atcrabtree: Wrong order in Object properties interation http://code.google.com/p/v8/issues/detail?id=164 After stumbling upon what is clearly evolved into a somewhat ridiculous standoff, I think it's pretty obvious the bias each side is arguing from. Those in f

[v8-dev] v8 source code build - sconstruct for python 3.1?

2010-09-22 Thread hyper_w
Or can you only build with python 2.x? I have tried 2to3.py but it still freaks out! -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Fix getOwnPropertyDescriptor() support for index properties. (issue3462005)

2010-09-22 Thread ricow
Slava, I am not a 100% clear on which cases we could hit with interceptors and what the semantics should be. But other than that LGTM http://codereview.chromium.org/3462005/diff/1/2 File src/objects.cc (right): http://codereview.chromium.org/3462005/diff/1/2#newcode5962 src/objects.cc:5962:

[v8-dev] Re: Dynamically determine optimal instance size.... (issue3329019)

2010-09-22 Thread vitalyr
LGTM with a few extra comments. http://codereview.chromium.org/3329019/diff/40001/39007 File src/ia32/assembler-ia32.h (right): http://codereview.chromium.org/3329019/diff/40001/39007#newcode598 src/ia32/assembler-ia32.h:598: void dec_b(const Operand& dst); Does the disassembler support this al

[v8-dev] Re: Unuse labels when bailing out of StubCompiler methods.... (issue3405022)

2010-09-22 Thread vitalyr
Good catch! LGTM http://codereview.chromium.org/3405022/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Unuse labels when bailing out of StubCompiler methods.... (issue3405022)

2010-09-22 Thread antonm
lgtm http://codereview.chromium.org/3405022/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Unuse labels when bailing out of StubCompiler methods.... (issue3405022)

2010-09-22 Thread kaznacheev
Reviewers: Vitaly, antonm, Description: Unuse labels when bailing out of StubCompiler methods. There are 3 methods where early return happen before the miss label is bound. This is harmless in Release mode, in Debug an assertion fails. Please review this at http://codereview.chromium.org/34050

[v8-dev] Re: Fix getOwnPropertyDescriptor() support for index properties. (issue3462005)

2010-09-22 Thread Vyacheslav Egorov
Thanks for comments Anton! Of course we can use an interceptor query (if it is present) to determine specific properties of intercepted properties. But mapping from this properties to property descriptor (especially if interceptor query is not defined) is somewhat unclear to me. Because intercept

[v8-dev] [v8] r5507 committed - Fix a build for Win64 with VS2008....

2010-09-22 Thread codesite-noreply
Revision: 5507 Author: ant...@chromium.org Date: Wed Sep 22 06:57:00 2010 Log: Fix a build for Win64 with VS2008. It complaints of type conversions. Review URL: http://codereview.chromium.org/3396015 http://code.google.com/p/v8/source/detail?r=5507 Modified: /branches/bleeding_edge/test/cctest

[v8-dev] Re: Fix a build for Win64 with VS2008. (issue3396015)

2010-09-22 Thread mnaganov
On 2010/09/22 12:18:45, antonm wrote: Misha, may you have a look? LGTM, thanks! http://codereview.chromium.org/3396015/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Refactored string search code. (issue3467010)

2010-09-22 Thread erik . corry
I'm not very keen on this one. The idea of having an array with constants to define what the various offsets mean seems like a second best solution compared with just having a set of different classes and virtual functions. Instead of the array you would have objects of the correct instanc

[v8-dev] Re: Fix getOwnPropertyDescriptor() support for index properties. (issue3462005)

2010-09-22 Thread antonm
Drive-bys http://codereview.chromium.org/3462005/diff/1/4 File src/runtime.cc (right): http://codereview.chromium.org/3462005/diff/1/4#newcode671 src/runtime.cc:671: elms->set(ENUMERABLE_INDEX, Heap::true_value()); I am not sure all intercepted elements are enumerable. You might prefer to use

[v8-dev] [v8] r5506 committed - Fix Win64 build with VS2008....

2010-09-22 Thread codesite-noreply
Revision: 5506 Author: ant...@chromium.org Date: Wed Sep 22 06:24:14 2010 Log: Fix Win64 build with VS2008. strlen returns size_t and VS2008 is now pretty picky about that. Review URL: http://codereview.chromium.org/3384019 http://code.google.com/p/v8/source/detail?r=5506 Modified: /branches/b

[v8-dev] Fix getOwnPropertyDescriptor() support for index properties. (issue3462005)

2010-09-22 Thread vegorov
Reviewers: Rico, Description: Fix getOwnPropertyDescriptor() support for index properties. Add support for index properties with getters, setters or indexed interceptors. BUG=http://code.google.com/p/v8/issues/detail?id=874 Please review this at http://codereview.chromium.org/3462005/show

[v8-dev] Refactored string search code. (issue3467010)

2010-09-22 Thread lrn
Reviewers: Erik Corry, Description: Refactored string search code. Made string search state explicit for repreated calls (a StringSearch class). Please review this at http://codereview.chromium.org/3467010/show Affected files: M src/SConscript M src/runtime.cc M src/string-search.h M

[v8-dev] Re: Fix Win64 build with VS2008. (issue3384019)

2010-09-22 Thread Anton Muhin
Sigh, I've grepped for \, if only I omit the last word boundary. Thanks a lot for pointing StrLength out. Fixing and submitting. yours, anton. On Wed, Sep 22, 2010 at 4:56 PM, wrote: > LGTM > > > http://codereview.chromium.org/3384019/diff/1/2 > File test/cctest/test-parsing.cc (right): > > h

[v8-dev] [v8] r5505 committed - Merge r5504 into 2.3 branch....

2010-09-22 Thread codesite-noreply
Revision: 5505 Author: l...@chromium.org Date: Wed Sep 22 05:59:55 2010 Log: Merge r5504 into 2.3 branch. Fix bug in RegExp cache handling of lastIndex (issue 52801). Review URL: http://codereview.chromium.org/3381017 http://code.google.com/p/v8/source/detail?r=5505 Added: /branches/2.3/test/mj

[v8-dev] Re: Merge r5504 into 2.3 branch. (issue3381017)

2010-09-22 Thread erik . corry
LGTM http://codereview.chromium.org/3381017/show -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] Re: Fix Win64 build with VS2008. (issue3384019)

2010-09-22 Thread lrn
LGTM http://codereview.chromium.org/3384019/diff/1/2 File test/cctest/test-parsing.cc (right): http://codereview.chromium.org/3384019/diff/1/2#newcode159 test/cctest/test-parsing.cc:159: tests[i], static_cast(strlen(tests[i]))); Could we use StrLength instead (which returns int)? (everywhere).

[v8-dev] Merge r5504 into 2.3 branch. (issue3381017)

2010-09-22 Thread lrn
Reviewers: Erik Corry, Description: Merge r5504 into 2.3 branch. Fix bug in RegExp cache handling of lastIndex (issue 52801). Please review this at http://codereview.chromium.org/3381017/show Affected files: M src/regexp.js M src/version.cc A test/mjsunit/regress/regress-52801.js -- v8-

[v8-dev] Fix Win64 build with VS2008. (issue3384019)

2010-09-22 Thread antonm
Reviewers: Lasse Reichstein, Message: Lasse, may have a look? Description: Fix Win64 build with VS2008. strlen returns size_t and VS2008 is now pretty picky about that. Please review this at http://codereview.chromium.org/3384019/show Affected files: M test/cctest/test-parsing.cc Index: t

[v8-dev] Fix a build for Win64 with VS2008. (issue3396015)

2010-09-22 Thread antonm
Reviewers: Michail Naganov, Message: Misha, may you have a look? Description: Fix a build for Win64 with VS2008. It complaints of type conversions. Please review this at http://codereview.chromium.org/3396015/show Affected files: M test/cctest/test-log-stack-tracer.cc Index: test/cctest/t

[v8-dev] Re: Dynamically determine optimal instance size.... (issue3329019)

2010-09-22 Thread kaznacheev
Addressed comments, waiting for Vitaly's LGTM. http://codereview.chromium.org/3329019/diff/15001/16007 File src/ia32/builtins-ia32.cc (right): http://codereview.chromium.org/3329019/diff/15001/16007#newcode193 src/ia32/builtins-ia32.cc:193: __ mov(edx, Factory::one_pointer_filler_map()); Is the

[v8-dev] [v8] r5504 committed - RegExp: Fix caching to correctly set lastIndex....

2010-09-22 Thread codesite-noreply
Revision: 5504 Author: l...@chromium.org Date: Wed Sep 22 04:22:57 2010 Log: RegExp: Fix caching to correctly set lastIndex. BUG: 52801 Review URL: http://codereview.chromium.org/3389022 http://code.google.com/p/v8/source/detail?r=5504 Added: /branches/bleeding_edge/test/mjsunit/regress/regres

[v8-dev] [v8] r5503 committed - Tagging version 2.4.5

2010-09-22 Thread codesite-noreply
Revision: 5503 Author: fschnei...@chromium.org Date: Wed Sep 22 02:46:09 2010 Log: Tagging version 2.4.5 http://code.google.com/p/v8/source/detail?r=5503 Added: /tags/2.4.5 -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev

[v8-dev] [v8] r5501 committed - Prepare push to trunk. Now working on version 2.4.6....

2010-09-22 Thread codesite-noreply
Revision: 5501 Author: fschnei...@chromium.org Date: Wed Sep 22 02:35:56 2010 Log: Prepare push to trunk. Now working on version 2.4.6. Review URL: http://codereview.chromium.org/3466009 http://code.google.com/p/v8/source/detail?r=5501 Modified: /branches/bleeding_edge/ChangeLog /branches/blee

[v8-dev] Re: Prepare push to trunk. Now working on version 2.4.6. (issue3466009)

2010-09-22 Thread vegorov
LGTM with small fixes. http://codereview.chromium.org/3466009/diff/1/2 File ChangeLog (right): http://codereview.chromium.org/3466009/diff/1/2#newcode2 ChangeLog:2: Performance improvements on all platforms. Blank line after version line. Line about performance is usually last. http://coderev

[v8-dev] Re: RegExp: Fix caching to correctly set lastIndex. (issue3389022)

2010-09-22 Thread erik . corry
LGTM http://codereview.chromium.org/3389022/diff/2001/3001 File src/regexp.js (right): http://codereview.chromium.org/3389022/diff/2001/3001#newcode286 src/regexp.js:286: if (this.global) this.lastIndex = lastMatchInfo[CAPTURE1]; We need a little comment here to explain why we only have to do t

[v8-dev] Prepare push to trunk. Now working on version 2.4.6. (issue3466009)

2010-09-22 Thread fschneider
Reviewers: Vyacheslav Egorov, Description: Prepare push to trunk. Now working on version 2.4.6. Please review this at http://codereview.chromium.org/3466009/show SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: M ChangeLog M src/version.cc Index: Ch

[v8-dev] Re: [Isolates] StaticVisitor::VisitPointer gets Heap* as additional argument (issue3397021)

2010-09-22 Thread yurys
LGTM with comments. http://codereview.chromium.org/3397021/diff/1/5 File src/mark-compact.cc (right): http://codereview.chromium.org/3397021/diff/1/5#newcode677 src/mark-compact.cc:677: RootMarkingVisitor(Heap* heap) Should be "explicit". http://codereview.chromium.org/3397021/diff/1/5#newcode

[v8-dev] RegExp: Fix caching to correctly set lastIndex. (issue3389022)

2010-09-22 Thread lrn
Reviewers: Erik Corry, Description: RegExp: Fix caching to correctly set lastIndex. BUG: 52801 Please review this at http://codereview.chromium.org/3389022/show Affected files: M src/regexp.js A test/mjsunit/regress/regress-52801.js Index: src/regexp.js diff --git a/src/regexp.js b/src/r