[v8-dev] Re: Implement tracing interface for v8 (issue 988893003 by fmea...@chromium.org)

2015-12-17 Thread littledan
On 2015/12/17 at 21:30:35, Dan Ehrenberg wrote: On 2015/12/17 at 18:48:42, commit-bot wrote: > Patchset 25 (id:??) landed as https://crrev.com/70a7c754bf3445a8b783b75ca2a7aa34cdeb080b > Cr-Commit-Position: refs/heads/master@{#32959} This breaks my interactive builds of V8. Oh sorry, this w

[v8-dev] Re: Implement tracing interface for v8 (issue 988893003 by fmea...@chromium.org)

2015-12-17 Thread littledan
On 2015/12/17 at 18:48:42, commit-bot wrote: Patchset 25 (id:??) landed as https://crrev.com/70a7c754bf3445a8b783b75ca2a7aa34cdeb080b Cr-Commit-Position: refs/heads/master@{#32959} This breaks my interactive builds of V8. https://codereview.chromium.org/988893003/ -- -- v8-dev mailing list

[v8-dev] Re: Implement sloppy-mode block-defined functions (Annex B 3.3) (issue 1332873003 by little...@chromium.org)

2015-09-17 Thread littledan
https://codereview.chromium.org/1332873003/diff/160001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1332873003/diff/160001/src/parser.cc#newcode4974 src/parser.cc:4974: for (auto delegate : *delegates) { On 2015/09/17 at 19:20:06, adamk wrote: With the renaming, I t

[v8-dev] Re: Implement sloppy-mode block-defined functions (Annex B 3.3) (issue 1332873003 by little...@chromium.org)

2015-09-17 Thread littledan
https://codereview.chromium.org/1332873003/diff/120001/src/ast.h File src/ast.h (right): https://codereview.chromium.org/1332873003/diff/120001/src/ast.h#newcode1276 src/ast.h:1276: class DelegateStatement final : public Statement { On 2015/09/17 at 18:44:36, adamk wrote: I thought this was goi

[v8-dev] Re: Implement sloppy-mode block-defined functions (Annex B 3.3) (issue 1332873003 by little...@chromium.org)

2015-09-17 Thread littledan
PTAL https://codereview.chromium.org/1332873003/diff/80001/test/mjsunit/harmony/block-sloppy-function.js File test/mjsunit/harmony/block-sloppy-function.js (right): https://codereview.chromium.org/1332873003/diff/80001/test/mjsunit/harmony/block-sloppy-function.js#newcode7 test/mjsunit/harmony/

[v8-dev] Re: Implement sloppy-mode block-defined functions (Annex B 3.3) (issue 1332873003 by little...@chromium.org)

2015-09-17 Thread littledan
Haven't figured out tests for this scoping issue, but fixed all the other review comments https://codereview.chromium.org/1332873003/diff/80001/src/ast.h File src/ast.h (right): https://codereview.chromium.org/1332873003/diff/80001/src/ast.h#newcode1273 src/ast.h:1273: // Delegates to another

[v8-dev] Re: Implement sloppy-mode block-defined functions (Annex B 3.3) (issue 1332873003 by little...@chromium.org)

2015-09-10 Thread littledan
Reviewers: adamk, rossberg, Description: Implement sloppy-mode block-defined functions (Annex B 3.3) ES2015 specifies very particular semantics for functions defined in blocks. In strict mode, it is simply a lexical binding scoped to that block. In sloppy mode, in addition to that lexical bin

[v8-dev] Re: ES6: Array.prototype.slice and friends should use ToLength instead of ToUint32 (issue 1309243003 by ape...@igalia.com)

2015-09-10 Thread littledan
lgtm Code looks good to me. I am still worried about performance though. Could you run some benchmarks which hit the path before committing? Either that or be prepared to back it out later when the regression becomes apparent. https://codereview.chromium.org/1309243003/ -- -- v8-dev mailing

[v8-dev] Re: [es6] Optimize String{Starts, Ends}With (issue 1324353002 by k...@skomski.com)

2015-09-08 Thread littledan
lgtm https://codereview.chromium.org/1324353002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: [es6] Optimize String{Starts, Ends}With (issue 1324353002 by k...@skomski.com)

2015-09-08 Thread littledan
Other than style, looks good to me. https://codereview.chromium.org/1324353002/diff/20001/src/string.js File src/string.js (right): https://codereview.chromium.org/1324353002/diff/20001/src/string.js#newcode1041 src/string.js:1041: return true; There's some code duplication between these two fu

