[v8-dev] Re: Status of LoopPeeling

2018-09-10 Thread jarin via v8-dev
On Sunday, September 9, 2018 at 4:50:38 AM UTC+2, Bekket McClane wrote: > > Hi, > > I'm currently studying some graph reduction passes. > It seems that LoopPeeling is only used when certain flag is turn on. I'm > curious about the status and usage of this pass > The pass is on by default. >

Re: [v8-dev] A potential speedup for Promises and Async Functions

2017-09-04 Thread jarin via v8-dev
On Monday, September 4, 2017 at 1:43:11 PM UTC+2, Caitlin Potter wrote: > > > On Sep 4, 2017, at 4:08 AM, jarin via v8-dev <v8-...@googlegroups.com > > wrote: > > > > On Friday, September 1, 2017 at 6:29:50 PM UTC+2, Jakob Kummerow wrote: >> >> As Yan

Re: [v8-dev] A potential speedup for Promises and Async Functions

2017-09-04 Thread jarin via v8-dev
On Friday, September 1, 2017 at 6:29:50 PM UTC+2, Jakob Kummerow wrote: > > As Yang points out, microtasks are only run when the embedder asks us to, > and per spec this is only when the execution stack is otherwise empty. (The > exception to this is %RunMicroTasks() in mjsunit tests.) > So we

[v8-dev] Re: Make all registers addressable in Operands (issue 1287383003 by da...@chromium.org)

2015-09-24 Thread jarin
lgtm https://codereview.chromium.org/1287383003/ -- -- 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] When typing phi nodes, weaken union of integer constants to a range. (issue 1319703006 by n...@chromium.org)

2015-09-14 Thread jarin
lgtm with a nit. https://codereview.chromium.org/1319703006/diff/20001/src/compiler/typer.cc File src/compiler/typer.cc (right): https://codereview.chromium.org/1319703006/diff/20001/src/compiler/typer.cc#newcode562 src/compiler/typer.cc:562: Type* myinteger = Type::Intersect(type, integer,

[v8-dev] Construct Range rather than Constant when typing integers. (issue 1328193003 by n...@chromium.org)

2015-09-14 Thread jarin
lgtm https://codereview.chromium.org/1328193003/ -- -- 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: [runtime] Replace many buggy uses of %_CallFunction with %_Call. (issue 1325573004 by bmeu...@chromium.org)

2015-09-08 Thread jarin
lgtm https://codereview.chromium.org/1325573004/ -- -- 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: [calls] Consistent call protocol for calls. (issue 1330033002 by bmeu...@chromium.org)

2015-09-08 Thread jarin
lgtm https://codereview.chromium.org/1330033002/ -- -- 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: [stubs] Unify the various versions of [[Call]] with CallCallableStub. (issue 1311013008 by bmeu...@chromium.org)

2015-09-07 Thread jarin
looks good so far. https://codereview.chromium.org/1311013008/diff/80001/src/x64/builtins-x64.cc File src/x64/builtins-x64.cc (right): https://codereview.chromium.org/1311013008/diff/80001/src/x64/builtins-x64.cc#newcode1732 src/x64/builtins-x64.cc:1732: // TODO(bmeurer): This doesn't match

[v8-dev] Re: [stubs] Unify the various versions of [[Call]] with CallCallableStub. (issue 1311013008 by bmeu...@chromium.org)

2015-09-07 Thread jarin
lgtm https://codereview.chromium.org/1311013008/ -- -- 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: [turbofan] Greedy: split around calls heuristic. (issue 1328783002 by mtro...@chromium.org)

2015-09-04 Thread jarin
lgtm https://codereview.chromium.org/1328783002/ -- -- 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: Include individual deferred block ranges in splintering. (issue 1322703003 by mtro...@chromium.org)

2015-09-03 Thread jarin
lgtm https://codereview.chromium.org/1322703003/ -- -- 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: [Atomics] Remove support for atomic accesses on floating-point values. (issue 1318713007 by bi...@chromium.org)

2015-09-03 Thread jarin
lgtm with a nit. https://codereview.chromium.org/1318713007/diff/20001/src/runtime/runtime-atomics.cc File src/runtime/runtime-atomics.cc (right): https://codereview.chromium.org/1318713007/diff/20001/src/runtime/runtime-atomics.cc#newcode490 src/runtime/runtime-atomics.cc:490: case

