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

Unified Diff: src/interpreter/interpreter.cc

Issue 1400353002: [Interpreter]: Use vector store for array literal computed stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
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 | « src/interpreter/bytecodes.h ('k') | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index b687f1430f30f6ff10052f8679239e0ad926ae45..39ff4d964932be4d867da4ff365102ed22d7c873 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -347,26 +347,6 @@ void Interpreter::DoKeyedStoreICStrict(
}
-// KeyedStoreICGeneric <object> <key>
-//
-// Calls the generic KeyedStoreIC for <object> and the key <key> with the value
-// in the accumulator.
-void Interpreter::DoKeyedStoreICGeneric(
- compiler::InterpreterAssembler* assembler) {
- Callable ic =
- CodeFactory::KeyedStoreICInOptimizedCode(isolate_, SLOPPY, MEGAMORPHIC);
- Node* code_target = __ HeapConstant(ic.code());
- Node* object_reg_index = __ BytecodeOperandReg8(0);
- Node* object = __ LoadRegister(object_reg_index);
- Node* name_reg_index = __ BytecodeOperandReg8(1);
- Node* name = __ LoadRegister(name_reg_index);
- Node* value = __ GetAccumulator();
- Node* result = __ CallIC(ic.descriptor(), code_target, object, name, value);
- __ SetAccumulator(result);
- __ Dispatch();
-}
-
-
// PushContext <context>
//
// Pushes the accumulator as the current context, and saves it in <context>
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | test/cctest/interpreter/test-bytecode-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698