[v8-dev] Re: Add a type for objects with typed properties. (issue 1217803004 by bradnel...@google.com)

2016-03-10 Thread titzer
On 2015/07/01 17:47:23, rossberg wrote: On 2015/07/01 12:16:57, bradn wrote: > Some other type system questions: > > * Should Function(R, S, T0, T1...) types be unionable with each other? (I.e. can > I use them to express the overloaded nature of Math.abs etc?) Some care will be > required

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

2015-09-24 Thread titzer
LGTM other than the previous comment. 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

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

2015-09-24 Thread titzer
https://codereview.chromium.org/1287383003/diff/31/test/mjsunit/regress/regress-crbug-513507.js File test/mjsunit/regress/regress-crbug-513507.js (right): https://codereview.chromium.org/1287383003/diff/31/test/mjsunit/regress/regress-crbug-513507.js#newcode22 test/mjsunit/regress/regres

[v8-dev] Re: Use type information to eliminate unnecessary bitwise-and operations. (issue 1095063002 by dtc...@scieneer.com)

2015-09-17 Thread titzer
On 2015/09/13 12:10:03, dougc wrote: On 2015/04/20 12:20:40, titzer wrote: > https://codereview.chromium.org/1095063002/diff/1/src/compiler/js-typed-lowering.cc > File src/compiler/js-typed-lowering.cc (right): > > https://codereview.chromium.org/1095063002/diff/1/src/compi

[v8-dev] Re: When parsing inner functions, try to allocate in a temporary Zone (issue 1304923004 by conr...@chromium.org)

2015-09-09 Thread titzer
https://codereview.chromium.org/1304923004/diff/60001/src/ast.h File src/ast.h (right): https://codereview.chromium.org/1304923004/diff/60001/src/ast.h#newcode3280 src/ast.h:3280: : zone_(ast_value_factory->zone()), Can we rename this zone to be clearer as well? https://codereview.chromium.org/

[v8-dev] [turbofan] support for Int64 in CheckedLoad/CheckedStore on 64-bit platforms. (issue 1310323006 by tit...@chromium.org)

2015-09-03 Thread titzer
Reviewers: Benedikt Meurer, Description: [turbofan] support for Int64 in CheckedLoad/CheckedStore on 64-bit platforms. This is to support WebAssembly 64-bit ints in the short term, since it currently uses CheckedLoad/CheckedStore for accesses to the memory. In the long run, we'll change this

[v8-dev] Re: Eliminate use of CompilationInfo in several AstVisitor descendants. (issue 1318823010 by bradnel...@google.com)

2015-09-01 Thread titzer
lgtm other than existential questions https://codereview.chromium.org/1318823010/diff/20001/src/ast-expression-visitor.h File src/ast-expression-visitor.h (right): https://codereview.chromium.org/1318823010/diff/20001/src/ast-expression-visitor.h#newcode25 src/ast-expression-visitor.h:25: Funct

[v8-dev] Re: Add asm.js typer + validator. (issue 1322773002 by bradnel...@google.com)

2015-09-01 Thread titzer
lgtm with comment https://codereview.chromium.org/1322773002/diff/110001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1322773002/diff/110001/src/typing-asm.cc#newcode44 src/typing-asm.cc:44: AsmTyper::AsmTyper(CompilationInfo* info) Can we make this take a P

[v8-dev] Re: Add asm.js typer + validator. (issue 1322773002 by bradnel...@google.com)

2015-08-31 Thread titzer
https://codereview.chromium.org/1322773002/diff/60001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1322773002/diff/60001/src/typing-asm.cc#newcode343 src/typing-asm.cc:343: RECURSE(VisitWithExpectation(stmt->cond(), cache_.kInt32, Is this also true? I thought

[v8-dev] Re: Refactor type collector testing macros. (issue 1319983004 by bradnel...@google.com)

2015-08-31 Thread titzer
lgtm https://codereview.chromium.org/1319983004/ -- -- 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: Refactor type collector testing macros. (issue 1319983004 by bradnel...@google.com)

2015-08-31 Thread titzer
https://codereview.chromium.org/1319983004/diff/40001/test/cctest/expression-type-collector-macros.h File test/cctest/expression-type-collector-macros.h (right): https://codereview.chromium.org/1319983004/diff/40001/test/cctest/expression-type-collector-macros.h#newcode17 test/cctest/expression-

[v8-dev] Re: Drop region parameter to Unbounded, as it can be done without. (issue 1322003002 by bradnel...@google.com)

