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

Unified Diff: src/compiler/graph-unittest.cc

Issue 530693002: [turbofan] Merge compiler unit tests into src. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/graph-unittest.h ('k') | src/compiler/ia32/instruction-selector-ia32-unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/graph-unittest.cc
diff --git a/test/compiler-unittests/graph-unittest.cc b/src/compiler/graph-unittest.cc
similarity index 99%
rename from test/compiler-unittests/graph-unittest.cc
rename to src/compiler/graph-unittest.cc
index 5e125b95914b11a225d694d590f62840863c85cf..25c8da5b5c39e69be456147a8c9d652c6cd089af 100644
--- a/test/compiler-unittests/graph-unittest.cc
+++ b/src/compiler/graph-unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "test/compiler-unittests/graph-unittest.h"
+#include "src/compiler/graph-unittest.h"
#include <ostream> // NOLINT(readability/streams)
@@ -32,7 +32,7 @@ inline std::ostream& operator<<(std::ostream& os,
namespace compiler {
-GraphTest::GraphTest(int num_parameters) : graph_(zone()) {
+GraphTest::GraphTest(int num_parameters) : common_(zone()), graph_(zone()) {
graph()->SetStart(graph()->NewNode(common()->Start(num_parameters)));
}
« no previous file with comments | « src/compiler/graph-unittest.h ('k') | src/compiler/ia32/instruction-selector-ia32-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698