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

Side by Side Diff: test/cctest/compiler/test-run-stubs.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
« no previous file with comments | « test/cctest/compiler/test-run-stackcheck.cc ('k') | test/cctest/compiler/test-run-variables.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
8 #include "src/bootstrapper.h" 5 #include "src/bootstrapper.h"
9 #include "src/code-stubs.h" 6 #include "src/code-stubs.h"
10 #include "src/compiler/common-operator.h" 7 #include "src/compiler/common-operator.h"
11 #include "src/compiler/graph.h" 8 #include "src/compiler/graph.h"
12 #include "src/compiler/js-graph.h" 9 #include "src/compiler/js-graph.h"
13 #include "src/compiler/js-operator.h" 10 #include "src/compiler/js-operator.h"
14 #include "src/compiler/linkage.h" 11 #include "src/compiler/linkage.h"
15 #include "src/compiler/machine-operator.h" 12 #include "src/compiler/machine-operator.h"
16 #include "src/compiler/pipeline.h" 13 #include "src/compiler/pipeline.h"
17 #include "src/parsing/parser.h" 14 #include "src/parsing/parser.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 Handle<Object> vector = ft.Val(0.0); 60 Handle<Object> vector = ft.Val(0.0);
64 Handle<Object> result = 61 Handle<Object> result =
65 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked(); 62 ft.Call(receiverArg, nameArg, slot, vector).ToHandleChecked();
66 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value()); 63 CHECK_EQ(static_cast<int>(strlen(testString)), Smi::cast(*result)->value());
67 } 64 }
68 65
69 66
70 } // namespace compiler 67 } // namespace compiler
71 } // namespace internal 68 } // namespace internal
72 } // namespace v8 69 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-stackcheck.cc ('k') | test/cctest/compiler/test-run-variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698