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

Unified Diff: src/interpreter/interpreter.cc

Issue 2142273003: [interpreter] Inline Star on dispatch for some bytecodes (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed nitpicks Created 4 years, 5 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/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index 1d12bfbc17c838bf50af90056852489f2aa7e3e0..1da8bc0380b080a0b1fe884dfd7f199bcd361a45 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -370,9 +370,7 @@ void Interpreter::DoLdar(InterpreterAssembler* assembler) {
//
// Store accumulator to register <dst>.
void Interpreter::DoStar(InterpreterAssembler* assembler) {
- Node* reg_index = __ BytecodeOperandReg(0);
- Node* accumulator = __ GetAccumulator();
- __ StoreRegister(accumulator, reg_index);
+ __ StoreAccumulatorToRegister();
rmcilroy 2016/07/18 11:07:52 Not so keen on inlining this into the interpreter-
klaasb 2016/07/18 15:15:29 Done. Inlined.
__ Dispatch();
}

Powered by Google App Engine
This is Rietveld 408576698