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

Unified Diff: src/interpreter/interpreter.cc

Issue 1678103002: [interpreter] Remove special "prototype" load in class literals. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 6f64d63eb7e7cd6e344418c4cb5e5b76ce082c1c..4fd04d81c3142273e19125ed6dcea50ef3edbada 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -829,18 +829,6 @@ void Interpreter::DoKeyedStoreICStrictWide(
DoKeyedStoreIC(ic, assembler);
}
-// LdaInitialMap
-//
-// Loads the prototype or initial map of the JSFunction referenced by
-// the accumulator. The result is placed in the accumulator.
-void Interpreter::DoLdaInitialMap(compiler::InterpreterAssembler* assembler) {
- Node* js_function = __ GetAccumulator();
- Node* initial_map =
- __ LoadObjectField(js_function, JSFunction::kPrototypeOrInitialMapOffset);
- __ SetAccumulator(initial_map);
- __ Dispatch();
-}
-
// PushContext <context>
//
// Saves the current context in <context>, and pushes the accumulator as the

Powered by Google App Engine
This is Rietveld 408576698