[v8-dev] Re: Fix invalid use of int in Zone. (issue 924453002 by bmeu...@chromium.org)

2016-04-28 Thread jkummerow
https://codereview.chromium.org/924453002/diff/60001/src/zone.cc File src/zone.cc (right): https://codereview.chromium.org/924453002/diff/60001/src/zone.cc#newcode108 src/zone.cc:108: if (limit_ < position_ + size_with_redzone) { This is not just a cosmetic change! The addition can overflow

[v8-dev] Re: Replace C++ bitfields with our own BitFields (issue 700963002 by jkumme...@chromium.org)

2015-10-23 Thread jkummerow
On 2015/10/23 00:24:11, Nico (vacation Fri Oct 23) wrote: Zombie review comment! Can you expand on the "as discussed" bit a bit? The BUG= line is just some generic tracking bug, and the CL description doesn't really say what's happening here. I think it was because bool bitfields are

[v8-dev] Re: Remove --pretenuring-call-new (issue 1202173002 by mvstan...@chromium.org)

2015-09-16 Thread jkummerow
src/full-codegen/* LGTM. https://codereview.chromium.org/1202173002/ -- -- 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: [accessors] second-chance typed array field lookup (issue 1313493005 by fe...@indutny.com)

2015-09-10 Thread jkummerow
A few more minor comments. LGTM if you address those. I've also updated the CL description to reflect the new approach. https://codereview.chromium.org/1313493005/diff/60001/src/accessors.cc File src/accessors.cc (right):

[v8-dev] Re: [accessors] second-chance typed array field lookup (issue 1313493005 by fe...@indutny.com)

2015-09-09 Thread jkummerow
The original code is broken. Instead of making it worse (uglier, hackier, more brittle), let's fix it properly. Here's an example demonstrating failure: var a = new Uint8Array(4); Object.defineProperty(a, "length", {get: function() { return "blah"; }}); function getlength(x) { return x.length;

[v8-dev] Re: Crankshaft: consolidated element loads always deopted on seeing the hole (issue 1329793003 by mvstan...@chromium.org)

2015-09-09 Thread jkummerow
lgtm https://codereview.chromium.org/1329793003/diff/20001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/1329793003/diff/20001/src/hydrogen.cc#newcode7447 src/hydrogen.cc:7447: if (*map != isolate()->get_initial_js_array_map(map->elements_kind())) { Isn't this

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

2015-09-08 Thread jkummerow
LGTM with nits. Doing the !IS_UNDEFINED check at callsites is rather sad. It would be nice if $toInteger took care of that without deopting; but changing that might be more involved as it might have unexpected side effects.

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

2015-09-08 Thread jkummerow
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; On 2015/09/08 07:27:58, Dan Ehrenberg wrote: There's some code duplication between

[v8-dev] Re: Cache String.split not found results as well (issue 1308373005 by k...@skomski.com)

2015-09-08 Thread jkummerow
LGTM. Yang, is more caching something we want strategically? I wouldn't be surprised if this cache were a benchmark-specific hack that we'd rather get rid of. If you don't like this change, feel free to revert it. https://codereview.chromium.org/1308373005/ -- -- v8-dev mailing list

[v8-dev] Re: Vector ICs: No more patching for call ics. (issue 1332563003 by mvstan...@chromium.org)

2015-09-08 Thread jkummerow
src/ic/* LGTM, love it! https://codereview.chromium.org/1332563003/ -- -- 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: [test] Return target name on failures. (issue 1313353006 by machenb...@chromium.org)

2015-09-07 Thread jkummerow
lgtm https://codereview.chromium.org/1313353006/ -- -- 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: Fix two byte string-search on big endian platforms (issue 1324803003 by k...@skomski.com)

2015-09-07 Thread jkummerow
lgtm https://codereview.chromium.org/1324803003/ -- -- 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: AIX: Fix 'may be used uninitialized' compiler errors (issue 1323313003 by mbra...@us.ibm.com)

2015-09-07 Thread jkummerow
-danno +ulan for src/heap/ OWNERS approval. (Changes look fine, you can rubberstamp.) https://codereview.chromium.org/1323313003/ -- -- 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

[v8-dev] Re: Vector ICs: The Oracle needs to report feedback for the count op. (issue 1321993004 by mvstan...@chromium.org)

2015-09-07 Thread jkummerow
lgtm https://codereview.chromium.org/1321993004/ -- -- 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: Fix two byte string-search on big endian platforms (issue 1324803003 by k...@skomski.com)

2015-09-05 Thread jkummerow
https://codereview.chromium.org/1324803003/diff/1/src/string-search.h File src/string-search.h (right): https://codereview.chromium.org/1324803003/diff/1/src/string-search.h#newcode214 src/string-search.h:214: Max(static_cast(pattern_first_char & 0xFF), Why this change? "... & 0xFF" gives the

[v8-dev] Re: Fix two byte string-search on big endian platforms (issue 1324803003 by k...@skomski.com)

2015-09-05 Thread jkummerow
A lot faster since the low byte can be 0 and faster to search highest value byte But that depends on the input, right? For maximum speed you want to search for the most *unique* byte in the string, but you can't determine that without analyzing the string first. It's easy to construct

[v8-dev] Re: Fix a -Wsign-compare error under GCC 4.9.2. (issue 1322693004 by paul.l...@imgtec.com)

2015-09-05 Thread jkummerow
lgtm https://codereview.chromium.org/1322693004/ -- -- 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] Handle all InstanceTypes in BitsetType::Lub(). (issue 1302313013 by jkumme...@chromium.org)

2015-09-04 Thread jkummerow
Reviewers: Benedikt Meurer, Message: PTAL. https://codereview.chromium.org/1302313013/diff/1/src/types.cc File src/types.cc (right): https://codereview.chromium.org/1302313013/diff/1/src/types.cc#newcode293 src/types.cc:293: case FIXED_##TYPE##_ARRAY_TYPE: clang-format insists on this

[v8-dev] Re: Speedup stringsearch for two byte strings (issue 1303033012 by k...@skomski.com)

2015-09-04 Thread jkummerow
Thanks, LGTM. https://codereview.chromium.org/1303033012/ -- -- 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

[v8-dev] Isolate::PrintStack: restore default verbose object printing (issue 1311123005 by jkumme...@chromium.org)

2015-09-04 Thread jkummerow
Reviewers: ulan, Message: As discussed. Description: Isolate::PrintStack: restore default verbose object printing Please review this at https://codereview.chromium.org/1311123005/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (+2, -2 lines): M src/heap/heap.cc

[v8-dev] Re: Deactivate Parser Bookmarks (issue 1315173007 by habl...@chromium.org)

2015-09-04 Thread jkummerow
LGTM, but I'd prefer if vogelheim@ could take a look too. https://codereview.chromium.org/1315173007/ -- -- 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

[v8-dev] Re: Revert of Speedup stringsearch for two byte strings (issue 1331433002 by machenb...@chromium.org)

2015-09-04 Thread jkummerow
Ack, LGTM. Karl, the workflow for relanding is: (1) upload the original patch as a new codereview issue (either from a new local git branch, or after "git cl issue 0" to reset the associated review), issue description along the lines of: """ Reland 'Speedup string search for two byte strings'

[v8-dev] Re: [arm] Decrease the size of the assembler class by allocating buffers of pending constants on the he… (issue 1309903009 by ish...@chromium.org)

2015-09-04 Thread jkummerow
LGTM with nits. https://codereview.chromium.org/1309903009/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): https://codereview.chromium.org/1309903009/diff/1/src/arm/assembler-arm.cc#newcode3678 src/arm/assembler-arm.cc:3678: // Inline buffer is over, switch to

[v8-dev] Re: Reland: Speedup stringsearch for two byte strings (issue 1324453007 by k...@skomski.com)

2015-09-04 Thread jkummerow
Looks good. You can run the fuzzer locally: make x64.debug && tools/fuzz-harness.sh out/x64.debug/d8 We seem to have an MSan try bot, but the link to start a job on it disappeared when I triggered the CQ dry run. Hopefully it'll reappear when the dry run's finished.

[v8-dev] Re: [arm] Decrease the size of the assembler class by allocating buffers of pending constants on the he… (issue 1310863005 by ish...@chromium.org)

2015-09-04 Thread jkummerow
lgtm https://codereview.chromium.org/1310863005/ -- -- 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: Reland: Speedup stringsearch for two byte strings (issue 1324453007 by k...@skomski.com)

2015-09-04 Thread jkummerow
lgtm https://codereview.chromium.org/1324453007/ -- -- 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: [es6] Use SubString in String{Starts,Ends}With (issue 1321853006 by k...@skomski.com)

2015-09-04 Thread jkummerow
ACK. However, note that creating a substring causes an allocation, which isn't 100% ideal either. That said, incremental improvement is fine, and if we want even more speed in the future we can always think about further optimizations (like implementing substring comparisons in the

[v8-dev] Re: Ensure we have some space on the stack for compilation. (issue 1323243005 by ish...@chromium.org)

2015-09-04 Thread jkummerow
lgtm https://codereview.chromium.org/1323243005/ -- -- 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: Reland Vector ICs: platform support for vector-based stores. (issue 1319123004 by mvstan...@chromium.org)

2015-09-04 Thread jkummerow
lgtm https://codereview.chromium.org/1319123004/ -- -- 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: Remove obsolete functionality from the MacroAssemblers. (issue 1322843005 by bmeu...@chromium.org)

2015-09-04 Thread jkummerow
lgtm https://codereview.chromium.org/1322843005/ -- -- 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: Vector ICs: platform support for vector-based stores. (issue 1328603003 by mvstan...@chromium.org)

2015-09-03 Thread jkummerow
lgtm https://codereview.chromium.org/1328603003/ -- -- 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: Speedup stringsearch for two byte strings (issue 1303033012 by k...@skomski.com)

2015-09-03 Thread jkummerow
https://codereview.chromium.org/1303033012/diff/1/src/string-search.h File src/string-search.h (left): https://codereview.chromium.org/1303033012/diff/1/src/string-search.h#oldcode196 src/string-search.h:196: nit: keep this line

[v8-dev] Re: [Tick processor] Add an option to the tick-processor to print the summary. (issue 1318933004 by gdee...@google.com)

2015-09-03 Thread jkummerow
LGTM with comments. https://codereview.chromium.org/1318933004/diff/1/tools/tickprocessor.js File tools/tickprocessor.js (right): https://codereview.chromium.org/1318933004/diff/1/tools/tickprocessor.js#newcode461 tools/tickprocessor.js:461: var printAllTicks = this.printSummary_ == undefined

[v8-dev] Re: Vector ICs: platform support for vector-based stores. (issue 1328603003 by mvstan...@chromium.org)

2015-09-03 Thread jkummerow
Looks good. Some comments. https://codereview.chromium.org/1328603003/diff/40001/src/ast.cc File src/ast.cc (right): https://codereview.chromium.org/1328603003/diff/40001/src/ast.cc#newcode353 src/ast.cc:353: if (saw_computed_name && This is surprising: having seen a computed name previously

[v8-dev] Re: [es5] Class of object is "Function" if object has [[Call]]. (issue 1307943013 by bmeu...@chromium.org)

2015-09-03 Thread jkummerow
LGTM with nits. https://codereview.chromium.org/1307943013/diff/1/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (left): https://codereview.chromium.org/1307943013/diff/1/src/arm/lithium-codegen-arm.cc#oldcode2643 src/arm/lithium-codegen-arm.cc:2643: __ b(gt, is_false); For

[v8-dev] Re: Reduce impact of HParameter and OSR entry inputs on HPhi representation selection (issue 1296423002 by shiyu.zh...@intel.com)

2015-09-02 Thread jkummerow
From a stylistic point of view, this shouldn't just expose and call a helper in a completely unrelated class that happens to do something similar. Instead, as the condition becomes more complex, it should create its own helper function to clearly formulate the predicate, something like

[v8-dev] Re: [api] Relax CHECK for ArrayBuffer API abuse (issue 1302803003 by ad...@chromium.org)

2015-08-19 Thread jkummerow
lgtm https://codereview.chromium.org/1302803003/ -- -- 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 wasm v8-native-prototype behind a gyp define. (issue 1294543006 by bradnel...@google.com)

2015-08-18 Thread jkummerow
lgtm https://codereview.chromium.org/1294543006/ -- -- 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] [API] Check for NULL external data pointer in ArrayBuffer::New() (issue 1289373004 by jkumme...@chromium.org)

2015-08-18 Thread jkummerow
Reviewers: cbruni, Message: Please take a look, and CQ it if you like it. Description: [API] Check for NULL external data pointer in ArrayBuffer::New() Embedders must not provide invalid pointers for external backing stores. BUG=chromium:522128 LOG=n R=cbr...@chromium.org Please review this

[v8-dev] Re: Add presubmit check for header inclusion violation. (issue 1293273005 by mstarzin...@chromium.org)

2015-08-18 Thread jkummerow
lgtm https://codereview.chromium.org/1293273005/diff/1/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/1293273005/diff/1/PRESUBMIT.py#newcode145 PRESUBMIT.py:145: Attempts to prevent inclusion in inline headers into normal header s/ in / of /?

[v8-dev] Re: Add DCHECK that the script context table do not contain native scripts. (issue 1301533002 by yang...@chromium.org)

2015-08-17 Thread jkummerow
lgtm https://codereview.chromium.org/1301533002/ -- -- 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: fix StrDup memory leak in CcTest (issue 1287023002 by jianghua....@alibaba-inc.com)

2015-08-17 Thread jkummerow
lgtm https://codereview.chromium.org/1287023002/ -- -- 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] [test] Remove FLAG_always_opt special case in NotifyDeoptimized (issue 1284103006 by jkumme...@chromium.org)

2015-08-17 Thread jkummerow
Reviewers: Michael Starzinger, Message: PTAL. Description: [test] Remove FLAG_always_opt special case in NotifyDeoptimized Always unlink optimized code on deopt, even when FLAG_always_opt is present, because assumptions that the code made could have become invalid. BUG=v8:4375 LOG=n

[v8-dev] Re: Filter out slot buffer slots, that point to SMIs in dead objects. (issue 1286343004 by hpa...@chromium.org)

2015-08-17 Thread jkummerow
lgtm https://codereview.chromium.org/1286343004/ -- -- 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: Clean up native context slots and add new ones. (issue 1294583006 by yang...@chromium.org)

2015-08-14 Thread jkummerow
lgtm https://codereview.chromium.org/1294583006/ -- -- 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: Do not export natives to runtime via js builtins object. (issue 1293493003 by yang...@chromium.org)

2015-08-14 Thread jkummerow
lgtm https://codereview.chromium.org/1293493003/ -- -- 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: Remove grab-bag includes of v8.h from IC subsystem. (issue 1293793002 by mstarzin...@chromium.org)

2015-08-14 Thread jkummerow
LGTM! https://codereview.chromium.org/1293793002/ -- -- 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] [serializer] Move WeakFixedArray compaction to separate heap walk phase (issue 1290393002 by jkumme...@chromium.org)

2015-08-14 Thread jkummerow
Reviewers: Yang, Message: As discussed. For the Scripts' weak fixed array, it shouldn't matter when we clear them; I moved clearing those as well for consistency. Description: [serializer] Move WeakFixedArray compaction to separate heap walk phase This avoids discovering and compacting the

[v8-dev] Re: Add per-file OWNERS for x87-specific cctests. (issue 1290963005 by chunyang....@intel.com)

2015-08-14 Thread jkummerow
lgtm https://codereview.chromium.org/1290963005/ -- -- 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: No longer use js builtins object as receiver for calls into JS. (issue 1289203003 by yang...@chromium.org)

2015-08-14 Thread jkummerow
lgtm https://codereview.chromium.org/1289203003/ -- -- 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: Debugger: simplify calling into Javascript. (issue 1292533003 by yang...@chromium.org)

2015-08-13 Thread jkummerow
LGTM https://codereview.chromium.org/1292533003/diff/1/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/1292533003/diff/1/src/debug/debug.cc#newcode1959 src/debug/debug.cc:1959: HandleObject argv[] = {Script::GetWrapper(script)}; nit: we like spaces inside {}

[v8-dev] Re: Add more OWNERS and set noparent for some sub-directories. (issue 1285543002 by yang...@chromium.org)

2015-08-12 Thread jkummerow
lgtm https://codereview.chromium.org/1285543002/ -- -- 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: Debugger: load debugger builtins as normal native JS. (issue 1282793002 by yang...@chromium.org)

2015-08-12 Thread jkummerow
LGTM with nits. https://codereview.chromium.org/1282793002/diff/1/src/debug/mirrors.js File src/debug/mirrors.js (right): https://codereview.chromium.org/1282793002/diff/1/src/debug/mirrors.js#newcode20 src/debug/mirrors.js:20: // - ValueMirror nit: meaningful indentation got lost here

[v8-dev] Re: run-tests.py: warn when no tests were run (issue 1281313004 by ad...@chromium.org)

2015-08-11 Thread jkummerow
Frankly, I don't quite see why we need this, as the existing output conveys the same information: [00:00|% 0|+ 0|- 0]: Done But if you like that more explicit warning, fine, LGTM. https://codereview.chromium.org/1281313004/ -- -- v8-dev mailing list v8-dev@googlegroups.com

[v8-dev] Re: run-tests.py: warn when no tests were run (issue 1281313004 by ad...@chromium.org)

2015-08-11 Thread jkummerow
Adam, as I wrote, landing this is fine with me. Caitlin, you want cctest/test-parsing/* (or cctest or cctest/test-pars* or ...) now. Matching has been made exact, as opposed to implicitly prefix-based. The intention is that when you have tests foo and foobar, there's should be a way to

[v8-dev] Re: run-tests.py: warn when no tests were run (issue 1281313004 by ad...@chromium.org)

2015-08-11 Thread jkummerow
On 2015/08/11 15:31:02, caitp wrote: Thanks for the info --- When did this change? https://codereview.chromium.org/1251363002 https://codereview.chromium.org/1281313004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message

[v8-dev] Re: [runtime] Store constructor function index on primitive maps. (issue 1276533003 by bmeu...@chromium.org)

2015-08-11 Thread jkummerow
LGTM with comments that you have addressed already :-) https://codereview.chromium.org/1276533003/diff/1/src/arm/builtins-arm.cc File src/arm/builtins-arm.cc (right): https://codereview.chromium.org/1276533003/diff/1/src/arm/builtins-arm.cc#newcode446 src/arm/builtins-arm.cc:446:

[v8-dev] Re: Disable --global-var-shortcuts. (issue 1278353002 by yang...@chromium.org)

2015-08-10 Thread jkummerow
LGTM, let's hope the bots have no objections. https://codereview.chromium.org/1278353002/ -- -- 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

[v8-dev] Re: Rewrite Error.prototype.toString in C++. (issue 1281833002 by yang...@chromium.org)

2015-08-10 Thread jkummerow
LGTM with a nit. https://codereview.chromium.org/1281833002/diff/20001/src/messages.cc File src/messages.cc (right): https://codereview.chromium.org/1281833002/diff/20001/src/messages.cc#newcode396 src/messages.cc:396: // internally created error object, use that messingage property. Otherwise

[v8-dev] Re: Version 4.5.103.21 (cherry-pick) (issue 1284673002 by hpa...@chromium.org)

2015-08-10 Thread jkummerow
lgtm https://codereview.chromium.org/1284673002/ -- -- 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] Fasterify ICSlotCache (issue 1279763006 by jkumme...@chromium.org)

2015-08-08 Thread jkummerow
Reviewers: Yang, Description: Fasterify ICSlotCache Use a hash map instead of a list for faster lookups. BUG=chromium:517406 LOG=n R=yang...@chromium.org Please review this at https://codereview.chromium.org/1279763006/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected

[v8-dev] Re: Fasterify JSObject::UnregisterPrototypeUser (issue 1276353004 by jkumme...@chromium.org)

2015-08-08 Thread jkummerow
Thanks for the comments. I've templatized the compaction method. CQ it if you like it; otherwise I'd be happy to iterate. https://codereview.chromium.org/1276353004/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1276353004/diff/1/src/objects.cc#newcode7971

[v8-dev] Re: Fasterify ICSlotCache (issue 1279763006 by jkumme...@chromium.org)

2015-08-08 Thread jkummerow
The following script generates a test case that on my machine takes 3s before this CL and 270ms after: var result = [(function foo() {]; for (var i = 0; i 10; i++) { result.push( typeof x + i + ;); } result.push(})();); print(result.join(\n));

[v8-dev] Re: Fasterify JSObject::UnregisterPrototypeUser (issue 1276353004 by jkumme...@chromium.org)

2015-08-08 Thread jkummerow
Yang, I needed a workaround in the serializer to make sure remembered-slot-updating on compaction doesn't happen too late. Is patch set 3 acceptable, or should we do that differently? Is there maybe a pass over the heap before actual serialization that could take care of WeakFixedArray

[v8-dev] Re: Rewrite Error.prototype.toString in C++. (issue 1281833002 by yang...@chromium.org)

2015-08-08 Thread jkummerow
Looks good. I have a couple of nits, and one high-level comment: IIUC, this doesn't distinguish between getters and data properties. So if you had this: var error = /* some internally thrown error */ delete error.message; error.__proto__ = {message: My message}; error.toString(); then

