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

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

Issue 2887053003: MIPS[64]: Reland of `Fix unaligned arguments storage in Wasm-to-interpreter entry` (Closed)
Patch Set: Address code review remarks 2 Created 3 years, 7 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 289
290 // Internal helper methods. 290 // Internal helper methods.
291 JSGraph* jsgraph() { return jsgraph_; } 291 JSGraph* jsgraph() { return jsgraph_; }
292 Graph* graph(); 292 Graph* graph();
293 293
294 Node* String(const char* string); 294 Node* String(const char* string);
295 Node* MemSize(); 295 Node* MemSize();
296 Node* MemBuffer(uint32_t offset); 296 Node* MemBuffer(uint32_t offset);
297 void BoundsCheckMem(MachineType memtype, Node* index, uint32_t offset, 297 void BoundsCheckMem(MachineType memtype, Node* index, uint32_t offset,
298 wasm::WasmCodePosition position); 298 wasm::WasmCodePosition position);
299 299 const Operator* GetSafeStoreOperator(int offset, wasm::ValueType type);
300 Node* BuildChangeEndianness(Node* node, MachineType type, 300 Node* BuildChangeEndianness(Node* node, MachineType type,
301 wasm::ValueType wasmtype = wasm::kWasmStmt); 301 wasm::ValueType wasmtype = wasm::kWasmStmt);
302 302
303 Node* MaskShiftCount32(Node* node); 303 Node* MaskShiftCount32(Node* node);
304 Node* MaskShiftCount64(Node* node); 304 Node* MaskShiftCount64(Node* node);
305 305
306 Node* BuildCCall(MachineSignature* sig, Node** args); 306 Node* BuildCCall(MachineSignature* sig, Node** args);
307 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, Node*** rets, 307 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, Node*** rets,
308 wasm::WasmCodePosition position); 308 wasm::WasmCodePosition position);
309 309
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 406
407 int AddParameterNodes(Node** args, int pos, int param_count, 407 int AddParameterNodes(Node** args, int pos, int param_count,
408 wasm::FunctionSig* sig); 408 wasm::FunctionSig* sig);
409 }; 409 };
410 } // namespace compiler 410 } // namespace compiler
411 } // namespace internal 411 } // namespace internal
412 } // namespace v8 412 } // namespace v8
413 413
414 #endif // V8_COMPILER_WASM_COMPILER_H_ 414 #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