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

Side by Side Diff: test/cctest/compiler/test-code-stub-assembler.cc

Issue 1502193002: Remove deprecate API usage from more cctests (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates 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 | « no previous file | test/cctest/test-decls.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 "src/interface-descriptors.h" 8 #include "src/interface-descriptors.h"
6 #include "src/isolate.h" 9 #include "src/isolate.h"
7 #include "test/cctest/compiler/function-tester.h" 10 #include "test/cctest/compiler/function-tester.h"
8 11
9 namespace v8 { 12 namespace v8 {
10 namespace internal { 13 namespace internal {
11 namespace compiler { 14 namespace compiler {
12 15
13 16
14 class CodeStubAssemblerTester : public CodeStubAssembler { 17 class CodeStubAssemblerTester : public CodeStubAssembler {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 m.TailCallRuntime(Runtime::kMathPow, context, a, b); 119 m.TailCallRuntime(Runtime::kMathPow, context, a, b);
117 Handle<Code> code = m.GenerateCode(); 120 Handle<Code> code = m.GenerateCode();
118 FunctionTester ft(descriptor, code); 121 FunctionTester ft(descriptor, code);
119 MaybeHandle<Object> result = ft.Call(); 122 MaybeHandle<Object> result = ft.Call();
120 CHECK_EQ(16, Handle<Smi>::cast(result.ToHandleChecked())->value()); 123 CHECK_EQ(16, Handle<Smi>::cast(result.ToHandleChecked())->value());
121 } 124 }
122 125
123 } // namespace compiler 126 } // namespace compiler
124 } // namespace internal 127 } // namespace internal
125 } // namespace v8 128 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | test/cctest/test-decls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698