[v8-dev] Re: Make run-tests.py warn when it's not testing anything (issue 1283513003 by ad...@chromium.org)

2015-08-08 Thread jkummerow
lgtm https://codereview.chromium.org/1283513003/ -- -- 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: Remove spammy Network distribution disabled message from default config (issue 1279613005 by ad...@chromium.org)

2015-08-08 Thread jkummerow
lgtm https://codereview.chromium.org/1279613005/ -- -- 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] [IC] Make SeededNumberDictionary::UpdateMaxNumberKey prototype aware (issue 1275363002 by jkumme...@chromium.org)

2015-08-07 Thread jkummerow
Reviewers: Yang, Description: [IC] Make SeededNumberDictionary::UpdateMaxNumberKey prototype aware Only walk the heap clearing KeyedStoreICs when the dictionary in question belongs to an object that's used as a prototype. This is a temporary mitigation until we have a way to clear such ICs

[v8-dev] Re: [test] Return variant and random seed on failures. (issue 1276853002 by machenb...@chromium.org)

2015-08-07 Thread jkummerow
lgtm https://codereview.chromium.org/1276853002/ -- -- 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.15 (cherry-pick) (issue 1272133002 by chunyang....@intel.com)

2015-08-07 Thread jkummerow
So this didn't go well at all. The commit description is wrong (this is 4.5.103.20 now), and there is no tag (presumably because the script tried to create the .15 tag which existed already). When backmerge script runs are outdated (because other merges went in in the meantime), they must be