[v8-dev] Re: Follow symlinks in test/mjsunit to allow linked test directories. (issue 1332463002 by bradnel...@google.com)

2015-09-04 Thread littledan
lgtm https://codereview.chromium.org/1332463002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Pulling in a gyp fix for wasm. (issue 1306753007 by bradnel...@google.com)

2015-09-04 Thread littledan
lgtm https://codereview.chromium.org/1306753007/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: [es6] Use SubString in String{Starts,Ends}With (issue 1321853006 by k...@skomski.com)

2015-09-04 Thread littledan
On 2015/09/04 at 18:27:11, Dan Ehrenberg wrote: On 2015/09/04 at 18:20:36, commit-bot wrote: > Dry run: Try jobs failed on following builders: > v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/5566) ** Presubmit Warnings ** k...

[v8-dev] Re: [es6] Use SubString in String{Starts,Ends}With (issue 1321853006 by k...@skomski.com)

2015-09-04 Thread littledan
On 2015/09/04 at 18:20:36, commit-bot wrote: Dry run: Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/5566) ** Presubmit Warnings ** k...@skomski.com is not in AUTHORS file. If you are a ne

[v8-dev] Re: [es6] Use SubString in String{Starts,Ends}With (issue 1321853006 by k...@skomski.com)

2015-09-04 Thread littledan
lgtm https://codereview.chromium.org/1321853006/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: [simd.js] Disable SIMD polyfill. (issue 1305923005 by gdee...@google.com)

2015-09-01 Thread littledan
I think you'll have to upload a separate, new patch to commit this. https://codereview.chromium.org/1305923005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group.

[v8-dev] Re: [simd.js] Disable SIMD polyfill. (issue 1305923005 by gdee...@google.com)

2015-09-01 Thread littledan
lgtm https://codereview.chromium.org/1305923005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Version 4.6.85.12 (cherry-pick) (issue 1305033005 by ad...@chromium.org)

2015-09-01 Thread littledan
lgtm https://codereview.chromium.org/1305033005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Stage sloppy let (issue 1321013005 by little...@chromium.org)

2015-09-01 Thread littledan
Reviewers: adamk, Description: Stage sloppy let Move the --harmony-sloppy-let flag to staging for further testing, and update test262 for the new passing tests. Also increase the strictness of the parser, even in sloppy mode, to disallow "new legacy compat" for for (let x = 5 in {}) {} which

[v8-dev] Re: Stage sloppy let (issue 1327483002 by little...@chromium.org)

2015-09-01 Thread littledan
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1324033002/ by little...@chromium.org. The reason for reverting is: Fails a test262 test with --always-opt.. https://codereview.chromium.org/1327483002/ -- -- v8-dev mailing list v8-dev@googlegroups.

[v8-dev] Revert of Stage sloppy let (issue 1324033002 by little...@chromium.org)

