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

Side by Side Diff: test/cctest/compiler/test-run-machops.cc

Issue 1408283006: Remove deprecated API usage from compiler cctests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-arguments-inline-3
Patch Set: Created 5 years, 1 month 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/test-run-jsops.cc ('k') | test/cctest/compiler/test-run-native-calls.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. Use of this 1 // Copyright 2014 the V8 project authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
5 #include <cmath> 8 #include <cmath>
6 #include <functional> 9 #include <functional>
7 #include <limits> 10 #include <limits>
8 11
9 #include "src/base/bits.h" 12 #include "src/base/bits.h"
10 #include "src/base/utils/random-number-generator.h" 13 #include "src/base/utils/random-number-generator.h"
11 #include "src/codegen.h" 14 #include "src/codegen.h"
12 #include "test/cctest/cctest.h" 15 #include "test/cctest/cctest.h"
13 #include "test/cctest/compiler/codegen-tester.h" 16 #include "test/cctest/compiler/codegen-tester.h"
14 #include "test/cctest/compiler/graph-builder-tester.h" 17 #include "test/cctest/compiler/graph-builder-tester.h"
(...skipping 5551 matching lines...) Expand 10 before | Expand all | Expand 10 after
5566 c->CalleeSavedRegisters(), // callee saved 5569 c->CalleeSavedRegisters(), // callee saved
5567 c->CalleeSavedFPRegisters(), // callee saved FP 5570 c->CalleeSavedFPRegisters(), // callee saved FP
5568 CallDescriptor::kNoFlags, // flags 5571 CallDescriptor::kNoFlags, // flags
5569 "c-call-as-code"); 5572 "c-call-as-code");
5570 Node* call = r.AddNode(r.common()->Call(desc), phi); 5573 Node* call = r.AddNode(r.common()->Call(desc), phi);
5571 r.Return(call); 5574 r.Return(call);
5572 5575
5573 CHECK_EQ(33, r.Call(1)); 5576 CHECK_EQ(33, r.Call(1));
5574 CHECK_EQ(44, r.Call(0)); 5577 CHECK_EQ(44, r.Call(0));
5575 } 5578 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-jsops.cc ('k') | test/cctest/compiler/test-run-native-calls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698