[v8-dev] Fasterify JSObject::UnregisterPrototypeUser (issue 1276353004 by jkumme...@chromium.org)

2015-08-07 Thread jkummerow
Reviewers: Yang, Description: Fasterify JSObject::UnregisterPrototypeUser When a (prototype) map registers as a user of its own prototype, it now remembers the index in that prototype's registry where it is listed. This remembered index is used on un-registration to find the right slot to

[v8-dev] Re: [test] Make test filters platform-independent. (issue 1281453003 by machenb...@chromium.org)

2015-08-06 Thread jkummerow
LGTM!111eleven https://codereview.chromium.org/1281453003/ -- -- 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] Fix off-by-one in Array.concat's max index check (issue 1278703003 by jkumme...@chromium.org)

2015-08-06 Thread jkummerow
Reviewers: Yang, Description: Fix off-by-one in Array.concat's max index check The maximum valid index is strictly smaller than the maximum valid length. BUG=chromium:516592 LOG=y R=yang...@chromium.org Please review this at https://codereview.chromium.org/1278703003/ Base URL:

[v8-dev] Re: Remove some outdated/unused declarations. (issue 1265243003 by yang...@chromium.org)

2015-08-04 Thread jkummerow
lgtm https://codereview.chromium.org/1265243003/ -- -- 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: Enable gdb-jit for PPC64 on Linux (both big-endian and little-endian). (issue 1252913007 by dste...@us.ibm.com)

