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

Unified Diff: src/heap/heap.cc

Issue 1424153003: VectorICs: Remove --vector-stores flag. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Response to Hannes comment. Created 5 years, 1 month 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/heap/heap.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index 38f6c1f4f0291955cce3acdbf8072ded7cd804df..67bd4a7b52938c4494aa80021002cd7e04018092 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -499,27 +499,6 @@ const char* Heap::GetSpaceName(int idx) {
}
-void Heap::ClearAllKeyedStoreICs() {
- if (FLAG_vector_stores) {
- TypeFeedbackVector::ClearAllKeyedStoreICs(isolate_);
- return;
- }
-
- // TODO(mvstanton): Remove this function when FLAG_vector_stores is turned on
- // permanently, and divert all callers to KeyedStoreIC::ClearAllKeyedStoreICs.
- HeapObjectIterator it(code_space());
-
- for (Object* object = it.Next(); object != NULL; object = it.Next()) {
- Code* code = Code::cast(object);
- Code::Kind current_kind = code->kind();
- if (current_kind == Code::FUNCTION ||
- current_kind == Code::OPTIMIZED_FUNCTION) {
- code->ClearInlineCaches(Code::KEYED_STORE_IC);
- }
- }
-}
-
-
void Heap::RepairFreeListsAfterDeserialization() {
PagedSpaces spaces(this);
for (PagedSpace* space = spaces.next(); space != NULL;
« no previous file with comments | « src/heap/heap.h ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698