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

Unified Diff: src/compiler/wasm-compiler.h

Issue 1519013003: [wasm] Change the return type of traps for tests, and added ftoi64 instructions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32toui64
Patch Set: Fixed nits. Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/wasm-compiler.h
diff --git a/src/compiler/wasm-compiler.h b/src/compiler/wasm-compiler.h
index 1841fc5c142d20ac4d8911204cab086172049f41..54d1dbd6b84373ce435f89999140ce76ace72d0f 100644
--- a/src/compiler/wasm-compiler.h
+++ b/src/compiler/wasm-compiler.h
@@ -55,7 +55,7 @@ Handle<JSFunction> CompileJSToWasmWrapper(Isolate* isolate,
class WasmTrapHelper;
class WasmGraphBuilder {
public:
- WasmGraphBuilder(Zone* z, JSGraph* g);
+ WasmGraphBuilder(Zone* z, JSGraph* g, wasm::FunctionSig* function_signature);
Node** Buffer(size_t count) {
if (count > cur_bufsize_) {
@@ -132,6 +132,8 @@ class WasmGraphBuilder {
void set_effect_ptr(Node** effect) { this->effect_ = effect; }
+ wasm::FunctionSig* GetFunctionSignature() { return function_signature_; }
+
private:
static const int kDefaultBufferSize = 16;
friend class WasmTrapHelper;
@@ -149,6 +151,7 @@ class WasmGraphBuilder {
Node* def_buffer_[kDefaultBufferSize];
WasmTrapHelper* trap_;
+ wasm::FunctionSig* function_signature_;
// Internal helper methods.
JSGraph* jsgraph() { return jsgraph_; }
« 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