2015-08-03 Thread jkummerow
LGTM with nits. https://codereview.chromium.org/1252913007/diff/1/src/gdb-jit.cc File src/gdb-jit.cc (right): https://codereview.chromium.org/1252913007/diff/1/src/gdb-jit.cc#newcode396 src/gdb-jit.cc:396: nit: why this change?

[v8-dev] Re: Check whether a typed array was neutered before writing to it (issue 1261453004 by joc...@chromium.org)

2015-08-03 Thread jkummerow
LGTM. I can haz regression test? https://codereview.chromium.org/1261453004/ -- -- 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

[v8-dev] Re: Check whether a typed array was neutered before writing to it (issue 1261453004 by joc...@chromium.org)

2015-08-03 Thread jkummerow
On 2015/08/03 16:07:21, jochen wrote: On 2015/08/03 at 16:06:00, jkummerow wrote: LGTM. I can haz regression test? i tried, but it's more or less invisible. the array buffer is neutered one way or another, we don't have a good way to catch the write :-/ Hm, good point. OK then, let's

[v8-dev] Re: Array Builtin Refactoring: Creating API methods on ElementsAccessor (issue 1260283002 by cbr...@chromium.org)

2015-07-31 Thread jkummerow
LGTM with a few more minor comments. https://codereview.chromium.org/1260283002/diff/180001/src/elements.cc File src/elements.cc (right): https://codereview.chromium.org/1260283002/diff/180001/src/elements.cc#newcode1180 src/elements.cc:1180: // to_add is 0 and new_length = elms_len, so

