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

Side by Side Diff: src/compiler/wasm-compiler.h

Issue 2400863003: [wasm] Simd128 types should not be available in asmjs modules. (Closed)
Patch Set: Fix test Created 4 years, 2 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/compiler/wasm-compiler.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_COMPILER_WASM_COMPILER_H_ 5 #ifndef V8_COMPILER_WASM_COMPILER_H_
6 #define V8_COMPILER_WASM_COMPILER_H_ 6 #define V8_COMPILER_WASM_COMPILER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void set_control_ptr(Node** control) { this->control_ = control; } 191 void set_control_ptr(Node** control) { this->control_ = control; }
192 192
193 void set_effect_ptr(Node** effect) { this->effect_ = effect; } 193 void set_effect_ptr(Node** effect) { this->effect_ = effect; }
194 194
195 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; } 195 wasm::FunctionSig* GetFunctionSignature() { return function_signature_; }
196 196
197 void Int64LoweringForTesting(); 197 void Int64LoweringForTesting();
198 198
199 void SetSourcePosition(Node* node, wasm::WasmCodePosition position); 199 void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
200 200
201 Node* DefaultS128Value(); 201 Node* CreateS128Value(int32_t value);
202 202
203 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs); 203 Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
204 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input); 204 Node* SimdExtractLane(wasm::WasmOpcode opcode, uint8_t lane, Node* input);
205 205
206 private: 206 private:
207 static const int kDefaultBufferSize = 16; 207 static const int kDefaultBufferSize = 16;
208 friend class WasmTrapHelper; 208 friend class WasmTrapHelper;
209 209
210 Zone* zone_; 210 Zone* zone_;
211 JSGraph* jsgraph_; 211 JSGraph* jsgraph_;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 } 344 }
345 345
346 int AddParameterNodes(Node** args, int pos, int param_count, 346 int AddParameterNodes(Node** args, int pos, int param_count,
347 wasm::FunctionSig* sig); 347 wasm::FunctionSig* sig);
348 }; 348 };
349 } // namespace compiler 349 } // namespace compiler
350 } // namespace internal 350 } // namespace internal
351 } // namespace v8 351 } // namespace v8
352 352
353 #endif // V8_COMPILER_WASM_COMPILER_H_ 353 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698