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

Side by Side Diff: src/compiler/compiler-unittests.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, 3 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
« no previous file with comments | « src/compiler/compiler-unittests.h ('k') | src/compiler/graph-unittest.h » ('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 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 "include/libplatform/libplatform.h" 5 #include "include/libplatform/libplatform.h"
6 #include "src/compiler/compiler-unittests.h"
6 #include "src/isolate-inl.h" 7 #include "src/isolate-inl.h"
7 #include "test/compiler-unittests/compiler-unittests.h"
8 #include "testing/gmock/include/gmock/gmock.h" 8 #include "testing/gmock/include/gmock/gmock.h"
9 9
10 using testing::IsNull; 10 using testing::IsNull;
11 using testing::NotNull; 11 using testing::NotNull;
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 namespace compiler { 15 namespace compiler {
16 16
17 // static 17 // static
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 v8::V8::Dispose(); 72 v8::V8::Dispose();
73 v8::V8::ShutdownPlatform(); 73 v8::V8::ShutdownPlatform();
74 delete platform_; 74 delete platform_;
75 platform_ = NULL; 75 platform_ = NULL;
76 } 76 }
77 77
78 private: 78 private:
79 v8::Platform* platform_; 79 v8::Platform* platform_;
80 }; 80 };
81 81
82 } 82 } // namespace
83 83
84 84
85 int main(int argc, char** argv) { 85 int main(int argc, char** argv) {
86 testing::InitGoogleMock(&argc, argv); 86 testing::InitGoogleMock(&argc, argv);
87 testing::AddGlobalTestEnvironment(new CompilerTestEnvironment); 87 testing::AddGlobalTestEnvironment(new CompilerTestEnvironment);
88 v8::V8::SetFlagsFromCommandLine(&argc, argv, true); 88 v8::V8::SetFlagsFromCommandLine(&argc, argv, true);
89 return RUN_ALL_TESTS(); 89 return RUN_ALL_TESTS();
90 } 90 }
OLDNEW
« no previous file with comments | « src/compiler/compiler-unittests.h ('k') | src/compiler/graph-unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698