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

Side by Side Diff: test/cctest/compiler/test-run-deopt.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 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/frames-inl.h" 5 #include "src/frames-inl.h"
9 #include "test/cctest/cctest.h" 6 #include "test/cctest/cctest.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 static void IsOptimized(const v8::FunctionCallbackInfo<v8::Value>& args) { 13 static void IsOptimized(const v8::FunctionCallbackInfo<v8::Value>& args) {
17 JavaScriptFrameIterator it(CcTest::i_isolate()); 14 JavaScriptFrameIterator it(CcTest::i_isolate());
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 " %DeoptimizeFunction(foo);" 112 " %DeoptimizeFunction(foo);"
116 " return 1;" 113 " return 1;"
117 "})"); 114 "})");
118 115
119 T.CheckCall(T.Val(1)); 116 T.CheckCall(T.Val(1));
120 } 117 }
121 118
122 } // namespace compiler 119 } // namespace compiler
123 } // namespace internal 120 } // namespace internal
124 } // namespace v8 121 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-bytecode-graph-builder.cc ('k') | test/cctest/compiler/test-run-inlining.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698