2015-09-01 Thread littledan
Reviewers: adamk, Message: Created Revert of Stage sloppy let Description: Revert of Stage sloppy let (patchset #7 id:120001 of https://codereview.chromium.org/1327483002/ ) Reason for revert: Fails a test262 test with --always-opt. Original issue's description: Stage sloppy let Move the -

[v8-dev] Re: Stage sloppy let (issue 1327483002 by little...@chromium.org)

2015-08-31 Thread littledan
Reviewers: adamk, Description: Stage sloppy let Move the --harmony-sloppy-let flag to staging for further testing, and update test262 for the new passing tests. Also increase the strictness of the parser, even in sloppy mode, to disallow "new legacy compat" for for (let x = 5 in {}) {} which

[v8-dev] Re: Make Date.prototype an ordinary object (issue 1317403002 by little...@chromium.org)

2015-08-31 Thread littledan
Reviewers: adamk, Description: Make Date.prototype an ordinary object This is a change for ES2015. Date objects have mutable state, so having a mutable prototype is bad for SES requirements, and it is an inconsistency from the typical ES2015 class style of objects BUG=v8:4004 LOG=Y R=adamk Ple

[v8-dev] Propagate switch statement value for 'eval' (issue 1309303006 by little...@chromium.org)

2015-08-28 Thread littledan
Reviewers: adamk, Description: Propagate switch statement value for 'eval' This patch changes the switch scope desugaring to create blocks which propagate their 'return value' for eval. BUG=v8:4399 R=adamk LOG=Y Please review this at https://codereview.chromium.org/1309303006/ Base URL: https

[v8-dev] Sloppy-mode let parsing (issue 1315673009 by little...@chromium.org)

2015-08-27 Thread littledan
Reviewers: adamk, vogelheim, Message: This was previously reviewed at https://codereview.chromium.org/1295883002 ; uploaded here because I couldn't get Rietveldt to resume a patch from a different checkout when there were conflicts in the cherry-pick. Compared to the last version, this version t

[v8-dev] Re: [simd.js] Disable SIMD polyfill. (issue 1305923005 by gdee...@google.com)

2015-08-27 Thread littledan
lgtm https://codereview.chromium.org/1305923005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-27 Thread littledan
On 2015/08/27 at 16:21:04, adamk wrote: Your reasoning re: ScopeInfo sounds right to me. Can you add a note to scopes.h explaining why the bit isn't needed on ScopeInfo? Also, could you add a few more tests (the ones suggested by Andreas)? In particular, tests for assignment and loading insid

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-26 Thread littledan
On 2015/08/27 at 01:40:49, Dan Ehrenberg wrote: Could we leave tracking nonlinear scopes in ScopeInfo for a future patch? This one brings the world further towards correctness as-is. And I'm not sure how to trigger a test case--everything I try just works. https://codereview.chromium.org/13

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-26 Thread littledan
Could we leave tracking nonlinear scopes in ScopeInfo for a future patch? This one brings the world further towards correctness as-is. And I'm not sure how to trigger a test case--everything I try just works. https://codereview.chromium.org/1312613003/diff/60001/src/full-codegen/full-codegen

[v8-dev] V8: Add SIMD store functions for Phase 1. (issue 1304183004 by gdee...@google.com)

2015-08-25 Thread littledan
Modulo the apparent test failure, looks good to me. https://codereview.chromium.org/1304183004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe f

[v8-dev] Re: [simd.js] Clean up bad merge in messages.js (issue 1315993002 by bbu...@chromium.org)

2015-08-25 Thread littledan
lgtm Oops! https://codereview.chromium.org/1315993002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails

[v8-dev] Re: Test262 roll to the 2015-8-25 version (issue 1317723003 by little...@chromium.org)

2015-08-25 Thread littledan
On 2015/08/26 at 00:40:26, adamk wrote: lgtm Looks like this was a lot easier than last time! Well I fixed something small upstream, but the big help was that there's been a minor backlog of code reviews :) https://codereview.chromium.org/1317723003/ -- -- v8-dev mailing list v8-dev@goo

[v8-dev] --harmony-sloppy-function depends on --harmony-sloppy (issue 1316773004 by little...@chromium.org)

2015-08-25 Thread littledan
Reviewers: adamk, Description: --harmony-sloppy-function depends on --harmony-sloppy The lack of marking this dependency led to a ClusterFuzz crash when sloppy-function was on but not sloppy. This case does not make sense. R=adamk LOG=N BUG=chromium:520891 Please review this at https://coderev

[v8-dev] Test262 roll to the 2015-8-25 version (issue 1317723003 by little...@chromium.org)

2015-08-25 Thread littledan
Reviewers: adamk, Description: Test262 roll to the 2015-8-25 version Please review this at https://codereview.chromium.org/1317723003/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (+2, -2 lines): M test/test262-es6/testcfg.py Index: test/test262-es6/testcfg.p

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-25 Thread littledan
https://codereview.chromium.org/1312613003/diff/40001/src/full-codegen/full-codegen.cc File src/full-codegen/full-codegen.cc (right): https://codereview.chromium.org/1312613003/diff/40001/src/full-codegen/full-codegen.cc#newcode1601 src/full-codegen/full-codegen.cc:1601: DCHECK(var->location() =

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-25 Thread littledan
https://codereview.chromium.org/1312613003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, sen

[v8-dev] Re: [es6] Fix computed property names in nested literals (issue 1307943007 by ad...@chromium.org)

2015-08-25 Thread littledan
lgtm Looks pretty straightforward! https://codereview.chromium.org/1307943007/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group a

[v8-dev] Re: V8: Add SIMD functions for Phase 1. (issue 1302133002 by gdee...@chromium.org)

2015-08-25 Thread littledan
lgtm https://codereview.chromium.org/1302133002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: [es6] Remaining cases of parameter scopes for sloppy eval (issue 1303013007 by rossb...@chromium.org)

2015-08-25 Thread littledan
lgtm https://codereview.chromium.org/1303013007/diff/1/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1303013007/diff/1/src/parser.cc#newcode4390 src/parser.cc:4390: CheckConflictingVarDeclarations(param_scope, CHECK_OK); Not new in this patch, but I'm wondering why

[v8-dev] Re: Version 4.6.85.5 (cherry-pick) (issue 1306723005 by ad...@chromium.org)

2015-08-25 Thread littledan
lgtm https://codereview.chromium.org/1306723005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Version 4.5.103.28 (cherry-pick) (issue 1308213003 by ad...@chromium.org)

2015-08-25 Thread littledan
lgtm https://codereview.chromium.org/1308213003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Unship TypedArray.map method (issue 1308713005 by little...@chromium.org)

2015-08-25 Thread littledan
Reviewers: adamk, Description: Unship TypedArray.map method The TypedArray.map method breaks a particular Chrome app, which conditionally monkey-patches in an unrelated function with the same name, but only if that property does not exist. The developer already has a fix, but it is not deploy

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-24 Thread littledan
https://codereview.chromium.org/1312613003/diff/20001/src/full-codegen/arm/full-codegen-arm.cc File src/full-codegen/arm/full-codegen-arm.cc (right): https://codereview.chromium.org/1312613003/diff/20001/src/full-codegen/arm/full-codegen-arm.cc#newcode1471 src/full-codegen/arm/full-codegen-arm.c

[v8-dev] Re: Ensure hole checks take place in switch statement scopes (issue 1312613003 by little...@chromium.org)

2015-08-24 Thread littledan
Reviewers: adamk, Message: The test still fails on TurboFan; I'm investigating. Description: Ensure hole checks take place in switch statement scopes Switch statements introduce their own scope for cases, but this scope is not necessarily executed in order, as the following function shows: s

[v8-dev] Re: [simd.js] Set --harmony-simd flag in test config. (issue 1312703003 by bbu...@chromium.org)

2015-08-24 Thread littledan
lgtm Yay for testing! https://codereview.chromium.org/1312703003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop recei

[v8-dev] Add a separate scope for switch (issue 1309163003 by little...@chromium.org)

2015-08-24 Thread littledan
Reviewers: adamk, Description: Add a separate scope for switch The ES2015 specification for switch statements 13.12.11 specifies that they get their own lexical scope. This patch introduces such a scope through a complex desugaring in terms of blocks, done so that Crankshaft does not have to be

[v8-dev] Translate AST to Hydrogen missing position (issue 1313443002 by little...@chromium.org)

2015-08-21 Thread littledan
Reviewers: Benedikt Meurer, Description: Translate AST to Hydrogen missing position This patch translates RelocInfo::kNoPosition to SourcePosition::Unknown() in constructing the Hydrogen graph from the parser's output. The translation is done to increase the flexibility of the parser to desugar

[v8-dev] Revert of Add a separate scope for switch (issue 1309043004 by little...@chromium.org)

2015-08-21 Thread littledan
Reviewers: adamk, Message: Created Revert of Add a separate scope for switch Description: Revert of Add a separate scope for switch (patchset #7 id:120001 of https://codereview.chromium.org/1293283002/ ) Reason for revert: Breaks cctest/test-cpu-profiler/SourceLocation on nosnap Original issue

[v8-dev] Re: Add a separate scope for switch (issue 1293283002 by little...@chromium.org)

2015-08-21 Thread littledan
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1309043004/ by little...@chromium.org. The reason for reverting is: Breaks cctest/test-cpu-profiler/SourceLocation on nosnap. https://codereview.chromium.org/1293283002/ -- -- v8-dev mailing list

[v8-dev] Re: V8: Add SIMD functions for Phase 1. (issue 1302133002 by gdee...@chromium.org)

2015-08-21 Thread littledan
- Unsigned int types should also have load and store functions - To test, try removing the code in the simdjs tests which loads the polyfill, and run the tests anyway. At this point, we should have all functions implemented, right? https://codereview.chromium.org/1302133002/ -- -- v8-dev mail

[v8-dev] Re: V8: Add SIMD functions for Phase 1. (issue 1302133002 by gdee...@chromium.org)

2015-08-21 Thread littledan
The code looks good, but could you add some tests that verify the behavior? This could be in the form of somehow verifying that the polyfill's tests are executing against your load functions, rather than the polyfill-provided ones. https://codereview.chromium.org/1302133002/ -- -- v8-dev ma

[v8-dev] Re: Add a separate scope for switch (issue 1293283002 by little...@chromium.org)

2015-08-21 Thread littledan
https://codereview.chromium.org/1293283002/diff/11/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1293283002/diff/11/src/parser.cc#newcode2982 src/parser.cc:2982: factory()->NewBlock(labels, 2, true, RelocInfo::kNoPosition); On 2015/08/21 at 01:19:08, adamk wro

[v8-dev] Re: Fix function scoping issue (issue 1303033003 by little...@chromium.org)

2015-08-21 Thread littledan
https://codereview.chromium.org/1303033003/diff/20001/test/mjsunit/regress/regress-520029.js File test/mjsunit/regress/regress-520029.js (right): https://codereview.chromium.org/1303033003/diff/20001/test/mjsunit/regress/regress-520029.js#newcode28 test/mjsunit/regress/regress-520029.js:28: try

[v8-dev] Re: Fix function scoping issue (issue 1303033003 by little...@chromium.org)

2015-08-21 Thread littledan
Reviewers: adamk, Description: Fix function scoping issue The parser has special behavior with respect to the bindings of inner functions in sloppy mode which are not at the top level of scopes. This behavior should be turned off when the --harmony-sloppy-function flag is set, as lexical scoping

[v8-dev] Re: Add a separate scope for switch (issue 1293283002 by little...@chromium.org)

2015-08-20 Thread littledan
Reviewers: adamk, Description: Add a separate scope for switch The ES2015 specification for switch statements 13.12.11 specifies that they get their own lexical scope. This patch introduces such a scope through a complex desugaring in terms of blocks, done so that Crankshaft does not have to be

[v8-dev] Re: [es6] Parameter scopes for sloppy eval (issue 1292753007 by rossb...@chromium.org)

2015-08-20 Thread littledan
lgtm Such a weird spec, but your implementation makes sense. I can't think of a simpler way. Why don't the default parameter direct evals just run within the function's existing var scope? (Or, why 1JS?!) https://codereview.chromium.org/1292753007/ -- -- v8-dev mailing list v8-dev@googlegrou

[v8-dev] Re: [simd.js] Update to spec version 0.8.2. (issue 1294513004 by bbu...@chromium.org)

2015-08-20 Thread littledan
lgtm https://codereview.chromium.org/1294513004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: The ArrayConcat builtin didn't respect @@isConcatSp (issue 1247243003 by little...@chromium.org)

2015-08-19 Thread littledan
Reviewers: cbruni, Message: I am a little hesitant to push ahead with this strategy until we have benchmarks to show it doesn't give a regression. In particular, I wanted to test the performance of this patch against the baseline, and also against just not having the builtin at all and going

[v8-dev] Re: Only evaluate length once in %TypedArray%.prototype.set (issue 1237583005 by ejcar...@chromium.org)

2015-08-18 Thread littledan
lgtm Wow, very well-tested. https://codereview.chromium.org/1237583005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop

[v8-dev] Re: Sloppy-mode let parsing (issue 1295883002 by little...@chromium.org)

2015-08-17 Thread littledan
https://codereview.chromium.org/1295883002/diff/60001/src/scanner.h File src/scanner.h (right): https://codereview.chromium.org/1295883002/diff/60001/src/scanner.h#newcode547 src/scanner.h:547: (current_.literal_chars == &literal_buffers_[0]) On 2015/08/17 at 18:24:39, adamk wrote: On 2015/08/1

[v8-dev] Re: Sloppy-mode let parsing (issue 1295883002 by little...@chromium.org)

2015-08-17 Thread littledan
I ran Octane locally three times with and without this patch. I measured a 2.3% regression caused by the patch in CodeLoad. Where do we go from here? I am having trouble figuring out a clean strategy for avoiding the conditional by pushing back all the way into the stream, though I can imagine s

[v8-dev] Re: Sloppy-mode let parsing (issue 1295883002 by little...@chromium.org)

2015-08-14 Thread littledan
https://codereview.chromium.org/1295883002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, sen

[v8-dev] Re: Sloppy-mode let parsing (issue 1295883002 by little...@chromium.org)

2015-08-14 Thread littledan
Actually, the performance runs didn't show a big regression: On v8_linux64_haswell_perf_try, CodeLoad was up 0.1, and on v8_linux32_perf_try, CodeLoad was down just 0.4%. However, these tests seem to be very volatile. Does anyone have an idea for getting more reliable results before submitti

[v8-dev] Re: Sloppy-mode let parsing (issue 1295883002 by little...@chromium.org)

2015-08-14 Thread littledan
Reviewers: adamk, Message: This is currently more of an RFC because of the indeterminate performance impact. It should not be merged before the 46 branch. Description: Sloppy-mode let parsing This patch makes 'let' a contextual keyword in both strict and sloppy mode. It behaves as a keyword whe

[v8-dev] Stage sloppy classes (issue 1288153003 by little...@chromium.org)

2015-08-12 Thread littledan
Reviewers: adamk, Description: Stage sloppy classes This patch puts --harmony-sloppy into staging. Now that let, lexically-scoped functions and ES2015 sloppy mode const semantics have been split off into separate flags, the change only enables classes in sloppy mode. BUG=v8:3305 R=adamk LOG=

[v8-dev] Re: Add class to existing lexical scoping tests (issue 1286923002 by little...@chromium.org)

2015-08-12 Thread littledan
Fixed the issues, thanks. https://codereview.chromium.org/1286923002/diff/1/test/mjsunit/es6/block-scoping.js File test/mjsunit/es6/block-scoping.js (right): https://codereview.chromium.org/1286923002/diff/1/test/mjsunit/es6/block-scoping.js#newcode282 test/mjsunit/es6/block-scoping.js:282: //a

[v8-dev] Re: Add class to existing lexical scoping tests (issue 1286923002 by little...@chromium.org)

2015-08-11 Thread littledan
Reviewers: adamk, Description: Add class to existing lexical scoping tests This patch strengthens testing of classes by verifying that the binding that they export externally follows block scoping, as opposed to var-style scoping. The tests are based on existing tests for let and const. R=adamk

[v8-dev] Re: Function declarations scope normally with --harmony_sloppy (issue 1282093002 by little...@chromium.org)

2015-08-11 Thread littledan
https://codereview.chromium.org/1282093002/diff/60001/src/flag-definitions.h File src/flag-definitions.h (right): https://codereview.chromium.org/1282093002/diff/60001/src/flag-definitions.h#newcode191 src/flag-definitions.h:191: V(harmony_block_function, "harmony function block scoping") \ On

[v8-dev] Re: Function declarations scope normally with --harmony_sloppy (issue 1282093002 by little...@chromium.org)

2015-08-11 Thread littledan
PTAL https://codereview.chromium.org/1282093002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from i

[v8-dev] Re: Let eval scope (issue 1274193004 by little...@chromium.org)

2015-08-11 Thread littledan
https://codereview.chromium.org/1274193004/diff/40001/src/parser.cc File src/parser.cc (right): https://codereview.chromium.org/1274193004/diff/40001/src/parser.cc#newcode2019 src/parser.cc:2019: declaration_scope->is_strict_eval_scope() || On 2015/08/11 at 01:17:43, adamk wrote: I think it wou

[v8-dev] Re: Add includes method to typed arrays (issue 1283703004 by dome...@chromium.org)

2015-08-11 Thread littledan
lgtm https://codereview.chromium.org/1283703004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Let eval scope (issue 1274193004 by little...@chromium.org)

2015-08-10 Thread littledan
24ad4d60092f69ed73c2d9d18aede7eb196 100644 --- a/test/mjsunit/harmony/block-conflicts-sloppy.js +++ b/test/mjsunit/harmony/block-conflicts-sloppy.js @@ -44,12 +44,10 @@ function TestAll(expected,s,opt_e) { var e = ""; var msg = s; if (opt_e) { e = opt_e; msg += opt_e; } - // TODO(

[v8-dev] Re: [es6] Add appropriate ToString call to String.prototype.normalize (issue 1282013002 by ad...@chromium.org)

2015-08-10 Thread littledan
lgtm https://codereview.chromium.org/1282013002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Function declarations scope normally with --harmony_sloppy (issue 1282093002 by little...@chromium.org)

2015-08-07 Thread littledan
On 2015/08/08 00:00:12, commit-bot: I haz the power wrote: Dry run: Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/8499) I should've waited for the tests to finish before mailing... I guess we

[v8-dev] Re: Function declarations scope normally with --harmony_sloppy (issue 1282093002 by little...@chromium.org)

2015-08-07 Thread littledan
Reviewers: adamk, Description: Function declarations scope normally with --harmony_sloppy In an initial attempt to implement sloppy mode lexical bindings, functions were made lexically scoped in sloppy mode. However, the ES2015 spec says that they need an additional hoisted var binding, and furt

[v8-dev] Delete outdated comment about a bug which was fixed three years ago (issue 1279203002 by little...@chromium.org)

2015-08-07 Thread littledan
Reviewers: adamk, Description: Delete outdated comment about a bug which was fixed three years ago R=adamk BUG=chromium:135066 LOG=N Please review this at https://codereview.chromium.org/1279203002/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (+1, -4 lines):

[v8-dev] Reland "Test262 roll" (issue 1273883005 by little...@chromium.org)

2015-08-07 Thread littledan
Reviewers: adamk, Description: Reland "Test262 roll" Reland patch originally reviewed at https://codereview.chromium.org/1268553003/ This new patch marks a test [PASS, FAIL] since it passes on some platforms. Please review this at https://codereview.chromium.org/1273883005/ Base URL: https

[v8-dev] Re: test262 roll (issue 1268553003 by little...@chromium.org)

2015-08-06 Thread littledan
Reviewers: adamk, Description: Update to latest test262 from 2015-07-31 Please review this at https://codereview.chromium.org/1268553003/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (+347, -166 lines): M test/test262-es6/test262-es6.status M test/test262-es6

[v8-dev] Re: V8: Add SIMD functions. (issue 1230343003 by bbu...@chromium.org)

2015-08-06 Thread littledan
lgtm https://codereview.chromium.org/1230343003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: V8: Add SIMD functions. (issue 1230343003 by bbu...@chromium.org)

2015-08-05 Thread littledan
Sorry for the long turnaround time. Just a couple changes needed; the denormal/reciprocal approximation stuff can wait for now. I'm happy with how you were able to use C macros to get rid of most of the duplication here. https://codereview.chromium.org/1230343003/diff/140001/src/harmony-simd.

[v8-dev] Class block scoping tests (issue 1254003004 by little...@chromium.org)

2015-07-24 Thread littledan
Reviewers: adamk, Description: Class block scoping tests Class bindings are mutable and lexically scoped, with TDZ semantics. They may not overlap with var bindings in the same scope. This patch adds tests for those properties. R=adamk BUG=3305 LOG=N Please review this at https://codereview.ch

[v8-dev] Split off a separate --harmony_sloppy_let flag (issue 1255013002 by little...@chromium.org)

2015-07-24 Thread littledan
Reviewers: adamk, Description: Split off a separate --harmony_sloppy_let flag --harmony_sloppy includes behavior to turn on sloppy mode lexical bindings. Before this patch, it also included a way to parse let which is likely web-incompatible (let is disallowed as an identifier). This patch split

[v8-dev] Re: Revert of Revert "In RegExp, lastIndex is read with ToLength, not ToInteger" (issue 1254723005 by machenb...@chromium.org)

2015-07-24 Thread littledan
On 2015/07/24 18:17:00, Dan Ehrenberg wrote: Are you sure you chose this patch correctly? When I run the failing test locally, including the patch that you reverted, it passes. Oh, sorry, following those precise instructions that Yang mailed, I can reproduce the error. And the rollback fixes it

[v8-dev] Re: Revert of Revert "In RegExp, lastIndex is read with ToLength, not ToInteger" (issue 1254723005 by machenb...@chromium.org)

2015-07-24 Thread littledan
Are you sure you chose this patch correctly? When I run the failing test locally, including the patch that you reverted, it passes. https://codereview.chromium.org/1254723005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message b

[v8-dev] Revert "In RegExp, lastIndex is read with ToLength, not ToInteger" (issue 1243053005 by little...@chromium.org)

2015-07-23 Thread littledan
Reviewers: adamk, Description: Revert "In RegExp, lastIndex is read with ToLength, not ToInteger" $toLength is slow, causing a 3.8%-8% regression in the Octane RegExp benchmark. Reverting this patch brings it back up. To make this change, we'll need a faster implementation fo $toLength. BUG=chr

[v8-dev] Re: Adding CHECKED_OUT_VERSION to .gitignore. (issue 1242863003 by bradnel...@google.com)

2015-07-23 Thread littledan
lgtm https://codereview.chromium.org/1242863003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: [es6] Array.prototype[Symbol.iterator].name should be 'values' (issue 1242623002 by ad...@chromium.org)

2015-07-22 Thread littledan
lgtm https://codereview.chromium.org/1242623002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Make simdjs tests redownload on a revision change. (issue 1240453003 by bradnel...@google.com)

2015-07-20 Thread littledan
lgtm https://codereview.chromium.org/1240453003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from

[v8-dev] Re: Make simdjs tests redownload on a revision change. (issue 1240453003 by bradnel...@google.com)

2015-07-16 Thread littledan
+1! https://codereview.chromium.org/1240453003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it

[v8-dev] Re: Test that TypedArray properties cannot be set in strict mode (issue 1232843005 by little...@chromium.org)

2015-07-16 Thread littledan
https://codereview.chromium.org/1232843005/diff/20001/test/mjsunit/es6/typedarray.js File test/mjsunit/es6/typedarray.js (right): https://codereview.chromium.org/1232843005/diff/20001/test/mjsunit/es6/typedarray.js#newcode421 test/mjsunit/es6/typedarray.js:421: var d = Object.getOwnPropertyDescr

[v8-dev] Split off ParserBase into src/parser-base.h (issue 1233913008 by little...@chromium.org)

2015-07-16 Thread littledan
Reviewers: adamk, Description: Split off ParserBase into src/parser-base.h Previously, the PreParser and ParserBase (used by both the preparser and the parser) where in the same file. Splitting them into separate files makes the code easier to navigate. R=adamk Please review this at https://co

[v8-dev] Re: Array.prototype.reverse should call [[HasProperty]] on elements before [[Get]] (issue 1238593003 by little...@chromium.org)

2015-07-16 Thread littledan
https://codereview.chromium.org/1238593003/diff/40001/src/array.js File src/array.js (left): https://codereview.chromium.org/1238593003/diff/40001/src/array.js#oldcode571 src/array.js:571: if (!IS_UNDEFINED(current_i) || low in array) { On 2015/07/16 22:08:13, adamk wrote: As discussed offline,

[v8-dev] Re: Array.prototype.reverse should call [[HasProperty]] on elements before [[Get]] (issue 1238593003 by little...@chromium.org)

2015-07-16 Thread littledan
PTAL https://codereview.chromium.org/1238593003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from i

[v8-dev] Re: Array.prototype.reverse should call [[HasProperty]] on elements before [[Get]] (issue 1238593003 by little...@chromium.org)

2015-07-16 Thread littledan
PTAL https://codereview.chromium.org/1238593003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from i

[v8-dev] Re: Array.prototype.reverse should call [[HasProperty]] on elements before [[Get]] (issue 1238593003 by little...@chromium.org)

2015-07-16 Thread littledan
On 2015/07/16 20:06:24, adamk wrote: I would tend to agree that this behavior change isn't going to break real code. Just slightly annoyed by all the spec churn (as we burn down the list of ES6 bugs). Seems strange to optimize for proxies here, if that's all it was, when it's a pessimizat

[v8-dev] Fix attributes of TypedArray properties (issue 1236033010 by little...@chromium.org)

2015-07-16 Thread littledan
Reviewers: adamk, Description: Fix attributes of TypedArray properties Some need to be configurable and are currently non-configurable, and vice versa. R=adamk Please review this at https://codereview.chromium.org/1236033010/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affec

[v8-dev] Re: [turbofan] Ship TF for try-catch statements. (issue 1216373002 by mstarzin...@chromium.org)

2015-07-16 Thread littledan
On 2015/07/16 15:39:51, commit-bot: I haz the power wrote: Patchset 1 (id:??) landed as https://crrev.com/1251d02e7bb2a13ae5cf6fda5d3403730d2ae12f Cr-Commit-Position: refs/heads/master@{#29708} Looks like this might have caused a regression: The octane gbemu-part1 test timed out. Could it be fr

[v8-dev] Array.prototype.reverse should call [[HasProperty]] on elements before [[Get]] (issue 1238593003 by little...@chromium.org)

2015-07-15 Thread littledan
getter deletes elements. ES5 put the +// [[HasElement]] after the [[Get]]. +// TODO(littledan): Add a test which triggers the sparse codepath. Below, the +// non-sparse codepath is tested. + +assertTrue(1 in Array.prototype.reverse.call( +{length:2, get 0(){delete this[0];}, 1: "b"

[v8-dev] Test that TypedArray properties cannot be set in strict mode (issue 1232843005 by little...@chromium.org)

2015-07-15 Thread littledan
Reviewers: adamk, Description: Test that TypedArray properties cannot be set in strict mode Properties like %TypedArray%.prototype.length have a getter and no setter. This test verifies that property, which was apparently not true in the past or had no test ensuring throwing in this case. BUG=v

[v8-dev] Re: In RegExp, lastIndex is read with ToLength, not ToInteger (issue 1241713004 by little...@chromium.org)

2015-07-14 Thread littledan
On 2015/07/15 00:35:52, adamk wrote: It looks to me like the test262 only exercises one of these code paths, though surprisingly it's the test() codepath (not exec(), despite the test262 directory). Can you also add a test for the exec() case? I have a pull request out at https://github.com/t

  1   2   >