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

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

Issue 1084243005: [turbofan] Sanitize language mode for javascript operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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 #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"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual ~TestWithIsolateAndZone(); 108 virtual ~TestWithIsolateAndZone();
109 109
110 Zone* zone() { return &zone_; } 110 Zone* zone() { return &zone_; }
111 111
112 private: 112 private:
113 Zone zone_; 113 Zone zone_;
114 114
115 DISALLOW_COPY_AND_ASSIGN(TestWithIsolateAndZone); 115 DISALLOW_COPY_AND_ASSIGN(TestWithIsolateAndZone);
116 }; 116 };
117 117
118
119 } // namespace internal 118 } // namespace internal
120 } // namespace v8 119 } // namespace v8
121 120
122 #endif // V8_UNITTESTS_TEST_UTILS_H_ 121 #endif // V8_UNITTESTS_TEST_UTILS_H_
OLDNEW
« src/compiler/js-operator.cc ('K') | « test/unittests/compiler/js-operator-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698