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

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

Issue 2627543003: [wasm] Prerequisites for WebAssembly Table.Grow (Closed)
Patch Set: Rename update function Created 3 years, 11 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/compiler/mips64/code-generator-mips64.cc ('k') | 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 231
232 private: 232 private:
233 static const int kDefaultBufferSize = 16; 233 static const int kDefaultBufferSize = 16;
234 friend class WasmTrapHelper; 234 friend class WasmTrapHelper;
235 235
236 Zone* zone_; 236 Zone* zone_;
237 JSGraph* jsgraph_; 237 JSGraph* jsgraph_;
238 wasm::ModuleEnv* module_ = nullptr; 238 wasm::ModuleEnv* module_ = nullptr;
239 Node* mem_buffer_ = nullptr; 239 Node* mem_buffer_ = nullptr;
240 Node* mem_size_ = nullptr; 240 Node* mem_size_ = nullptr;
241 NodeVector signature_tables_;
241 NodeVector function_tables_; 242 NodeVector function_tables_;
242 NodeVector function_table_sizes_; 243 NodeVector function_table_sizes_;
243 Node** control_ = nullptr; 244 Node** control_ = nullptr;
244 Node** effect_ = nullptr; 245 Node** effect_ = nullptr;
245 Node** cur_buffer_; 246 Node** cur_buffer_;
246 size_t cur_bufsize_; 247 size_t cur_bufsize_;
247 Node* def_buffer_[kDefaultBufferSize]; 248 Node* def_buffer_[kDefaultBufferSize];
248 bool has_simd_ = false; 249 bool has_simd_ = false;
249 250
250 WasmTrapHelper* trap_; 251 WasmTrapHelper* trap_;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 } 372 }
372 373
373 int AddParameterNodes(Node** args, int pos, int param_count, 374 int AddParameterNodes(Node** args, int pos, int param_count,
374 wasm::FunctionSig* sig); 375 wasm::FunctionSig* sig);
375 }; 376 };
376 } // namespace compiler 377 } // namespace compiler
377 } // namespace internal 378 } // namespace internal
378 } // namespace v8 379 } // namespace v8
379 380
380 #endif // V8_COMPILER_WASM_COMPILER_H_ 381 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/mips64/code-generator-mips64.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698