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

Unified Diff: test/unittests/interpreter/register-translator-unittest.cc

Issue 1755563002: [interpreter] Properly collect for-in slow mode feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More recementation Created 4 years, 10 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 | « test/unittests/interpreter/bytecode-array-builder-unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/unittests/interpreter/register-translator-unittest.cc
diff --git a/test/unittests/interpreter/register-translator-unittest.cc b/test/unittests/interpreter/register-translator-unittest.cc
index e9f65a6af0b25429d84f2e78fa2cca0642f7e9b2..45f5fce85475cb0f48a12444414a3fc50cfa1a4d 100644
--- a/test/unittests/interpreter/register-translator-unittest.cc
+++ b/test/unittests/interpreter/register-translator-unittest.cc
@@ -249,9 +249,9 @@ TEST_F(RegisterTranslatorTest, BadRange2) {
Register cache_info_pair(194);
Register cache_info_pair_translated(cache_info_pair.index() + window_width());
uint32_t operands[] = {receiver.ToRawOperand(), index.ToRawOperand(),
- cache_info_pair.ToRawOperand()};
+ cache_info_pair.ToRawOperand(), 1};
ASSERT_DEATH_IF_SUPPORTED(
- translator()->TranslateInputRegisters(Bytecode::kForInNext, operands, 3),
+ translator()->TranslateInputRegisters(Bytecode::kForInNext, operands, 4),
kBadOperandRegex);
}
« no previous file with comments | « test/unittests/interpreter/bytecode-array-builder-unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698