[v8-dev] Version 4.4.63.26 (issue 1268883002 by jkumme...@chromium.org)

2015-07-31 Thread jkummerow
Reviewers: Benedikt Meurer, Description: Version 4.4.63.26 [crankshaft] Fix wrong bailout points in for-in loop body. This is a manual port of https://codereview.chromium.org/1183683004, which fixed the same issue on the 4.5 branch. BUG=chromium:514268 LOG=n R=bmeu...@chromium.org Please

[v8-dev] Re: Debugger: move implementation to a separate folder. (issue 1265923002 by yang...@chromium.org)

2015-07-31 Thread jkummerow
rubberstamp LGTM https://codereview.chromium.org/1265923002/ -- -- 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

[v8-dev] Re: Array Builtin Refactoring: Creating API methods on ElementsAccessor (issue 1260283002 by cbr...@chromium.org)

2015-07-30 Thread jkummerow
https://codereview.chromium.org/1260283002/diff/140001/src/builtins.cc File src/builtins.cc (right): https://codereview.chromium.org/1260283002/diff/140001/src/builtins.cc#newcode332 src/builtins.cc:332: int new_length = accessor-Push(array, elms_obj, args[0], 1, to_add, If you pass in args[1]

[v8-dev] Re: [cq] Increase commit burst delay. (issue 1258193003 by machenb...@chromium.org)

