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

Side by Side Diff: src/typing-asm.h

Issue 1643333002: Adding flag for simd.js + asm->wasm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix Created 4 years, 10 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/flag-definitions.h ('k') | src/wasm/wasm-js.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 #ifndef V8_TYPING_ASM_H_ 5 #ifndef V8_TYPING_ASM_H_
6 #define V8_TYPING_ASM_H_ 6 #define V8_TYPING_ASM_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/effects.h" 10 #include "src/effects.h"
11 #include "src/type-info.h" 11 #include "src/type-info.h"
12 #include "src/types.h" 12 #include "src/types.h"
13 #include "src/zone.h" 13 #include "src/zone.h"
14 14
15 namespace v8 { 15 namespace v8 {
16 namespace internal { 16 namespace internal {
17 17
18 class TypeCache; 18 class TypeCache;
19 19
20 class AsmTyper : public AstVisitor { 20 class AsmTyper : public AstVisitor {
21 public: 21 public:
22 explicit AsmTyper(Isolate* isolate, Zone* zone, Script* script, 22 explicit AsmTyper(Isolate* isolate, Zone* zone, Script* script,
23 FunctionLiteral* root); 23 FunctionLiteral* root);
24 bool Validate(); 24 bool Validate();
25 void set_allow_simd(bool simd); 25 void set_allow_simd(bool simd) { allow_simd_ = simd; }
26 const char* error_message() { return error_message_; } 26 const char* error_message() { return error_message_; }
27 27
28 enum StandardMember { 28 enum StandardMember {
29 kNone = 0, 29 kNone = 0,
30 kStdlib, 30 kStdlib,
31 kInfinity, 31 kInfinity,
32 kNaN, 32 kNaN,
33 kMathAcos, 33 kMathAcos,
34 kMathAsin, 34 kMathAsin,
35 kMathAtan, 35 kMathAtan,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 #define DECLARE_VISIT(type) void Visit##type(type* node) override; 170 #define DECLARE_VISIT(type) void Visit##type(type* node) override;
171 AST_NODE_LIST(DECLARE_VISIT) 171 AST_NODE_LIST(DECLARE_VISIT)
172 #undef DECLARE_VISIT 172 #undef DECLARE_VISIT
173 173
174 DISALLOW_COPY_AND_ASSIGN(AsmTyper); 174 DISALLOW_COPY_AND_ASSIGN(AsmTyper);
175 }; 175 };
176 } // namespace internal 176 } // namespace internal
177 } // namespace v8 177 } // namespace v8
178 178
179 #endif // V8_TYPING_ASM_H_ 179 #endif // V8_TYPING_ASM_H_
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/wasm/wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698