[v8-dev] Re: Remove no-zone versions of intersection and union. (issue 1312893010 by n...@chromium.org)

2015-09-03 Thread jarin
lgtm, thanks! https://codereview.chromium.org/1312893010/ -- -- 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: [runtime] Introduce a dedicated JSIteratorResult type. (issue 1302173007 by bmeu...@chromium.org)

2015-09-03 Thread jarin
lgtm https://codereview.chromium.org/1302173007/ -- -- 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: [turbofan] Small fix in live range printer. (issue 1326643006 by mtro...@chromium.org)

2015-09-03 Thread jarin
lgtm https://codereview.chromium.org/1326643006/ -- -- 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] [turbofan] Do not force stack slot for eager deopt inputs. (issue 1307203005 by ja...@chromium.org)

2015-09-03 Thread jarin
Reviewers: Benedikt Meurer, Message: Benedikt, could you take a look, please? Description: [turbofan] Do not force stack slot for eager deopt inputs. R=bmeu...@chromium.org Please review this at https://codereview.chromium.org/1307203005/ Base URL:

[v8-dev] Re: [es6] Fix invalid ToObject in String/Array iterator next. (issue 1325023003 by bmeu...@chromium.org)

2015-09-02 Thread jarin
lgtm with a nit. https://codereview.chromium.org/1325023003/diff/1/src/array-iterator.js File src/array-iterator.js (right): https://codereview.chromium.org/1325023003/diff/1/src/array-iterator.js#newcode82 src/array-iterator.js:82: !HAS_DEFINED_PRIVATE(iterator, arrayIteratorNextIndexSymbol))

[v8-dev] Re: Remove harmony-atomics flag and collapse it into sharedarraybuffer flag (issue 1304163010 by bi...@chromium.org)

2015-09-01 Thread jarin
lgtm https://codereview.chromium.org/1304163010/ -- -- 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] Cleanup representation calculation for Phis in Crankshaft. (issue 1315193010 by ja...@chromium.org)

2015-09-01 Thread jarin
Reviewers: Benedikt Meurer, Message: Could you take a look, please? Description: Cleanup representation calculation for Phis in Crankshaft. This replaces the counters for use representations with simple tracking of most-general representation seen so far. R=bmeu...@chromium.org BUG= Please

[v8-dev] Re: Revert "Revert of [turbofan] greedy: heuristic for memory operands (issue 1314423006 by mtro...@chromium.org)

2015-09-01 Thread jarin
lgtm, although I do not fully understand why there is the call to FindOptimalSplitPos after we find a valid split position. https://codereview.chromium.org/1314423006/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because

[v8-dev] Re: Version 4.6.85.9 (cherry-pick) (issue 1326463002 by mvstan...@chromium.org)

2015-08-31 Thread jarin
On 2015/08/31 06:06:30, mvstanton wrote: lgtm (rubber-stamp) https://codereview.chromium.org/1326463002/ -- -- 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: Crankshaft is now able to compile top level code even if there is a ScriptContext. (issue 1317383002 by ish...@chromium.org)

2015-08-31 Thread jarin
lgtm with some non-blocking questions. https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc File src/full-codegen/arm/full-codegen-arm.cc (right): https://codereview.chromium.org/1317383002/diff/60001/src/full-codegen/arm/full-codegen-arm.cc#newcode247

[v8-dev] Re: [turbofan] Re-wire greedy. (issue 1320363002 by mtro...@chromium.org)

2015-08-31 Thread jarin
lgtm https://codereview.chromium.org/1320363002/ -- -- 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: [Atomics] Remove support for atomic accesses on floating-point values. (issue 1318713007 by bi...@chromium.org)

2015-08-31 Thread jarin
On 2015/08/31 22:09:51, binji wrote: The latest spec no longer supports atomic floats. It looks like there have been something strange going on with CompareExchangeSeqCst on Windows. https://codereview.chromium.org/1318713007/ -- -- v8-dev mailing list v8-dev@googlegroups.com

[v8-dev] Re: Crankshaft is now able to compile top level code even if there is a ScriptContext. (issue 1317383002 by ish...@chromium.org)