2015-07-30 Thread jkummerow
lgtm https://codereview.chromium.org/1258193003/ -- -- 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: Assign more bits to safepoint table offset. (issue 1265663002 by yang...@chromium.org)

2015-07-29 Thread jkummerow
LGTM. Thankfully the STATIC_ASSERT on the next line says that this change is safe :-) https://codereview.chromium.org/1265663002/ -- -- 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

[v8-dev] Revert of Reland^2 Enable loads and stores to global vars through property cell shortcuts installed into par... (issue 1260423002 by jkumme...@chromium.org)

2015-07-29 Thread jkummerow
Reviewers: Igor Sheludko, v8-mips-ports_googlegroups.com, Paul Lind, Benedikt Meurer, Message: Created Revert of Reland^2 Enable loads and stores to global vars through property cell shortcuts installed into par... Description: Revert of Reland^2 Enable loads and stores to global vars through

[v8-dev] Re: Reland^2 Enable loads and stores to global vars through property cell shortcuts installed into par… (issue 1254723004 by bmeu...@chromium.org)

2015-07-29 Thread jkummerow
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1260423002/ by jkumme...@chromium.org. The reason for reverting is: Suspected to cause Canary crashes. https://codereview.chromium.org/1254723004/ -- -- v8-dev mailing list v8-dev@googlegroups.com

