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

Unified Diff: test/unittests/wasm/function-body-decoder-unittest.cc

Issue 2619063002: s390: Fix FunctionBodyDecoderTest to compile with gcc4.8.5 (Closed)
Patch Set: removed unnecessary parenthesis 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/wasm/function-body-decoder-unittest.cc
diff --git a/test/unittests/wasm/function-body-decoder-unittest.cc b/test/unittests/wasm/function-body-decoder-unittest.cc
index ffac2637f1eb3b15a96c7ebdc1e91c2b254a96af..eb6b370b8c5e040eb4a6d10dcc312b55710f577a 100644
--- a/test/unittests/wasm/function-body-decoder-unittest.cc
+++ b/test/unittests/wasm/function-body-decoder-unittest.cc
@@ -1854,7 +1854,7 @@ TEST_F(FunctionBodyDecoderTest, BreakNesting_6_levels) {
int depth = 6;
int m = mask;
- for (size_t pos = 0; pos < sizeof(code); pos++) {
+ for (size_t pos = 0; pos < sizeof(code) - 1; pos++) {
if (code[pos] != kExprBlock) continue;
if (m & 1) {
code[pos] = kExprLoop;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698