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

Side by Side Diff: test/cctest/compiler/test-schedule.cc

Issue 676353002: [turbofan] Merge GenericNode with Node. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix Win64 build Created 6 years, 1 month 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
« no previous file with comments | « test/cctest/compiler/test-run-machops.cc ('k') | test/cctest/compiler/test-scheduler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
8 #include "src/compiler/generic-node-inl.h"
9 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
10 #include "src/compiler/machine-operator.h" 9 #include "src/compiler/machine-operator.h"
11 #include "src/compiler/node.h" 10 #include "src/compiler/node.h"
12 #include "src/compiler/operator.h" 11 #include "src/compiler/operator.h"
13 #include "src/compiler/schedule.h" 12 #include "src/compiler/schedule.h"
14 #include "test/cctest/cctest.h" 13 #include "test/cctest/cctest.h"
15 14
16 using namespace v8::internal; 15 using namespace v8::internal;
17 using namespace v8::internal::compiler; 16 using namespace v8::internal::compiler;
18 17
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 Node* start = graph.NewNode(common.Start(0)); 167 Node* start = graph.NewNode(common.Start(0));
169 graph.SetStart(start); 168 graph.SetStart(start);
170 Node* param0 = graph.NewNode(common.Parameter(0), graph.start()); 169 Node* param0 = graph.NewNode(common.Parameter(0), graph.start());
171 Node* param1 = graph.NewNode(common.Parameter(1), graph.start()); 170 Node* param1 = graph.NewNode(common.Parameter(1), graph.start());
172 171
173 Node* mul = graph.NewNode(machine.Int32Mul(), param0, param1); 172 Node* mul = graph.NewNode(machine.Int32Mul(), param0, param1);
174 Node* ret = graph.NewNode(common.Return(), mul, start); 173 Node* ret = graph.NewNode(common.Return(), mul, start);
175 174
176 USE(ret); 175 USE(ret);
177 } 176 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-machops.cc ('k') | test/cctest/compiler/test-scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698