[v8-dev] Re: Debugger: skip function prologue when computing redirect PC. (issue 1268463002 by yang...@chromium.org)

2015-07-29 Thread jkummerow
lgtm https://codereview.chromium.org/1268463002/ -- -- 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: [test] Fix for keying variants. (issue 1262113002 by machenb...@chromium.org)

2015-07-29 Thread jkummerow
lgtm https://codereview.chromium.org/1262113002/ -- -- 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: Revert of Reland^2 Enable loads and stores to global vars through property cell shortcuts installed into par… (issue 1260423002 by jkumme...@chromium.org)

2015-07-29 Thread jkummerow
https://codereview.chromium.org/1268463002/ should fix those failures, let's try CQing again... https://codereview.chromium.org/1260423002/ -- -- 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

[v8-dev] Re: Add per-file OWNERS for PPC-specific cctests (issue 1259013002 by mbra...@us.ibm.com)

2015-07-28 Thread jkummerow
LGTM. Please sort the list alphabetically. https://codereview.chromium.org/1259013002/ -- -- 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

[v8-dev] Fix prototype registration upon SlowToFast migration (issue 1263543004 by jkumme...@chromium.org)

2015-07-28 Thread jkummerow
Reviewers: ulan, Message: PTAL. https://codereview.chromium.org/1263543004/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/1263543004/diff/1/src/objects.cc#newcode4659 src/objects.cc:4659: if (maybe_old_prototype-IsJSObject()) { This if-block is new; the

