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

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

Issue 1379793004: [Interpreter] Add support for new local function context creation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_decl
Patch Set: Fix ia32 Created 5 years, 2 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
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 7c157d3b76759ec384f22ad31efd125f7afd3a88..731f5fb04e7c2dfdd4a472aa0e0bc2ec25b0f52a 100644
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
@@ -44,7 +44,9 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
builder.LoadGlobal(1);
builder.StoreGlobal(1, LanguageMode::SLOPPY);
- // Emit context load operations.
+ // Emit context operations.
+ builder.PushContext(reg);
+ builder.PopContext(reg);
builder.LoadContextSlot(reg, 1);
// Emit load / store property operations.

Powered by Google App Engine
This is Rietveld 408576698