Index: test/unittests/wasm/loop-assignment-analysis-unittest.cc |
diff --git a/test/unittests/wasm/loop-assignment-analysis-unittest.cc b/test/unittests/wasm/loop-assignment-analysis-unittest.cc |
index d4148020fb005cccd7f2a5908e1a676730d034e3..7d97c5065e814284f1b956ffbcab0d90b6c22304 100644 |
--- a/test/unittests/wasm/loop-assignment-analysis-unittest.cc |
+++ b/test/unittests/wasm/loop-assignment-analysis-unittest.cc |
@@ -32,14 +32,12 @@ class WasmLoopAssignmentAnalyzerTest : public TestWithZone { |
} |
}; |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, Empty0) { |
byte code[] = { 0 }; |
BitVector* assigned = Analyze(code, code); |
CHECK_NULL(assigned); |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, Empty1) { |
byte code[] = {kExprLoop, 0}; |
for (int i = 0; i < 5; i++) { |
@@ -51,7 +49,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, Empty1) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, One) { |
num_locals = 5; |
for (int i = 0; i < 5; i++) { |
@@ -63,7 +60,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, One) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, OneBeyond) { |
num_locals = 5; |
for (int i = 0; i < 5; i++) { |
@@ -75,7 +71,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, OneBeyond) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, Two) { |
num_locals = 5; |
for (int i = 0; i < 5; i++) { |
@@ -90,7 +85,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, Two) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, NestedIf) { |
num_locals = 5; |
for (int i = 0; i < 5; i++) { |
@@ -104,14 +98,12 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, NestedIf) { |
} |
} |
- |
static byte LEBByte(uint32_t val, byte which) { |
byte b = (val >> (which * 7)) & 0x7F; |
if (val >> ((which + 1) * 7)) b |= 0x80; |
return b; |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, BigLocal) { |
num_locals = 65000; |
for (int i = 13; i < 65000; i = static_cast<int>(i * 1.5)) { |
@@ -133,7 +125,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, BigLocal) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, Break) { |
num_locals = 3; |
byte code[] = { |
@@ -147,7 +138,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, Break) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, Loop1) { |
num_locals = 5; |
byte code[] = { |
@@ -164,7 +154,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, Loop1) { |
} |
} |
- |
TEST_F(WasmLoopAssignmentAnalyzerTest, Loop2) { |
num_locals = 6; |
const byte kIter = 0; |
@@ -191,7 +180,6 @@ TEST_F(WasmLoopAssignmentAnalyzerTest, Loop2) { |
} |
} |
- |
} // namespace wasm |
} // namespace internal |
} // namespace v8 |