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

Side by Side Diff: test/cctest/test-asm-validator.cc

Issue 1451733002: Mark cctests that don't use deprecated APIs as such (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 1 month 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/test-array-list.cc ('k') | test/cctest/test-ast.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/v8.h" 8 #include "src/v8.h"
6 9
7 #include "src/ast.h" 10 #include "src/ast.h"
8 #include "src/ast-expression-visitor.h" 11 #include "src/ast-expression-visitor.h"
9 #include "src/parser.h" 12 #include "src/parser.h"
10 #include "src/rewriter.h" 13 #include "src/rewriter.h"
11 #include "src/scopes.h" 14 #include "src/scopes.h"
12 #include "src/type-cache.h" 15 #include "src/type-cache.h"
13 #include "src/typing-asm.h" 16 #include "src/typing-asm.h"
14 #include "test/cctest/cctest.h" 17 #include "test/cctest/cctest.h"
(...skipping 1353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1368 "return {foo: foo, bar: 1};" 1371 "return {foo: foo, bar: 1};"
1369 "}\n"; 1372 "}\n";
1370 1373
1371 v8::V8::Initialize(); 1374 v8::V8::Initialize();
1372 HandleAndZoneScope handles; 1375 HandleAndZoneScope handles;
1373 Zone* zone = handles.main_zone(); 1376 Zone* zone = handles.main_zone();
1374 ZoneVector<ExpressionTypeEntry> types(zone); 1377 ZoneVector<ExpressionTypeEntry> types(zone);
1375 CHECK_EQ("asm: line 40: non-function in function table\n", 1378 CHECK_EQ("asm: line 40: non-function in function table\n",
1376 Validate(zone, test_function, &types)); 1379 Validate(zone, test_function, &types));
1377 } 1380 }
OLDNEW
« no previous file with comments | « test/cctest/test-array-list.cc ('k') | test/cctest/test-ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698