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

Side by Side Diff: test/cctest/compiler/test-basic-block-profiler.cc

Issue 1505803004: Disable soon to be deprecated APIs per default for v8 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « test/cctest/compiler/codegen-tester.cc ('k') | test/cctest/compiler/test-branch-combine.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 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
8 #include "src/basic-block-profiler.h" 5 #include "src/basic-block-profiler.h"
9 #include "test/cctest/cctest.h" 6 #include "test/cctest/cctest.h"
10 #include "test/cctest/compiler/codegen-tester.h" 7 #include "test/cctest/compiler/codegen-tester.h"
11 8
12 namespace v8 { 9 namespace v8 {
13 namespace internal { 10 namespace internal {
14 namespace compiler { 11 namespace compiler {
15 12
16 class BasicBlockProfilerTest : public RawMachineAssemblerTester<int32_t> { 13 class BasicBlockProfilerTest : public RawMachineAssemblerTester<int32_t> {
17 public: 14 public:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 m.ResetCounts(); 102 m.ResetCounts();
106 CHECK_EQ(1, m.Call(static_cast<int>(runs[i]))); 103 CHECK_EQ(1, m.Call(static_cast<int>(runs[i])));
107 uint32_t expected[] = {1, runs[i] + 1, runs[i], 1}; 104 uint32_t expected[] = {1, runs[i] + 1, runs[i], 1};
108 m.Expect(arraysize(expected), expected); 105 m.Expect(arraysize(expected), expected);
109 } 106 }
110 } 107 }
111 108
112 } // namespace compiler 109 } // namespace compiler
113 } // namespace internal 110 } // namespace internal
114 } // namespace v8 111 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/codegen-tester.cc ('k') | test/cctest/compiler/test-branch-combine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698