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

Side by Side Diff: test/cctest/compiler/test-js-constant-cache.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/assembler.h" 5 #include "src/assembler.h"
9 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
10 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
11 #include "src/compiler/typer.h" 8 #include "src/compiler/typer.h"
12 #include "src/types.h" 9 #include "src/types.h"
13 #include "test/cctest/cctest.h" 10 #include "test/cctest/cctest.h"
14 #include "test/cctest/compiler/value-helper.h" 11 #include "test/cctest/compiler/value-helper.h"
15 12
16 namespace v8 { 13 namespace v8 {
17 namespace internal { 14 namespace internal {
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 T.GetCachedNodes(&nodes); 469 T.GetCachedNodes(&nodes);
473 470
474 for (size_t i = 0; i < arraysize(constants); i++) { 471 for (size_t i = 0; i < arraysize(constants); i++) {
475 CHECK(Contains(&nodes, constants[i])); 472 CHECK(Contains(&nodes, constants[i]));
476 } 473 }
477 } 474 }
478 475
479 } // namespace compiler 476 } // namespace compiler
480 } // namespace internal 477 } // namespace internal
481 } // namespace v8 478 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-instruction.cc ('k') | test/cctest/compiler/test-js-context-specialization.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698