2015-08-31 Thread titzer
lgtm https://codereview.chromium.org/1322003002/ -- -- 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 unsafe Unique constructor private. (issue 1326493002 by mstarzin...@chromium.org)

2015-08-31 Thread titzer
lgtm https://codereview.chromium.org/1326493002/ -- -- 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: Refactor type collector testing macros. (issue 1319983004 by bradnel...@google.com)

2015-08-31 Thread titzer
https://codereview.chromium.org/1319983004/diff/20001/test/cctest/expression-type-collector-macros.h File test/cctest/expression-type-collector-macros.h (right): https://codereview.chromium.org/1319983004/diff/20001/test/cctest/expression-type-collector-macros.h#newcode17 test/cctest/expression-

[v8-dev] Re: Add asm.js typer + validator. (issue 1322773002 by bradnel...@google.com)

2015-08-31 Thread titzer
https://codereview.chromium.org/1322773002/diff/40001/src/typing-asm.cc File src/typing-asm.cc (right): https://codereview.chromium.org/1322773002/diff/40001/src/typing-asm.cc#newcode59 src/typing-asm.cc:59: #define RECURSE_EXPR(expr, expected_type, msg) \ Can these four macros be

[v8-dev] Re: Treat the x*1 generated by parsing a unary + as containing a dot. (issue 1306683003 by bradnel...@google.com)

2015-08-31 Thread titzer
lgtm https://codereview.chromium.org/1306683003/ -- -- 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: MIPS64: Fix alignment issue in test-run-native-calls. (issue 1323663003 by paul.l...@imgtec.com)

2015-08-29 Thread titzer
Aha, looks like it was just the output buffer which was unaligned. lgtm https://codereview.chromium.org/1323663003/ -- -- 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" gro

[v8-dev] Re: [turbofan] Remove usage of Unique from graph. (issue 1314473007 by mstarzin...@chromium.org)

2015-08-28 Thread titzer
lgtm ich mag https://codereview.chromium.org/1314473007/ -- -- 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 email

[v8-dev] Re: [heap] Move IdentityMap data structure out of heap. (issue 1320503004 by mstarzin...@chromium.org)

2015-08-28 Thread titzer
On 2015/08/28 11:54:47, Michael Starzinger wrote: Ben: PTAL. Ross: FYI. LGTM https://codereview.chromium.org/1320503004/ -- -- 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-d

[v8-dev] Re: Use ShouldEnsureSpaceForLazyDeopt more. (issue 1310283005 by tit...@chromium.org)

2015-08-28 Thread titzer
On 2015/08/27 18:06:15, titzer wrote: PTAL https://codereview.chromium.org/1310283005/ -- -- 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 unsubs

[v8-dev] Re: [Interpreter] Add support for loading literals from the constant pool. (issue 1321663003 by rmcil...@chromium.org)

2015-08-27 Thread titzer
On 2015/08/27 19:55:36, Michael Starzinger wrote: https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpreter/test-bytecode-generator.cc File test/cctest/interpreter/test-bytecode-generator.cc (right): https://codereview.chromium.org/1321663003/diff/40001/test/cctest/interpr

[v8-dev] Re: Spliting out TyperCache into ZoneTypeCache to share with AsmTyper. (issue 1307093006 by bradnel...@google.com)

2015-08-26 Thread titzer
lgtm https://codereview.chromium.org/1307093006/ -- -- 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: PPC: [turbofan] Unify referencing of stack slots (issue 1321553002 by mbra...@us.ibm.com)

2015-08-26 Thread titzer
lgtm https://codereview.chromium.org/1321553002/ -- -- 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: PPC: Fix "[turbofan] Support unboxed float and double stack parameters." (issue 1315183002 by mbra...@us.ibm.com)

2015-08-26 Thread titzer
On 2015/08/26 19:21:38, mtbrandyberry wrote: On 2015/08/26 19:18:37, titzer wrote: > https://codereview.chromium.org/1315183002/diff/1/src/compiler/ppc/code-generator-ppc.cc > File src/compiler/ppc/code-generator-ppc.cc (right): > > https://codereview.chromium.org/131518300

[v8-dev] Re: PPC: Fix "[turbofan] Support unboxed float and double stack parameters." (issue 1315183002 by mbra...@us.ibm.com)