[v8-dev] Re: [test] Key variant flags by variant name everywhere. (issue 1245623005 by machenb...@chromium.org)

2015-07-28 Thread jkummerow
Yes, I like this approach much better. LGTM. What's up with the v8_linux_rel bot? Looks like it doesn't have test262-es6. https://codereview.chromium.org/1245623005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because

[v8-dev] Re: Speed up cctest/test-debug/DebugBreakLoop. (issue 1262613002 by yang...@chromium.org)

2015-07-28 Thread jkummerow
lgtm https://codereview.chromium.org/1262613002/ -- -- 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: VectorICs: vector [keyed]store ic MISS handling infrastructure. (issue 1255883002 by mvstan...@chromium.org)

2015-07-27 Thread jkummerow
LGTM with a nit. https://codereview.chromium.org/1255883002/diff/1/src/ic/ia32/ic-ia32.cc File src/ic/ia32/ic-ia32.cc (right): https://codereview.chromium.org/1255883002/diff/1/src/ic/ia32/ic-ia32.cc#newcode763 src/ic/ia32/ic-ia32.cc:763: __ push(receiver); // which contains the return

[v8-dev] Re: VectorICs: vector [keyed]store ic MISS handling infrastructure. (issue 1255883002 by mvstan...@chromium.org)

2015-07-27 Thread jkummerow
Patch set 3 LGTM with a new nit. https://codereview.chromium.org/1255883002/diff/60001/src/arm/macro-assembler-arm.h File src/arm/macro-assembler-arm.h (right): https://codereview.chromium.org/1255883002/diff/60001/src/arm/macro-assembler-arm.h#newcode380 src/arm/macro-assembler-arm.h:380:

[v8-dev] Re: [test] Key variant flags by variant name everywhere. (issue 1245623005 by machenb...@chromium.org)

2015-07-27 Thread jkummerow
This feels like a *lot* of complexity. Dynamically selected callables that return callables that return iterables? At the very least, I'd like some more descriptive naming, to make it easier to understand what's going on, see comments below. Wouldn't the following design simplify things: -

[v8-dev] Re: [test] Let test runner only use exact matches of tests on the cmd-line. (issue 1251363002 by machenb...@chromium.org)

2015-07-23 Thread jkummerow
LGTM! Thanks for fixing this; this has been on my to-do list for a long time. https://codereview.chromium.org/1251363002/diff/1/tools/testrunner/local/testsuite.py File tools/testrunner/local/testsuite.py (right):

[v8-dev] Re: Move Full-codegen into its own folder. (issue 1248443003 by yang...@chromium.org)

2015-07-23 Thread jkummerow
LGTM https://codereview.chromium.org/1248443003/diff/1/src/full-codegen/full-codegen.h File src/full-codegen/full-codegen.h (right): https://codereview.chromium.org/1248443003/diff/1/src/full-codegen/full-codegen.h#newcode5 src/full-codegen/full-codegen.h:5: #ifndef V8_FULL_CODEGEN_H_ nit:

[v8-dev] Re: Reduce SharedFunctionInfo size. (issue 1252473002 by yang...@chromium.org)

2015-07-22 Thread jkummerow
Yay! But I'd like to harden this a bit if possible. Field sharing is dangerous business. https://codereview.chromium.org/1252473002/diff/1/src/objects-inl.h File src/objects-inl.h (right): https://codereview.chromium.org/1252473002/diff/1/src/objects-inl.h#newcode5479 src/objects-inl.h:5479:

[v8-dev] Re: Eliminate redundant descriptor ElementTransitionAndStoreDescriptor. (issue 1248973002 by mvstan...@chromium.org)

2015-07-22 Thread jkummerow
lgtm https://codereview.chromium.org/1248973002/ -- -- 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.10 (cherry-pick) (issue 1242293004 by paul.l...@imgtec.com)

2015-07-21 Thread jkummerow
lgtm https://codereview.chromium.org/1242293004/ -- -- 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

  1   2   3   4   5   6   7   8   9   10   >