Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: test/cctest/compiler/test-machine-operator-reducer.cc

Issue 658543002: Better typing and type verification (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "test/cctest/cctest.h" 5 #include "test/cctest/cctest.h"
6 6
7 #include "src/base/utils/random-number-generator.h" 7 #include "src/base/utils/random-number-generator.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/compiler/graph-inl.h" 9 #include "src/compiler/graph-inl.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 class ReducerTester : public HandleAndZoneScope { 51 class ReducerTester : public HandleAndZoneScope {
52 public: 52 public:
53 explicit ReducerTester(int num_parameters = 0) 53 explicit ReducerTester(int num_parameters = 0)
54 : isolate(main_isolate()), 54 : isolate(main_isolate()),
55 binop(NULL), 55 binop(NULL),
56 unop(NULL), 56 unop(NULL),
57 common(main_zone()), 57 common(main_zone()),
58 graph(main_zone()), 58 graph(main_zone()),
59 javascript(main_zone()), 59 javascript(main_zone()),
60 typer(main_zone()), 60 typer(&graph, MaybeHandle<Context>()),
61 jsgraph(&graph, &common, &javascript, &typer, &machine), 61 jsgraph(&graph, &common, &javascript, &machine),
62 maxuint32(Constant<int32_t>(kMaxUInt32)) { 62 maxuint32(Constant<int32_t>(kMaxUInt32)) {
63 Node* s = graph.NewNode(common.Start(num_parameters)); 63 Node* s = graph.NewNode(common.Start(num_parameters));
64 graph.SetStart(s); 64 graph.SetStart(s);
65 } 65 }
66 66
67 Isolate* isolate; 67 Isolate* isolate;
68 const Operator* binop; 68 const Operator* binop;
69 const Operator* unop; 69 const Operator* unop;
70 MachineOperatorBuilder machine; 70 MachineOperatorBuilder machine;
71 CommonOperatorBuilder common; 71 CommonOperatorBuilder common;
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 // TODO(titzer): test MachineOperatorReducer for Int64Mul 819 // TODO(titzer): test MachineOperatorReducer for Int64Mul
820 // TODO(titzer): test MachineOperatorReducer for Int64UMul 820 // TODO(titzer): test MachineOperatorReducer for Int64UMul
821 // TODO(titzer): test MachineOperatorReducer for Int64Div 821 // TODO(titzer): test MachineOperatorReducer for Int64Div
822 // TODO(titzer): test MachineOperatorReducer for Uint64Div 822 // TODO(titzer): test MachineOperatorReducer for Uint64Div
823 // TODO(titzer): test MachineOperatorReducer for Int64Mod 823 // TODO(titzer): test MachineOperatorReducer for Int64Mod
824 // TODO(titzer): test MachineOperatorReducer for Uint64Mod 824 // TODO(titzer): test MachineOperatorReducer for Uint64Mod
825 // TODO(titzer): test MachineOperatorReducer for Int64Neg 825 // TODO(titzer): test MachineOperatorReducer for Int64Neg
826 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 826 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64
827 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 827 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32
828 // TODO(titzer): test MachineOperatorReducer for Float64Compare 828 // TODO(titzer): test MachineOperatorReducer for Float64Compare
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/cctest/compiler/test-representation-change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698