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

Side by Side Diff: test/unittests/test-utils.h

Issue 631093003: [turbofan] Fix lowering of typed loads/stores. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
« no previous file with comments | « test/unittests/compiler/js-typed-lowering-unittest.cc ('k') | test/unittests/test-utils.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 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 #ifndef V8_UNITTESTS_TEST_UTILS_H_ 5 #ifndef V8_UNITTESTS_TEST_UTILS_H_
6 #define V8_UNITTESTS_TEST_UTILS_H_ 6 #define V8_UNITTESTS_TEST_UTILS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/base/macros.h" 9 #include "src/base/macros.h"
10 #include "src/base/utils/random-number-generator.h" 10 #include "src/base/utils/random-number-generator.h"
11 #include "src/zone.h" 11 #include "src/zone.h"
12 #include "testing/gtest-support.h" 12 #include "testing/gtest-support.h"
13 13
14 namespace v8 { 14 namespace v8 {
15 15
16 std::ostream& operator<<(std::ostream&, ExternalArrayType);
17
18
16 class TestWithIsolate : public ::testing::Test { 19 class TestWithIsolate : public ::testing::Test {
17 public: 20 public:
18 TestWithIsolate(); 21 TestWithIsolate();
19 virtual ~TestWithIsolate(); 22 virtual ~TestWithIsolate();
20 23
21 Isolate* isolate() const { return isolate_; } 24 Isolate* isolate() const { return isolate_; }
22 25
23 static void SetUpTestCase(); 26 static void SetUpTestCase();
24 static void TearDownTestCase(); 27 static void TearDownTestCase();
25 28
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 private: 99 private:
97 Zone zone_; 100 Zone zone_;
98 101
99 DISALLOW_COPY_AND_ASSIGN(TestWithZone); 102 DISALLOW_COPY_AND_ASSIGN(TestWithZone);
100 }; 103 };
101 104
102 } // namespace internal 105 } // namespace internal
103 } // namespace v8 106 } // namespace v8
104 107
105 #endif // V8_UNITTESTS_TEST_UTILS_H_ 108 #endif // V8_UNITTESTS_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « test/unittests/compiler/js-typed-lowering-unittest.cc ('k') | test/unittests/test-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698