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

Unified Diff: test/unittests/interpreter/bytecode-array-builder-unittest.cc

Issue 1319833004: [Interpreter] Add support for property store operations. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_implicit_ret
Patch Set: Add DCHECK Created 5 years, 3 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/cctest/interpreter/test-interpreter.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/bytecode-array-builder-unittest.cc
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
index 353ab1584cf5e6a69c6e48a798812ab2ac3c5786..d1cee8cc5048ee8e31c30e446c52473b4047ffe0 100644
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
@@ -39,9 +39,11 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
Register reg(0);
builder.LoadAccumulatorWithRegister(reg).StoreAccumulatorInRegister(reg);
- // Emit load property operations.
- builder.LoadNamedProperty(reg, 0, LanguageMode::SLOPPY);
- builder.LoadKeyedProperty(reg, 0, LanguageMode::STRICT);
+ // Emit load / store property operations.
+ builder.LoadNamedProperty(reg, 0, LanguageMode::SLOPPY)
+ .LoadKeyedProperty(reg, 0, LanguageMode::SLOPPY)
+ .StoreNamedProperty(reg, reg, 0, LanguageMode::SLOPPY)
+ .StoreKeyedProperty(reg, reg, 0, LanguageMode::SLOPPY);
// Emit binary operators invocations.
builder.BinaryOperation(Token::Value::ADD, reg)
« no previous file with comments | « test/cctest/interpreter/test-interpreter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698