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

Unified Diff: src/interpreter/bytecode-array-iterator.cc

Issue 1362383002: [Interpreter] Add CallRuntime support to the interpreter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Move function address calculation into bytecode handler and have an option on CEntry stub for argv_… 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
Index: src/interpreter/bytecode-array-iterator.cc
diff --git a/src/interpreter/bytecode-array-iterator.cc b/src/interpreter/bytecode-array-iterator.cc
index 8fea9843a416378824083cdc86110104061f60e5..4549944c4040d94bdbbd496a05836bac960d40f2 100644
--- a/src/interpreter/bytecode-array-iterator.cc
+++ b/src/interpreter/bytecode-array-iterator.cc
@@ -59,6 +59,12 @@ int8_t BytecodeArrayIterator::GetSmi8Operand(int operand_index) const {
}
+int BytecodeArrayIterator::GetCountOperand(int operand_index) const {
+ uint32_t operand = GetRawOperand(operand_index, OperandType::kCount);
+ return static_cast<int>(operand);
+}
+
+
int BytecodeArrayIterator::GetIndexOperand(int operand_index) const {
uint32_t operand = GetRawOperand(operand_index, OperandType::kIdx);
return static_cast<int>(operand);

Powered by Google App Engine
This is Rietveld 408576698