2015-08-31 Thread jarin
lgtm. https://codereview.chromium.org/1317383002/ -- -- 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: [turbofan] Live Range unit tests (issue 1315113003 by mtro...@chromium.org)

2015-08-31 Thread jarin
lgtm https://codereview.chromium.org/1315113003/ -- -- 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: Signal a blocked futex if the isolate is interrupted; don't busy-wait (issue 1230303005 by bi...@chromium.org)

2015-08-21 Thread jarin
On 2015/08/20 23:16:13, binji wrote: On 2015/08/20 at 05:19:58, jarin wrote: On 2015/08/19 17:36:23, binji wrote: https://codereview.chromium.org/1230303005/diff/120001/src/execution.cc File src/execution.cc (right): https://codereview.chromium.org/1230303005/diff/120001/src

[v8-dev] Re: [simd] Introduce SIMD types (as classes) (issue 1303863002 by rossb...@chromium.org)

2015-08-20 Thread jarin
lgtm https://codereview.chromium.org/1303863002/ -- -- 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] [turbofan] Do not optimize with-context allocation in global code. (issue 1292383007 by ja...@chromium.org)

2015-08-19 Thread jarin
be NumberConstant(0) if the closure is global code + // (rather than a function). We exclude that case here. + // TODO(jarin) Find a better way to check that the closure is a function. + if (FLAG_turbo_allocate input_type-Is(Type::Receiver()) + closure-opcode() != IrOpcode::kNumberConstant

[v8-dev] Re: Signal a blocked futex if the isolate is interrupted; don't busy-wait (issue 1230303005 by bi...@chromium.org)

