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

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

Issue 1729833002: Add wasm internal opcodes for asm.js stdlib functions we're missing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: merge Created 4 years, 9 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 | « no previous file | src/wasm/asm-wasm-builder.cc » ('j') | src/wasm/asm-wasm-builder.cc » ('J')
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"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 kMathImul, 49 kMathImul,
50 kMathFround, 50 kMathFround,
51 kMathE, 51 kMathE,
52 kMathLN10, 52 kMathLN10,
53 kMathLN2, 53 kMathLN2,
54 kMathLOG2E, 54 kMathLOG2E,
55 kMathLOG10E, 55 kMathLOG10E,
56 kMathPI, 56 kMathPI,
57 kMathSQRT1_2, 57 kMathSQRT1_2,
58 kMathSQRT2, 58 kMathSQRT2,
59
60 kStdlibMax,
59 }; 61 };
60 62
61 StandardMember VariableAsStandardMember(Variable* variable); 63 StandardMember VariableAsStandardMember(Variable* variable);
62 64
63 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS(); 65 DEFINE_AST_VISITOR_SUBCLASS_MEMBERS();
64 66
65 private: 67 private:
66 Zone* zone_; 68 Zone* zone_;
67 Isolate* isolate_; 69 Isolate* isolate_;
68 Script* script_; 70 Script* script_;
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 #define DECLARE_VISIT(type) void Visit##type(type* node) override; 175 #define DECLARE_VISIT(type) void Visit##type(type* node) override;
174 AST_NODE_LIST(DECLARE_VISIT) 176 AST_NODE_LIST(DECLARE_VISIT)
175 #undef DECLARE_VISIT 177 #undef DECLARE_VISIT
176 178
177 DISALLOW_COPY_AND_ASSIGN(AsmTyper); 179 DISALLOW_COPY_AND_ASSIGN(AsmTyper);
178 }; 180 };
179 } // namespace internal 181 } // namespace internal
180 } // namespace v8 182 } // namespace v8
181 183
182 #endif // V8_TYPING_ASM_H_ 184 #endif // V8_TYPING_ASM_H_
OLDNEW
« no previous file with comments | « no previous file | src/wasm/asm-wasm-builder.cc » ('j') | src/wasm/asm-wasm-builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698