2015-08-26 Thread titzer
https://codereview.chromium.org/1315183002/diff/1/src/compiler/ppc/code-generator-ppc.cc File src/compiler/ppc/code-generator-ppc.cc (right): https://codereview.chromium.org/1315183002/diff/1/src/compiler/ppc/code-generator-ppc.cc#newcode1348 src/compiler/ppc/code-generator-ppc.cc:1348: frame()-

[v8-dev] Re: [interpreter] Allow verification and trace-turbo for bytecode handlers. (issue 1308863004 by rmcil...@chromium.org)

2015-08-25 Thread titzer
Looks much better with the GetDebugName() changes. lgtm https://codereview.chromium.org/1308863004/ -- -- 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 unsubscr

[v8-dev] Re: Visit AST Property nodes as expressions in AstExpressionVisitor. (issue 1314843002 by bradnel...@google.com)

2015-08-25 Thread titzer
lgtm https://codereview.chromium.org/1314843002/ -- -- 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: Add a PLACEHOLDER code kind. (issue 1308393003 by tit...@chromium.org)

2015-08-25 Thread titzer
On 2015/08/25 09:40:14, Yang wrote: On 2015/08/24 19:51:52, titzer wrote: LGTM. I wonder whether we can know the code kind upfront, even if the code object does not exist yet. And where do we need the code kind when calling into a code object that does not yet exist? As discussed in

[v8-dev] Re: Adding visitors to regurgitate expression types or reset them. (issue 1288773007 by bradnel...@google.com)

2015-08-24 Thread titzer
lgtm https://codereview.chromium.org/1288773007/ -- -- 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: Adding visitors to regurgitate expression types or reset them. (issue 1288773007 by bradnel...@google.com)

2015-08-24 Thread titzer
On 2015/08/22 01:19:13, bradn wrote: https://codereview.chromium.org/1288773007/diff/220001/src/ast-expression-visitor.cc File src/ast-expression-visitor.cc (right): https://codereview.chromium.org/1288773007/diff/220001/src/ast-expression-visitor.cc#newcode63 src/ast-expression-visitor.cc:6

[v8-dev] Re: [Interpreter] Allow verification and trace-turbo for bytecode handlers. (issue 1297203002 by rmcil...@chromium.org)

2015-08-24 Thread titzer
lgtm https://codereview.chromium.org/1297203002/ -- -- 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: X87: Disable test case for X87 because of double register number restriction. (issue 1308763003 by chunyang....@intel.com)

2015-08-24 Thread titzer
lgtm https://codereview.chromium.org/1308763003/ -- -- 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: Get rid of CompilationInfo::GenerateCodeStub method. (issue 1309883002 by mstarzin...@chromium.org)

2015-08-21 Thread titzer
lgtm agree completely please more better https://codereview.chromium.org/1309883002/ -- -- 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 gr

[v8-dev] Re: Rename FullCodeGenerator::function to literal. (issue 1310603002 by mstarzin...@chromium.org)

2015-08-21 Thread titzer
lgtm https://codereview.chromium.org/1310603002/ -- -- 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: Deprecate useless CompilationInfo::IsOptimizable predicate. (issue 1309813002 by mstarzin...@chromium.org)

2015-08-21 Thread titzer
On 2015/08/21 14:58:32, Michael Starzinger wrote: lgtm https://codereview.chromium.org/1309813002/ -- -- 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 unsubscri

[v8-dev] Re: Deprecate semi-correct CompilationInfo::flags predicate. (issue 1304053004 by mstarzin...@chromium.org)

2015-08-21 Thread titzer
lgtm https://codereview.chromium.org/1304053004/ -- -- 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: [Interpreter] Allow verification and trace-turbo for bytecode handlers. (issue 1297203002 by rmcil...@chromium.org)

2015-08-21 Thread titzer
https://codereview.chromium.org/1297203002/diff/60001/src/codegen.cc File src/codegen.cc (right): https://codereview.chromium.org/1297203002/diff/60001/src/codegen.cc#newcode160 src/codegen.cc:160: info->IsStub() || info->IsBytecodeHandler(); Here too https://codereview.chromium.org/1297203002/

[v8-dev] Re: [turbofan] Add control and effect inputs to RawMachineAssembler calls. (issue 1283193007 by rmcil...@chromium.org)

2015-08-21 Thread titzer
lgtm https://codereview.chromium.org/1283193007/ -- -- 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: Adding visitors to regurgitate expression types or reset them. (issue 1288773007 by bradnel...@google.com)

