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

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

Issue 1197703002: Use big-boy Types to annotate interface descriptor parameters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 years, 6 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
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/js-graph.h" 9 #include "src/compiler/js-graph.h"
10 #include "src/compiler/machine-operator-reducer.h" 10 #include "src/compiler/machine-operator-reducer.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 explicit ReducerTester( 53 explicit ReducerTester(
54 int num_parameters = 0, 54 int num_parameters = 0,
55 MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags) 55 MachineOperatorBuilder::Flags flags = MachineOperatorBuilder::kNoFlags)
56 : isolate(main_isolate()), 56 : isolate(main_isolate()),
57 binop(NULL), 57 binop(NULL),
58 unop(NULL), 58 unop(NULL),
59 machine(main_zone(), kMachPtr, flags), 59 machine(main_zone(), kMachPtr, flags),
60 common(main_zone()), 60 common(main_zone()),
61 graph(main_zone()), 61 graph(main_zone()),
62 javascript(main_zone()), 62 javascript(main_zone()),
63 typer(isolate, &graph, MaybeHandle<Context>()), 63 typer(isolate, &graph, nullptr, MaybeHandle<Context>()),
64 jsgraph(isolate, &graph, &common, &javascript, &machine), 64 jsgraph(isolate, &graph, &common, &javascript, &machine),
65 maxuint32(Constant<int32_t>(kMaxUInt32)) { 65 maxuint32(Constant<int32_t>(kMaxUInt32)) {
66 Node* s = graph.NewNode(common.Start(num_parameters)); 66 Node* s = graph.NewNode(common.Start(num_parameters));
67 graph.SetStart(s); 67 graph.SetStart(s);
68 } 68 }
69 69
70 Isolate* isolate; 70 Isolate* isolate;
71 const Operator* binop; 71 const Operator* binop;
72 const Operator* unop; 72 const Operator* unop;
73 MachineOperatorBuilder machine; 73 MachineOperatorBuilder machine;
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 // TODO(titzer): test MachineOperatorReducer for Uint64Mod 740 // TODO(titzer): test MachineOperatorReducer for Uint64Mod
741 // TODO(titzer): test MachineOperatorReducer for Int64Neg 741 // TODO(titzer): test MachineOperatorReducer for Int64Neg
742 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 742 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64
743 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 743 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32
744 // TODO(titzer): test MachineOperatorReducer for Float64Compare 744 // TODO(titzer): test MachineOperatorReducer for Float64Compare
745 // TODO(titzer): test MachineOperatorReducer for Float64Add 745 // TODO(titzer): test MachineOperatorReducer for Float64Add
746 // TODO(titzer): test MachineOperatorReducer for Float64Sub 746 // TODO(titzer): test MachineOperatorReducer for Float64Sub
747 // TODO(titzer): test MachineOperatorReducer for Float64Mul 747 // TODO(titzer): test MachineOperatorReducer for Float64Mul
748 // TODO(titzer): test MachineOperatorReducer for Float64Div 748 // TODO(titzer): test MachineOperatorReducer for Float64Div
749 // TODO(titzer): test MachineOperatorReducer for Float64Mod 749 // TODO(titzer): test MachineOperatorReducer for Float64Mod
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-js-typed-lowering.cc ('k') | test/cctest/compiler/test-simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698