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

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

Issue 2057403003: Hooking up asm-wasm conversion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 5 months 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 | « src/x87/builtins-x87.cc ('k') | test/unittests/wasm/asm-types-unittest.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/asmjs/typing-asm.h"
8 #include "src/ast/ast-expression-visitor.h"
7 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
8 #include "src/ast/ast-expression-visitor.h"
9 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
10 #include "src/parsing/parser.h" 11 #include "src/parsing/parser.h"
11 #include "src/parsing/rewriter.h" 12 #include "src/parsing/rewriter.h"
12 #include "src/type-cache.h" 13 #include "src/type-cache.h"
13 #include "src/typing-asm.h"
14 #include "test/cctest/cctest.h" 14 #include "test/cctest/cctest.h"
15 #include "test/cctest/expression-type-collector-macros.h"
15 #include "test/cctest/expression-type-collector.h" 16 #include "test/cctest/expression-type-collector.h"
16 #include "test/cctest/expression-type-collector-macros.h"
17 17
18 // Macros for function types. 18 // Macros for function types.
19 #define FUNC_FOREIGN_TYPE Bounds(Type::Function(Type::Any(), zone)) 19 #define FUNC_FOREIGN_TYPE Bounds(Type::Function(Type::Any(), zone))
20 #define FUNC_V_TYPE Bounds(Type::Function(Type::Undefined(), zone)) 20 #define FUNC_V_TYPE Bounds(Type::Function(Type::Undefined(), zone))
21 #define FUNC_I_TYPE Bounds(Type::Function(cache.kAsmSigned, zone)) 21 #define FUNC_I_TYPE Bounds(Type::Function(cache.kAsmSigned, zone))
22 #define FUNC_F_TYPE Bounds(Type::Function(cache.kAsmFloat, zone)) 22 #define FUNC_F_TYPE Bounds(Type::Function(cache.kAsmFloat, zone))
23 #define FUNC_D_TYPE Bounds(Type::Function(cache.kAsmDouble, zone)) 23 #define FUNC_D_TYPE Bounds(Type::Function(cache.kAsmDouble, zone))
24 #define FUNC_D2D_TYPE \ 24 #define FUNC_D2D_TYPE \
25 Bounds(Type::Function(cache.kAsmDouble, cache.kAsmDouble, zone)) 25 Bounds(Type::Function(cache.kAsmDouble, cache.kAsmDouble, zone))
26 #define FUNC_N2F_TYPE \ 26 #define FUNC_N2F_TYPE \
(...skipping 2520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2547 CHECK_EXPR(BinaryOperation, Bounds(cache.kAsmDouble)) { 2547 CHECK_EXPR(BinaryOperation, Bounds(cache.kAsmDouble)) {
2548 CHECK_VAR(x, Bounds(cache.kAsmDouble)); 2548 CHECK_VAR(x, Bounds(cache.kAsmDouble));
2549 CHECK_EXPR(Literal, Bounds(cache.kAsmDouble)); 2549 CHECK_EXPR(Literal, Bounds(cache.kAsmDouble));
2550 } 2550 }
2551 } 2551 }
2552 } 2552 }
2553 CHECK_SKIP(); 2553 CHECK_SKIP();
2554 } 2554 }
2555 CHECK_FUNC_TYPES_END 2555 CHECK_FUNC_TYPES_END
2556 } 2556 }
OLDNEW
« no previous file with comments | « src/x87/builtins-x87.cc ('k') | test/unittests/wasm/asm-types-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698