2015-08-21 Thread titzer
https://codereview.chromium.org/1288773007/diff/160001/src/ast-expression-visitor.cc File src/ast-expression-visitor.cc (right): https://codereview.chromium.org/1288773007/diff/160001/src/ast-expression-visitor.cc#newcode17 src/ast-expression-visitor.cc:17: #define RECURSE(call) \

[v8-dev] Re: Adding visitors to regurgitate expression types or reset them. (issue 1288773007 by bradnel...@google.com)

2015-08-21 Thread titzer
On 2015/08/20 21:35:47, bradn wrote: PTAL That it much niced not needing to plumb in the zone. I've sent out separate CL to change typing.h similarly. I also looked at one of the items in hydrogen.h too that uses this pattern, but it appears to actually need it, as that object gets hand

[v8-dev] Re: [turbofan] Add control and effect inputs to RawMachineAssembler calls. (issue 1283193007 by rmcil...@chromium.org)

2015-08-21 Thread titzer
*sigh* I'll be ok with this patch, but keep in mind that the graphs built by raw machine assembler are really broken and don't make sense at all without a schedule. https://codereview.chromium.org/1283193007/diff/20001/src/compiler/graph.h File src/compiler/graph.h (right): https://codereview.

[v8-dev] Re: X87: Disable test case for X87 because of double register number restriction. (issue 1308763003 by chunyang....@intel.com)

2015-08-21 Thread titzer
On 2015/08/21 09:06:15, chunyang.dai wrote: PTAL. I think it would be better to edit the test so that it checks the number of allocatable double registers. There are already a couple like that in the file. https://codereview.chromium.org/1308763003/ -- -- v8-dev mailing list v8-dev@googleg

[v8-dev] Re: Don't allocate AstTyper with the zone allocator. (issue 1303843003 by bradnel...@google.com)

2015-08-21 Thread titzer
On 2015/08/21 09:40:22, rossberg wrote: lgtm lgtm as well https://codereview.chromium.org/1303843003/ -- -- 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 unsu

[v8-dev] Re: [heap] Fix compilation of LargeObjectSpace on Windows. (issue 1288723005 by mstarzin...@chromium.org)

2015-08-19 Thread titzer
lgtm https://codereview.chromium.org/1288723005/ -- -- 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] Add control and effect inputs to RawMachineAssembler calls. (issue 1283193007 by rmcil...@chromium.org)

2015-08-19 Thread titzer
On 2015/08/19 06:55:32, rmcilroy wrote: Ben, please take a look, thanks. What's the motivation for this? The graphs built by the raw assembler already have no hope of being verified because they don't have proper effect chains nor control chains. https://codereview.chromium.org/1283193007

[v8-dev] Re: Adding visitors to regurgitate expression types or reset them. (issue 1288773007 by bradnel...@google.com)

2015-08-19 Thread titzer
https://codereview.chromium.org/1288773007/diff/40001/src/ast-expression-visitor.cc File src/ast-expression-visitor.cc (right): https://codereview.chromium.org/1288773007/diff/40001/src/ast-expression-visitor.cc#newcode167 src/ast-expression-visitor.cc:167: ++depth_; IIUC, you are using the dept

[v8-dev] Re: Add a makefile option for wasm prototype. (issue 1293073004 by bradnel...@google.com)

2015-08-18 Thread titzer
lgtm https://codereview.chromium.org/1293073004/ -- -- 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 empty string-search.cc file. (issue 1295333002 by mstarzin...@chromium.org)

2015-08-18 Thread titzer
On 2015/08/18 17:53:25, Michael Starzinger wrote: Empty string-search.cc is being empty. lgtm all red is all good https://codereview.chromium.org/1295333002/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are

[v8-dev] Re: Remove grab-bag includes of v8.h from runtime entries. (issue 1293053004 by mstarzin...@chromium.org)

2015-08-18 Thread titzer
lgtm https://codereview.chromium.org/1293053004/ -- -- 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] Fix stack->stack double moves for pushing on ia32 and x64. (issue 1299023002 by tit...@chromium.org)

