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

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

Issue 2154723002: Revert of Convert SIMD wasm ops to runtime function calls (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/compiler/simd-lowering.cc ('k') | 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 133933cd2476ecddda2113f2dc6868bf5625692f..acf1fd8c10eb8a8240a3d49f92d4dc7b1cc54a97 100644
--- a/src/compiler/wasm-compiler.h
+++ b/src/compiler/wasm-compiler.h
@@ -22,7 +22,6 @@
class Graph;
class Operator;
class SourcePositionTable;
-class MachineOperatorBuilder;
} // namespace compiler
namespace wasm {
@@ -91,8 +90,6 @@
// Abstracts details of building TurboFan graph nodes for WASM to separate
// the WASM decoder from the internal details of TurboFan.
class WasmTrapHelper;
-enum class Conversion { kNone, kOpaque, kInt32, kFloat32, kFloat64 };
-typedef ZoneVector<Node*> NodeVector;
class WasmGraphBuilder {
public:
WasmGraphBuilder(
@@ -127,7 +124,6 @@
Node* Float32Constant(float value);
Node* Float64Constant(double value);
Node* HeapConstant(Handle<HeapObject> value);
- Node* DefaultS128Value();
Node* Binop(wasm::WasmOpcode opcode, Node* left, Node* right,
wasm::WasmCodePosition position = wasm::kNoCodePosition);
Node* Unop(wasm::WasmOpcode opcode, Node* input,
@@ -165,8 +161,6 @@
Node* FromJS(Node* node, Node* context, wasm::LocalType type);
Node* Invert(Node* node);
Node* FunctionTable();
- Node* ChangeToRuntimeCall(Node* node, Runtime::FunctionId function_id,
- Signature<Conversion>* signature);
//-----------------------------------------------------------------------
// Operations that concern the linear memory.
@@ -197,10 +191,6 @@
void Int64LoweringForTesting();
void SetSourcePosition(Node* node, wasm::WasmCodePosition position);
-
- Node* SimdOp(wasm::WasmOpcode opcode, const NodeVector& inputs);
-
- bool has_simd_ops() { return has_simd_ops_; }
private:
static const int kDefaultBufferSize = 16;
@@ -223,7 +213,6 @@
SetOncePointer<const Operator> allocate_heap_number_operator_;
compiler::SourcePositionTable* source_position_table_ = nullptr;
- bool has_simd_ops_;
// Internal helper methods.
JSGraph* jsgraph() { return jsgraph_; }
@@ -327,7 +316,6 @@
Node* BuildJavaScriptToNumber(Node* node, Node* context, Node* effect,
Node* control);
Node* BuildChangeInt32ToTagged(Node* value);
- Node* BuildChangeTaggedToInt32(Node* value);
Node* BuildChangeFloat64ToTagged(Node* value);
Node* BuildChangeTaggedToFloat64(Node* value);
@@ -360,9 +348,6 @@
if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*));
return buf;
}
-
- // Simd helper functions
- MachineOperatorBuilder* simd();
};
} // namespace compiler
} // namespace internal
« no previous file with comments | « src/compiler/simd-lowering.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698