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

Side by Side Diff: test/cctest/compiler/test-code-stub-assembler.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
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
8 #include "src/interface-descriptors.h" 5 #include "src/interface-descriptors.h"
9 #include "src/isolate.h" 6 #include "src/isolate.h"
10 #include "test/cctest/compiler/function-tester.h" 7 #include "test/cctest/compiler/function-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 13
17 class CodeStubAssemblerTester : public CodeStubAssembler { 14 class CodeStubAssemblerTester : public CodeStubAssembler {
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 m.TailCallRuntime(Runtime::kMathPow, context, a, b); 116 m.TailCallRuntime(Runtime::kMathPow, context, a, b);
120 Handle<Code> code = m.GenerateCode(); 117 Handle<Code> code = m.GenerateCode();
121 FunctionTester ft(descriptor, code); 118 FunctionTester ft(descriptor, code);
122 MaybeHandle<Object> result = ft.Call(); 119 MaybeHandle<Object> result = ft.Call();
123 CHECK_EQ(16, Handle<Smi>::cast(result.ToHandleChecked())->value()); 120 CHECK_EQ(16, Handle<Smi>::cast(result.ToHandleChecked())->value());
124 } 121 }
125 122
126 } // namespace compiler 123 } // namespace compiler
127 } // namespace internal 124 } // namespace internal
128 } // namespace v8 125 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | test/cctest/compiler/test-gap-resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698