2015-08-18 Thread titzer
oid InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { for (Node* input : base::Reversed(buffer.pushed_nodes)) { // Skip any alignment holes in pushed nodes. if (input == nullptr) continue; + // TODO(titzer): GapResolver cannot handle stack->stack double

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

2015-08-18 Thread titzer
: On 2015/08/17 at 10:58:42, titzer wrote: > I think this is dead now? No, it's not. It is used to initialize the Frame with the initial number of slots. In that case recommend moving it to the usage sites. https://codereview.chromium.org/1261923007/ -- -- v8-dev mailing lis

[v8-dev] Re: Remove inline header includes from natives.h header. (issue 1303463002 by mstarzin...@chromium.org)

2015-08-18 Thread titzer
lgtm https://codereview.chromium.org/1303463002/ -- -- 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 inline header includes from natives.h header. (issue 1303463002 by mstarzin...@chromium.org)

2015-08-18 Thread titzer
https://codereview.chromium.org/1303463002/diff/60001/src/snapshot/natives-common.cc File src/snapshot/natives-common.cc (right): https://codereview.chromium.org/1303463002/diff/60001/src/snapshot/natives-common.cc#newcode15 src/snapshot/natives-common.cc:15: FixedArray* Natives::GetSourceCache(

[v8-dev] Re: Pulling in wasm v8-native-prototype behind a gyp define. (issue 1294543006 by bradnel...@google.com)

2015-08-18 Thread titzer
On 2015/08/17 18:18:35, bradn wrote: Looks good from my side, adding mstarzinger@ who wields better GYP-fu. 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 subscrib

[v8-dev] Re: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (issue 1289863003 by rmcil...@chromium.org)

2015-08-18 Thread titzer
lgtm https://codereview.chromium.org/1289863003/diff/60001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1289863003/diff/60001/src/compiler/interpreter-assembler.h#newcode96 src/compiler/interpreter-assembler.h:96: Node

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

2015-08-17 Thread titzer
On 2015/08/17 14:01:56, Jarin wrote: 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 == ...)'. I fixed the shadowing of the variable in the outer scope. https

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

2015-08-17 Thread titzer
Reviewers: Jarin, Message: PTAL: small tweaks to code generators and instruction selectors to handle float32/float64 passed on the stack. I plan to clean this up in the near future by refactoring CallDescriptor to contain an array of pushed arguments. Description: [turbofan] Support unboxed flo

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

2015-08-17 Thread titzer
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#newcode84 src/compiler/frame.h:84: static const int kFixedSlotCount = I think this is dead now? https://code

[v8-dev] Re: [interpreter]: Changes to interpreter builtins for accumulator and register file registers. (issue 1289863003 by rmcil...@chromium.org)

2015-08-14 Thread titzer
https://codereview.chromium.org/1289863003/diff/20001/src/compiler/interpreter-assembler.h File src/compiler/interpreter-assembler.h (right): https://codereview.chromium.org/1289863003/diff/20001/src/compiler/interpreter-assembler.h#newcode40 src/compiler/interpreter-assembler.h:40: Node* Incomi

[v8-dev] Re: [turbofan] Gracefully handle missing info()->context() in CodeGenerator::IsMaterializableFromFrame() (issue 1292233004 by tit...@chromium.org)

2015-08-14 Thread titzer
-generator.cc:535: if (!info()->parse_info()) return; // TODO(titzer): that was unfortunate. nit: Can we use has_shared_info() here instead? We shouldn't need to care about the ParseInfo vs. CompilationInfo madness here. Done. Also is it really safe to just bailout here without bu

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

2015-08-13 Thread titzer
Mostly looking good. ARM64 is going to be fun with the JSP/CSP distinction. https://codereview.chromium.org/1261923007/ -- -- 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"

[v8-dev] Re: Remove inline header includes from non-inline headers (2). (issue 1288053004 by mstarzin...@chromium.org)

2015-08-13 Thread titzer
On 2015/08/13 14:04:31, Michael Starzinger wrote: The actual change is in src/compiler/node.h, the rest is fallout from missing IWYU in other files. LGTM https://codereview.chromium.org/1288053004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev ---

[v8-dev] [turbofan] Propagate representation information from call descriptors in SimplifiedLowering. (issue 1292033002 by tit...@chromium.org)

2015-08-13 Thread titzer
Reviewers: Jarin, Description: [turbofan] Propagate representation information from call descriptors in SimplifiedLowering. R=ja...@chromium.org BUG= Please review this at https://codereview.chromium.org/1292033002/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (

[v8-dev] Re: Add tests for float32/float64 parameters/returns passed in float32/float64 registers. (issue 1291553005 by tit...@chromium.org)

2015-08-12 Thread titzer
On 2015/08/12 17:48:41, Michael Starzinger wrote: LGTM. https://codereview.chromium.org/1291553005/diff/1/test/cctest/compiler/test-run-native-calls.cc File test/cctest/compiler/test-run-native-calls.cc (right): https://codereview.chromium.org/1291553005/diff/1/test/cctest/compiler/test-ru

[v8-dev] Re: Disable nontemporals. (issue 1276113002 by j...@chromium.org)

2015-08-12 Thread titzer
On 2015/08/12 15:59:08, JF wrote: On 2015/08/12 09:44:05, titzer wrote: > On 2015/08/10 16:12:44, Mark Seaborn wrote: > > It's not my codebase, but removing the possibility of using these instructions > > looks like a good idea to me! > > Can you update the CL descript

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

2015-08-12 Thread titzer
On 2015/08/12 10:43:33, commit-bot: I haz the power wrote: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285543002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285543002/1 lgtm https://codereview.chromium.org/12855

[v8-dev] Re: Remove several grab-bag includes from the v8.h header. (issue 1282503003 by mstarzin...@chromium.org)

2015-08-10 Thread titzer
On 2015/08/10 18:55:18, Michael Starzinger wrote: PTAL all reviewers, I would like to get sign-of on the below steps (1)-(3) from all reviewers. The optional step (4) only needs to be done once. Thanks! Review-Instructions: 1) Read CL description of what the goal is. 2) Look at "DEPS" for th

