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

Side by Side Diff: test/cctest/compiler/test-multiple-return.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
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
5 #include <cmath> 8 #include <cmath>
6 #include <functional> 9 #include <functional>
7 #include <limits> 10 #include <limits>
8 11
9 #include "src/assembler.h" 12 #include "src/assembler.h"
10 #include "src/base/bits.h" 13 #include "src/base/bits.h"
11 #include "src/base/utils/random-number-generator.h" 14 #include "src/base/utils/random-number-generator.h"
12 #include "src/codegen.h" 15 #include "src/codegen.h"
13 #include "src/compiler.h" 16 #include "src/compiler.h"
14 #include "src/compiler/linkage.h" 17 #include "src/compiler/linkage.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 mt.Return(ret); 110 mt.Return(ret);
108 #ifdef ENABLE_DISASSEMBLER 111 #ifdef ENABLE_DISASSEMBLER
109 Handle<Code> code2 = mt.GetCode(); 112 Handle<Code> code2 = mt.GetCode();
110 if (FLAG_print_code) { 113 if (FLAG_print_code) {
111 OFStream os(stdout); 114 OFStream os(stdout);
112 code2->Disassemble("three_value_call", os); 115 code2->Disassemble("three_value_call", os);
113 } 116 }
114 #endif 117 #endif
115 CHECK_EQ((123 + 456) + (123 - 456) + (123 * 456), mt.Call()); 118 CHECK_EQ((123 + 456) + (123 - 456) + (123 * 456), mt.Call());
116 } 119 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-machine-operator-reducer.cc ('k') | test/cctest/compiler/test-node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698