2015-08-19 Thread jarin
()) { On 2015/08/19 at 05:26:05, Jarin wrote: Could we perhaps pull the waiting() check into NotifyWake? Then the waiting accessors could be private (and perhaps we could even pull the waiting_ flag into the critical section and make it non-atomic). My thought here was to do a quick check

[v8-dev] Re: [turbofan] Do not optimize with-context allocation in global code. (issue 1292383007 by ja...@chromium.org)

2015-08-19 Thread jarin
https://codereview.chromium.org/1292383007/diff/1/src/compiler/js-typed-lowering.cc File src/compiler/js-typed-lowering.cc (right): https://codereview.chromium.org/1292383007/diff/1/src/compiler/js-typed-lowering.cc#newcode1238 src/compiler/js-typed-lowering.cc:1238: Node* const closure =

[v8-dev] Re: [simd.js] Macro-ize more SIMD code. (issue 1302513004 by bbu...@chromium.org)

2015-08-18 Thread jarin
lgtm https://codereview.chromium.org/1302513004/ -- -- 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: Signal a blocked futex if the isolate is interrupted; don't busy-wait (issue 1230303005 by bi...@chromium.org)

2015-08-18 Thread jarin
lgtm with a question. https://codereview.chromium.org/1230303005/diff/120001/src/execution.cc File src/execution.cc (right): https://codereview.chromium.org/1230303005/diff/120001/src/execution.cc#newcode418 src/execution.cc:418: if (isolate_-futex_wait_list_node()-waiting()) { Could we

[v8-dev] Re: [turbofan]: Fix bug in register hinting (issue 1289313003 by da...@chromium.org)

2015-08-17 Thread jarin
lgtm. Thanks! https://codereview.chromium.org/1289313003/ -- -- 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: [turbofan] Handle void return in simplified-lowering.cc. (issue 1296933002 by tit...@chromium.org)

2015-08-17 Thread jarin
lgtm https://codereview.chromium.org/1296933002/ -- -- 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] Macro-ize more SIMD code. (issue 1293533003 by bbu...@chromium.org)

2015-08-17 Thread jarin
lgtm. I cannot shake the feeling that the hydrogen part could look much better if we had a better way to write else-if cascades. https://codereview.chromium.org/1293533003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message

[v8-dev] Re: [turbofan] Support unboxed float and double stack parameters and add tests. (issue 1291113003 by tit...@chromium.org)

2015-08-17 Thread jarin
lgtm. However, I am not a big fan of the 'if (Node* node = ...)' pattern, especially when there is a 'node' variable in the outer scope, so it can be easily misread as if (node == ...)'. https://codereview.chromium.org/1291113003/ -- -- v8-dev mailing list v8-dev@googlegroups.com

[v8-dev] Re: [d8] Fix flakiness when calling quit() with isolates (issue 1294913005 by bi...@chromium.org)

2015-08-17 Thread jarin
lgtm https://codereview.chromium.org/1294913005/ -- -- 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] [turbofan] Remove the output_index field that was unused in Node::Use. (issue 1294913003 by ja...@chromium.org)

2015-08-17 Thread jarin
Reviewers: Michael Starzinger, Message: Could you take a look, please? Description: [turbofan] Remove the output_index field that was unused in Node::Use. BUG= Please review this at https://codereview.chromium.org/1294913003/ Base URL: https://chromium.googlesource.com/v8/v8.git@master

[v8-dev] Re: [turbofan]: Unify referencing of stack slots (issue 1261923007 by da...@chromium.org)

2015-08-16 Thread jarin
almost lgtm. https://codereview.chromium.org/1261923007/diff/290027/src/compiler/frame.h File src/compiler/frame.h (right): https://codereview.chromium.org/1261923007/diff/290027/src/compiler/frame.h#newcode125 src/compiler/frame.h:125: ++spilled_callee_register_slot_count_ += count; How about

[v8-dev] Re: Bug in bitfield in Node.h

2015-08-16 Thread jarin
Looking at the code closer, the OutputIndexField is never really used. Perhaps we can remove this... Thanks for reporting! - Jaro. On Sunday, August 16, 2015 at 3:26:12 AM UTC+2, Aaron Gray wrote: Hi, I am pretty sure I have found a bug in Node.have on line 232 in OutputIndexField it

[v8-dev] Re: [strong] Simplify (and sortof optimize) string addition for strong mode. (issue 1287203002 by bmeu...@chromium.org)

2015-08-13 Thread jarin
lgtm with a nit and a question. https://codereview.chromium.org/1287203002/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/1287203002/diff/1/src/hydrogen.cc#newcode10907 src/hydrogen.cc:10907: if (left_type-Is(Type::String())) { Could not you say here if

[v8-dev] Re: [runtime] Remove useless IN builtin. (issue 1295433002 by bmeu...@chromium.org)

2015-08-13 Thread jarin
lgtm https://codereview.chromium.org/1295433002/ -- -- 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: [turbofan] Propagate representation information from call descriptors in SimplifiedLowering. (issue 1292033002 by tit...@chromium.org)

2015-08-13 Thread jarin
lgtm https://codereview.chromium.org/1292033002/ -- -- 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: Use TimeTicks instead of Time in FutexEmulation::Wait. (issue 1285723003 by bi...@chromium.org)

2015-08-11 Thread jarin
lgtm https://codereview.chromium.org/1285723003/ -- -- 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 [turbofan] Various fixes to allow unboxed doubles as arguments in registers and on the stack. (issue 1284853002 by yang...@chromium.org)

2015-08-11 Thread jarin
lgtm https://codereview.chromium.org/1284853002/ -- -- 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: Signal a blocked futex if the isolate is interrupted; don't busy-wait (issue 1230303005 by bi...@chromium.org)

2015-08-11 Thread jarin
One question below. Still, could you explain why it deadlocked? https://codereview.chromium.org/1230303005/diff/80001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1230303005/diff/80001/src/futex-emulation.cc#newcode138 src/futex-emulation.cc:138:

[v8-dev] [Atomics] Fix compile failure in clang/win build in runtime-atomics.cc (issue 1287543004 by bi...@chromium.org)

2015-08-11 Thread jarin
lgtm https://codereview.chromium.org/1287543004/ -- -- 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: [turbofan] Drop V8_TURBOFAN_BACKEND and V8_TURBOFAN_TARGET defines. (issue 1282763002 by bmeu...@chromium.org)

2015-08-10 Thread jarin
lgtm https://codereview.chromium.org/1282763002/ -- -- 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: [runtime] Simplify TO_INT32/TO_UINT32 abstract operations. (issue 1275013004 by bmeu...@chromium.org)

2015-08-09 Thread jarin
lgtm https://codereview.chromium.org/1275013004/ -- -- 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: [runtime] Remove premature optimization from ToPrimitive. (issue 1278873007 by bmeu...@chromium.org)

2015-08-09 Thread jarin
lgtm https://codereview.chromium.org/1278873007/ -- -- 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: [turbofan] Stand-alone deferred block splitting. (issue 1271703002 by mtro...@chromium.org)

2015-08-06 Thread jarin
I think I understand now how the spilling works, but it is very subtle. Once you add explanatory comments, it will be good to go. What are the performance numbers? https://codereview.chromium.org/1271703002/diff/80001/src/compiler/register-allocator.cc File src/compiler/register-allocator.cc

[v8-dev] Re: [turbofan] Stand-alone deferred block splitting. (issue 1271703002 by mtro...@chromium.org)

2015-08-06 Thread jarin
lgtm https://codereview.chromium.org/1271703002/ -- -- 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: [turbofan] Debug-time helpers for regalloc data structures (issue 1280483002 by mtro...@chromium.org)

2015-08-05 Thread jarin
lgtm https://codereview.chromium.org/1280483002/ -- -- 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: [turbofan] Various fixes to allow unboxed doubles as arguments in registers and on the stack. (issue 1263033004 by tit...@chromium.org)

2015-08-05 Thread jarin
lgtm https://codereview.chromium.org/1263033004/diff/60001/src/compiler/raw-machine-assembler.h File src/compiler/raw-machine-assembler.h (right): https://codereview.chromium.org/1263033004/diff/60001/src/compiler/raw-machine-assembler.h#newcode482 src/compiler/raw-machine-assembler.h:482:

[v8-dev] Re: [turbofan] Stand-alone deferred block splitting. (issue 1271703002 by mtro...@chromium.org)

2015-08-05 Thread jarin
(assigned, spill_operand); On 2015/08/04 20:34:46, Mircea Trofin wrote: On 2015/08/04 19:39:43, Jarin wrote: Still confused about this - where do we actually spill the deferred block with a call? This move seems to be only inserted for ranges that are not spilled. Correct. It sets up the stage

[v8-dev] Re: [turbofan] Handle void returns in instruction selector. (issue 1269183002 by tit...@chromium.org)

2015-08-04 Thread jarin
lgtm https://codereview.chromium.org/1269183002/diff/1/src/compiler/instruction-selector.cc File src/compiler/instruction-selector.cc (right): https://codereview.chromium.org/1269183002/diff/1/src/compiler/instruction-selector.cc#newcode1004 src/compiler/instruction-selector.cc:1004:

[v8-dev] Re: [turbofan] Preprocessing live ranges before register allocation. (issue 1256313003 by mtro...@chromium.org)

2015-08-04 Thread jarin
lgtm https://codereview.chromium.org/1256313003/ -- -- 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: [d8 Workers] Throw when calling Worker constructor without new (issue 1260813008 by bi...@chromium.org)

2015-08-04 Thread jarin
lgtm https://codereview.chromium.org/1260813008/ -- -- 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: [turbofan] Stand-alone deferred block splitting. (issue 1271703002 by mtro...@chromium.org)

2015-08-04 Thread jarin
Unfortunately, I am quite confused about this change, so I have bunch of questions. https://codereview.chromium.org/1271703002/diff/60001/src/compiler/move-optimizer.cc File src/compiler/move-optimizer.cc (right):

[v8-dev] Re: [turbofan] Preprocessing live ranges before register allocation. (issue 1256313003 by mtro...@chromium.org)

2015-08-03 Thread jarin
On 2015/07/31 16:09:00, Mircea Trofin wrote: Quick update: Benedikt is on vacation; I have just returned from one. Today, I have been mostly catching up on email and fixing/triaging urgent issues. I should be able to review your CLs tomorrow. https://codereview.chromium.org/1256313003/ --

[v8-dev] [deoptimizer] Do not pass arguments markers to the debugger. (issue 1263333002 by ja...@chromium.org)

2015-08-03 Thread jarin
Reviewers: Yang, Message: Could take a look, please? It turns out the arguments object screw-up was caused by my deoptimizer refactoring. Description: [deoptimizer] Do not pass arguments markers to the debugger. This fixes a bug introduced by r28826 (Unify decoding of deoptimization

[v8-dev] Re: [turbofan] Various fixes to allow unboxed doubles as arguments in registers and on the stack. (issue 1263033004 by tit...@chromium.org)

2015-08-03 Thread jarin
Looking good so far. https://codereview.chromium.org/1263033004/diff/1/src/compiler/x64/code-generator-x64.cc File src/compiler/x64/code-generator-x64.cc (right): https://codereview.chromium.org/1263033004/diff/1/src/compiler/x64/code-generator-x64.cc#newcode1224

[v8-dev] [deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction. (issue 1264483008 by ja...@chromium.org)

2015-08-03 Thread jarin
Reviewers: Yang, Message: Could you take a look, please? Description: [deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction. The calculation now takes into account the size of the arguments object if it is present in the optimized frame. (Yang, many thanks

[v8-dev] Re: [deoptimizer] Fix the frame size calculation for debugger-inspectable frame construction. (issue 1264483008 by ja...@chromium.org)

2015-08-03 Thread jarin
https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc File src/deoptimizer.cc (right): https://codereview.chromium.org/1264483008/diff/1/src/deoptimizer.cc#newcode160 src/deoptimizer.cc:160: data-ArgumentsStackHeight(deoptimization_index)-value() * kPointerSize; On 2015/08/03

[v8-dev] Re: [d8 worker] Fix regression when serializing very large arraybuffer (issue 1264723002 by bi...@chromium.org)

2015-08-02 Thread jarin
lgtm https://codereview.chromium.org/1264723002/ -- -- 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 ExternalArray, derived types, and element kinds (issue 1254623002 by joc...@chromium.org)

2015-07-27 Thread jarin
lgtm https://codereview.chromium.org/1254623002/diff/60001/test/cctest/compiler/test-run-properties.cc File test/cctest/compiler/test-run-properties.cc (right): https://codereview.chromium.org/1254623002/diff/60001/test/cctest/compiler/test-run-properties.cc#newcode25

[v8-dev] Re: [d8] Fix tsan bugs (issue 1252623003 by bi...@chromium.org)

2015-07-26 Thread jarin
lgtm. Love it! https://codereview.chromium.org/1252623003/ -- -- 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: [d8 Workers] Fix bug creating Worker during main thread termination (issue 1255563002 by bi...@chromium.org)

2015-07-26 Thread jarin
lgtm. https://codereview.chromium.org/1255563002/diff/40001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1255563002/diff/40001/src/d8.cc#newcode780 src/d8.cc:780: } How about factoring out the extraction of the worker from the args into a helper function? Also, could you

[v8-dev] Re: Remove code for no longer present external array on any object API (issue 1249723005 by joc...@chromium.org)

2015-07-23 Thread jarin
lgtm https://codereview.chromium.org/1249723005/ -- -- 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] Signal a blocked futex if the isolate is interrupted; don't busy-wait (issue 1230303005 by bi...@chromium.org)

2015-07-23 Thread jarin
I thought it looked good to me, but the bots disagree. Could you take a look? (It would be great if you could describe what went wrong.) https://codereview.chromium.org/1230303005/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this

[v8-dev] Re: [d8] Fix tsan bugs (issue 1252623003 by bi...@chromium.org)

2015-07-23 Thread jarin
lgtm with bunch of questions. https://codereview.chromium.org/1252623003/diff/20001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1252623003/diff/20001/src/d8.cc#newcode338 src/d8.cc:338: options.set_script_executed(true); It looks like the set_script_executed could be

[v8-dev] Re: [turbofan] Remove bloated GraphBuilder base class. (issue 1252093002 by mstarzin...@chromium.org)

2015-07-23 Thread jarin
lgtm https://codereview.chromium.org/1252093002/ -- -- 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: [turbofan]: Elide extra move when accessting stack or frame register (issue 1242303005 by da...@chromium.org)

2015-07-23 Thread jarin
lgtm. I am wondering whether the extra complexity is going to pay for itself. The special casing OperandGenerator::Use looks funky (but I do not know of a better way to do this). https://codereview.chromium.org/1242303005/ -- -- v8-dev mailing list v8-dev@googlegroups.com

[v8-dev] Re: [d8 Workers] Fix bug creating Worker during main thread termination (issue 1255563002 by bi...@chromium.org)

2015-07-23 Thread jarin
One question. If this is answered, it looks good. https://codereview.chromium.org/1255563002/diff/20001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1255563002/diff/20001/src/d8.cc#newcode1842 src/d8.cc:1842: state_ = TERMINATED; What if we call quit() from one worker and

[v8-dev] Re: [turbofan] Add some documenting comments to RawMachineAssembler. (issue 1248263003 by mstarzin...@chromium.org)

2015-07-23 Thread jarin
lgtm https://codereview.chromium.org/1248263003/ -- -- 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: Store offset between fixed typed array base and data start in object (issue 1248483007 by joc...@chromium.org)

2015-07-22 Thread jarin
Ouch, my eyes! lgtm. https://codereview.chromium.org/1248483007/diff/20001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/1248483007/diff/20001/src/heap/heap.cc#newcode4012 src/heap/heap.cc:4012: kHeapObjectTag), Can't you say

[v8-dev] Re: [turbofan] Deferred block spilling heuristic - first step. (issue 1242123006 by mtro...@chromium.org)

2015-07-22 Thread jarin
https://codereview.chromium.org/1242123006/diff/40001/src/compiler/greedy-allocator.cc File src/compiler/greedy-allocator.cc (right): https://codereview.chromium.org/1242123006/diff/40001/src/compiler/greedy-allocator.cc#newcode87 src/compiler/greedy-allocator.cc:87: auto instr =

[v8-dev] Re: Use a lock in pages to synchronize sweeper threads to allow others to wait on concurrently swept pa… (issue 1244353002 by hpa...@chromium.org)

2015-07-22 Thread jarin
lgtm. Oh boy, this is ugly. At this point, can't we just use a standard lock + condition variable mechanism to protect and wait for the page's sweeping status? Would it be too slow? E.g., in Heap::CanMoveObjectStart we would have to lock inside the SweepingCompleted check. This funky

[v8-dev] Re: [turbofan] Unit tests for live range conflicts. (issue 1219063017 by mtro...@chromium.org)

2015-07-21 Thread jarin
lgtm https://codereview.chromium.org/1219063017/ -- -- 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: [turbofan] Unit tests for live range conflicts. (issue 1219063017 by mtro...@chromium.org)

2015-07-21 Thread jarin
https://codereview.chromium.org/1219063017/diff/180001/src/compiler/coalesced-live-ranges.cc File src/compiler/coalesced-live-ranges.cc (right): https://codereview.chromium.org/1219063017/diff/180001/src/compiler/coalesced-live-ranges.cc#newcode66 src/compiler/coalesced-live-ranges.cc:66:

[v8-dev] Re: Add support for adding an external and a tagged pointer (issue 1244693002 by joc...@chromium.org)

2015-07-20 Thread jarin
Scary stuff. It looks ok, but fairly brittle. Adding mstarzinger@ to have a look. https://codereview.chromium.org/1244693002/diff/20001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right):

[v8-dev] Re: Add support for adding an external and a tagged pointer (issue 1244693002 by joc...@chromium.org)

2015-07-20 Thread jarin
lgtm. Even though it would be even better if - all the DCHECKs took into account the new flag. - the flag was explicitly passed on the HAdd constructor (ideally as an enum, with the default value being the normal add) and then DCHECK that the representations are in sync with the constructor

[v8-dev] Re: Add support for adding an external and a tagged pointer (issue 1244693002 by joc...@chromium.org)

2015-07-20 Thread jarin
Looks even better, I still have two suggestions, but it is up to you. https://codereview.chromium.org/1244693002/diff/80001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/1244693002/diff/80001/src/hydrogen-instructions.h#newcode4918

[v8-dev] Re: Add support for adding an external and a tagged pointer (issue 1244693002 by joc...@chromium.org)

2015-07-20 Thread jarin
looks good with one final nit https://codereview.chromium.org/1244693002/diff/120001/src/mips/lithium-mips.cc File src/mips/lithium-mips.cc (right): https://codereview.chromium.org/1244693002/diff/120001/src/mips/lithium-mips.cc#newcode1625 src/mips/lithium-mips.cc:1625:

[v8-dev] Re: Atomics Futex API (issue 1208933006 by bi...@chromium.org)

2015-07-17 Thread jarin
lgtm. (but we should revisit the busy wait at some point.) https://codereview.chromium.org/1208933006/diff/240001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/240001/src/futex-emulation.cc#newcode63 src/futex-emulation.cc:63: //

[v8-dev] Re: d8: Leak context_mutex_ so it will never be destroyed while locked (issue 1240553003 by bi...@chromium.org)

2015-07-16 Thread jarin
lgtm. https://codereview.chromium.org/1240553003/ -- -- 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: Atomics Futex API (issue 1208933006 by bi...@chromium.org)

2015-07-16 Thread jarin
On 2015/07/15 18:50:53, jochen wrote: yeah, it's essentially the same as while (1) {} - nothing gets rendered, and after a while you'll get the tab unresponsive, kill? dialog. With while(1) {} you still get stack checks, so you can interrupt (e.g., from the debugger or some such). Here,

[v8-dev] Re: Atomics Futex API (issue 1208933006 by bi...@chromium.org)

2015-07-15 Thread jarin
Adding jochen to discuss the blocking of main thread. https://codereview.chromium.org/1208933006/diff/180001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/180001/src/futex-emulation.cc#newcode80 src/futex-emulation.cc:80:

[v8-dev] Re: Fix runtime-atomics for Win 10 SDK and remove volatile (issue 1228063005 by brucedaw...@chromium.org)

2015-07-15 Thread jarin
lgtm. While I agree that volatile has no useful meaning for multi-threading, it does prevents some wilder compiler optimizations, and in the absence of any other synchronization primitives it might be better than nothing. I think it is fine to leave out 'volatile' here because the

[v8-dev] Re: [osr] Increase Code::profiler_ticks to 28 bits. (issue 1224173003 by bmeu...@chromium.org)

2015-07-13 Thread jarin
lgtm https://codereview.chromium.org/1224173003/ -- -- 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: d8 workers: make sure Shell::Quit is only called once (issue 1230403003 by bi...@chromium.org)

2015-07-13 Thread jarin
lgtm. Even though it might be better to put the 'once' variable on the Shell class (the Chrome build likes to complain about static initialization). https://codereview.chromium.org/1230403003/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You

[v8-dev] Re: d8: Fix some TSAN bugs (issue 1226143003 by bi...@chromium.org)

2015-07-13 Thread jarin
lgtm https://codereview.chromium.org/1226143003/diff/60001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1226143003/diff/60001/src/d8.cc#newcode1693 src/d8.cc:1693: if (base::NoBarrier_CompareAndSwap(join_called_, false, true) == false) { It looks like join_called_ is

[v8-dev] In Atomics API, convert operands to numbers before calling runtime. (issue 1232243002 by bi...@chromium.org)

2015-07-12 Thread jarin
lgtm https://codereview.chromium.org/1232243002/diff/1/test/mjsunit/harmony/atomics.js File test/mjsunit/harmony/atomics.js (right): https://codereview.chromium.org/1232243002/diff/1/test/mjsunit/harmony/atomics.js#newcode166 test/mjsunit/harmony/atomics.js:166: [false, true,

[v8-dev] Re: [arm] CheckConstPool between TurboFan instructions. (issue 1232343002 by bmeu...@chromium.org)

2015-07-12 Thread jarin
lgtm https://codereview.chromium.org/1232343002/ -- -- 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 more uses of the deprecated EnumSet template class. (issue 1229233002 by bmeu...@chromium.org)

2015-07-10 Thread jarin
lgtm https://codereview.chromium.org/1229233002/ -- -- 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: d8: Fix some TSAN bugs (issue 1226143003 by bi...@chromium.org)

2015-07-10 Thread jarin
https://codereview.chromium.org/1226143003/diff/1/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/1226143003/diff/1/src/d8.cc#newcode1703 src/d8.cc:1703: case STOPPED: Why do we want to retry when STOPPED? Actually, I am even confused why we are trying to go through the

[v8-dev] Re: Atomics Futex API (issue 1208933006 by bi...@chromium.org)

2015-07-10 Thread jarin
First batch of comments. https://codereview.chromium.org/1208933006/diff/160001/src/futex-emulation.cc File src/futex-emulation.cc (right): https://codereview.chromium.org/1208933006/diff/160001/src/futex-emulation.cc#newcode18 src/futex-emulation.cc:18: FutexWaitList

[v8-dev] Re: Fix cluster-fuzz found regression with d8 Workers (issue 1220193004 by bi...@chromium.org)

2015-07-08 Thread jarin
lgtm https://codereview.chromium.org/1220193004/ -- -- 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   >