[v8-dev] Re: [heap] Remove unused IntrusiveMarking class. (issue 1278113004 by mstarzin...@chromium.org)

2015-08-07 Thread titzer
On 2015/08/07 12:56:14, Michael Starzinger wrote: Dead code is being dead. lgtm https://codereview.chromium.org/1278113004/ -- -- 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 "v

[v8-dev] Re: [heap] Remove unused support for heap iterator size function. (issue 1281903002 by mstarzin...@chromium.org)

2015-08-07 Thread titzer
On 2015/08/07 13:00:08, Michael Starzinger wrote: Dead code is being dead. lgtm https://codereview.chromium.org/1281903002/ -- -- 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 "v

[v8-dev] Re: [turbofan] Remove architecture-specific linkage files and LinkageTraits. Use macro-assembler-defineā€¦ (issue 1272883003 by tit...@chromium.org)

2015-08-07 Thread titzer
On 2015/08/07 07:59:03, Michael Starzinger wrote: LGTM. Is there a particular reason to have five different linkage.cc files with one method each? I would consider it more intuitive to have all of these methods in the linkage.cc file instead. https://codereview.chromium.org/1272883003/

[v8-dev] Re: Helpful checks.cc file is being helpful. (issue 1276843004 by mstarzin...@chromium.org)

2015-08-06 Thread titzer
On 2015/08/06 12:56:06, Michael Starzinger wrote: LGTM. I guess this is where CheckEqualsHelper used to live. https://codereview.chromium.org/1276843004/ -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subsc

