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

Unified Diff: src/compiler/interpreter-assembler.cc

Issue 1425633002: [Interpreter] Add support for loading from / storing to outer context variables. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@int_conditional
Patch Set: 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
« no previous file with comments | « no previous file | src/compiler/raw-machine-assembler.h » ('j') | src/compiler/raw-machine-assembler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/interpreter-assembler.cc
diff --git a/src/compiler/interpreter-assembler.cc b/src/compiler/interpreter-assembler.cc
index 512bfb69e1fb5793646d83fc7587b0d80fe05cbe..3c2c4a3d38fe6140738ac717685067651a35e078 100644
--- a/src/compiler/interpreter-assembler.cc
+++ b/src/compiler/interpreter-assembler.cc
@@ -316,7 +316,8 @@ Node* InterpreterAssembler::StoreContextSlot(Node* context, Node* slot_index,
Node* offset =
IntPtrAdd(WordShl(slot_index, kPointerSizeLog2),
Int32Constant(Context::kHeaderSize - kHeapObjectTag));
- return raw_assembler_->Store(kMachAnyTagged, context, offset, value);
+ return raw_assembler_->Store(kMachAnyTagged, context, offset, value,
+ kFullWriteBarrier);
Michael Starzinger 2015/10/26 13:28:13 Hehe, yeah, this is a case of "scary default argum
rmcilroy 2015/10/26 15:37:51 Acknowledged.
}
« no previous file with comments | « no previous file | src/compiler/raw-machine-assembler.h » ('j') | src/compiler/raw-machine-assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698