[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 titzer
On 2015/08/03 10:38:18, Jarin wrote: 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#n

[v8-dev] Retire ShortCircuitConsString. (issue 1267313002 by hpa...@chromium.org)

2015-08-04 Thread titzer
Bye bye love Bye bye happiness Hello loneliness I think I'm-a gonna cry-y Actually, no, I won't. https://codereview.chromium.org/1267313002/ -- -- 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 G

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

2015-08-04 Thread titzer
On 2015/08/04 12:38:30, Jarin wrote: 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/compil

[v8-dev] Re: SIMD.js Add the other SIMD Phase 1 types. (issue 1250733005 by bbu...@chromium.org)

2015-08-03 Thread titzer
On 2015/08/03 13:54:42, Yang wrote: On 2015/08/03 13:03:06, commit-bot: I haz the power wrote: > Patchset 11 (id:??) landed as > https://crrev.com/7b9670b63b486ba3b6f8a569552d307282dbccfd > Cr-Commit-Position: refs/heads/master@{#29974} Well by simply marking NOPRESUBMIT=true, other test bots i

[v8-dev] Re: PPC: Clean up register save/restore logic. (issue 1271583002 by mbra...@us.ibm.com)

2015-08-03 Thread titzer
On 2015/08/03 13:33:48, mtbrandyberry wrote: On 2015/08/03 13:28:59, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > v8_presubmit on tryserver.v8 (JOB_FAILED, > http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/4636) Hmmm.. Presubmit failur

[v8-dev] Re: PPC: Clean up register save/restore logic. (issue 1271583002 by mbra...@us.ibm.com)

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

2015-08-03 Thread titzer
r/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc index 38c7f2a31c90724b3fd39767c07b3801fde1cbc6..a0e4299238496d109b826a1e79e73e425eb19e1f 100644 --- a/src/compiler/x64/code-generator-x64.cc +++ b/src/compiler/x64/code-generator-x64.cc @@ -1219,6 +1219,10 @@ void CodeGenerator

[v8-dev] Re: [interpreter] Adds interpreter cctests. (issue 1269683002 by rmcil...@chromium.org)

2015-08-03 Thread titzer
lgtm https://codereview.chromium.org/1269683002/ -- -- 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] Simplifying handling of callee-cleanup stack area. (issue 1269913002 by tit...@chromium.org)

2015-07-31 Thread titzer
Reviewers: danno, Message: PTAL. Turns out that CallDescriptor::JSParameterCount() isn't so interesting after all. Description: [turbofan] Simplifying handling of callee-cleanup stack area. R=da...@chromium.org BUG= Please review this at https://codereview.chromium.org/1269913002/ Base URL:

[v8-dev] [turbofan] Float32 LinkageLocations need double registers too. (issue 1268433003 by tit...@chromium.org)

2015-07-31 Thread titzer
Reviewers: Benedikt Meurer, Description: [turbofan] Float32 LinkageLocations need double registers too. R=bmeu...@chromium.org BUG= Please review this at https://codereview.chromium.org/1268433003/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (+2, -1 lines): M

[v8-dev] Re: [interpreter] Adds interpreter cctests. (issue 1269683002 by rmcil...@chromium.org)

2015-07-31 Thread titzer
https://codereview.chromium.org/1269683002/diff/60001/test/cctest/interpreter/test-interpreter.cc File test/cctest/interpreter/test-interpreter.cc (right): https://codereview.chromium.org/1269683002/diff/60001/test/cctest/interpreter/test-interpreter.cc#newcode31 test/cctest/interpreter/test-int

[v8-dev] Re: [Interpreter] Remove unnecessary const specifiers on scalar types. (issue 1269813006 by o...@chromium.org)

2015-07-31 Thread titzer
lgtm https://codereview.chromium.org/1269813006/ -- -- 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] Fix kArchTailCallCodeObject on ia32/x64. (issue 1265723003 by rmcil...@chromium.org)

2015-07-31 Thread titzer
lgtm https://codereview.chromium.org/1265723003/ -- -- 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] GraphBuilderTester uses --print-opt-code. (issue 1256723003 by tit...@chromium.org)

2015-07-31 Thread titzer
Reviewers: Benedikt Meurer, Description: [turbofan] GraphBuilderTester uses --print-opt-code. R=bmeu...@chromium.org BUG= Please review this at https://codereview.chromium.org/1256723003/ Base URL: https://chromium.googlesource.com/v8/v8.git@master Affected files (+4, -0 lines): M test/ccte

[v8-dev] Fix BUILD.gn. (issue 1263633003 by tit...@chromium.org)

2015-07-30 Thread titzer
Reviewers: Benedikt Meurer, Message: Committed patchset #1 (id:1) manually as ca38b15be78014f20641a59700d813f6c506a330 (tree was closed). Description: Fix BUILD.gn. TBR=bmeu...@chromium.org BUG= Committed: https://chromium.googlesource.com/v8/v8/+/ca38b15be78014f20641a59700d813f6c506a330 Plea

[v8-dev] Re: Factor C call descriptor building into compiler/c-linkage.cc with inline (issue 1266603002 by tit...@chromium.org)

2015-07-30 Thread titzer
On 2015/07/30 07:12:40, titzer wrote: On 2015/07/30 06:35:14, Benedikt Meurer wrote: > This approach will not work because you add new static initializers until > uniform initialization and constexpr is allowed. Yeah, I need to make the kParamRegisters array into a function.

[v8-dev] Re: Factor C call descriptor building into compiler/c-linkage.cc with inline (issue 1266603002 by tit...@chromium.org)

2015-07-30 Thread titzer
On 2015/07/30 06:35:14, Benedikt Meurer wrote: This approach will not work because you add new static initializers until uniform initialization and constexpr is allowed. Yeah, I need to make the kParamRegisters array into a function. I was considering adding a kReturnRegister0 and kReturnRegis

[v8-dev] Factor C call descriptor building into compiler/c-linkage.cc with inline (issue 1266603002 by tit...@chromium.org)

2015-07-29 Thread titzer
Reviewers: Benedikt Meurer, danno, Description: Factor C call descriptor building into compiler/c-linkage.cc with inline platform-specifics. This is the first step in cutting the Gordian linkage/linkage-impl knot. This basically changes the axis along which we organize call descriptor building

[v8-dev] Re: [turbofan]: Fix tail calls edge cases and add tests (issue 1245523002 by da...@chromium.org)

2015-07-22 Thread titzer
lgtm https://codereview.chromium.org/1245523002/ -- -- 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] Get rid of overly abstract SimplifiedGraphBuilder. (issue 1248743003 by mstarzin...@chromium.org)

2015-07-22 Thread titzer
lgtm https://codereview.chromium.org/1248743003/ -- -- 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]: Fix tail calls edge cases and add tests (issue 1245523002 by da...@chromium.org)

2015-07-21 Thread titzer
https://codereview.chromium.org/1245523002/diff/11/test/unittests/compiler/linkage-tail-call-unittest.cc File test/unittests/compiler/linkage-tail-call-unittest.cc (right): https://codereview.chromium.org/1245523002/diff/11/test/unittests/compiler/linkage-tail-call-unittest.cc#newcode53

[v8-dev] Re: [turbofan] Perform OSR deconstruction early and remove type propagation. (issue 1215333005 by bmeu...@chromium.org)

2015-07-06 Thread titzer
https://codereview.chromium.org/1215333005/diff/1/src/compiler/osr.cc File src/compiler/osr.cc (left): https://codereview.chromium.org/1215333005/diff/1/src/compiler/osr.cc#oldcode253 src/compiler/osr.cc:253: Node* osr_loop) { I don't think it's necessary to delete this code. We need to discuss

[v8-dev] Re: [turbofan] Use OSR value for innermost context value. (issue 1213043005 by mstarzin...@chromium.org)

2015-07-03 Thread titzer
lgtm https://codereview.chromium.org/1213043005/ -- -- 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] Move context specialization into JSContextSpecializer. (issue 1221103003 by mstarzin...@chromium.org)

2015-07-03 Thread titzer
https://codereview.chromium.org/1221103003/diff/20001/src/compiler/ast-graph-builder.cc File src/compiler/ast-graph-builder.cc (right): https://codereview.chromium.org/1221103003/diff/20001/src/compiler/ast-graph-builder.cc#newcode4081 src/compiler/ast-graph-builder.cc:4081: // TODO(titzer

[v8-dev] Re: [turbofan]: Add a context relaxation Reducer (issue 1220823004 by da...@chromium.org)

2015-07-02 Thread titzer
https://codereview.chromium.org/1220823004/diff/20001/src/compiler/ast-graph-builder.h File src/compiler/ast-graph-builder.h (right): https://codereview.chromium.org/1220823004/diff/20001/src/compiler/ast-graph-builder.h#newcode55 src/compiler/ast-graph-builder.h:55: Node* relaxed_context() cons

[v8-dev] Re: [turbofan]: Add a context relaxation Reducer (issue 1220823004 by da...@chromium.org)

2015-07-02 Thread titzer
On 2015/07/01 09:11:49, danno wrote: I should add tests, but it's unclear if they will be anything other than a trivial copy of the logic that is in the reducer itself. You should add tests to verify that the reducer actually makes a change to the graph. Otherwise, we might end up breaking i

[v8-dev] Re: Allow numeric literals to be checked for a decimal point. (issue 1201783003 by bradnel...@google.com)

2015-06-30 Thread titzer
https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h File src/ast-value-factory.h (right): https://codereview.chromium.org/1201783003/diff/40001/src/ast-value-factory.h#newcode148 src/ast-value-factory.h:148: bool ContainsDot() const { return type_ == NUMBER_WITH_DOT; }

[v8-dev] Re: Allow numeric literals to be checked for a decimal point. (issue 1201783003 by bradnel...@google.com)

2015-06-30 Thread titzer
lgtm https://codereview.chromium.org/1201783003/ -- -- 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: Greedy allocator refactoring - full (issue 1205173002 by mtro...@chromium.org)

2015-06-29 Thread titzer
https://codereview.chromium.org/1205173002/diff/60001/src/compiler/register-allocator.h File src/compiler/register-allocator.h (right): https://codereview.chromium.org/1205173002/diff/60001/src/compiler/register-allocator.h#newcode481 src/compiler/register-allocator.h:481: int size_; Can you add

  1   2   3   4   5   6   7   8   9   10   >