Reviewers: Hannes Payer,
Description:
Remove obsolete CodeFlusher debug code.
[email protected]
Please review this at https://codereview.chromium.org/12456002/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/mark-compact.h
M src/mark-compact.cc
Index: src/mark-compact.cc
diff --git a/src/mark-compact.cc b/src/mark-compact.cc
index
ea797a5866a63fb26dd46b76baeadb85effeccc6..a0cb679bbd01988c115f10c6a6b53e96bdf434be
100644
--- a/src/mark-compact.cc
+++ b/src/mark-compact.cc
@@ -1061,16 +1061,6 @@ void
CodeFlusher::ProcessSharedFunctionInfoCandidates() {
}
-bool CodeFlusher::ContainsCandidate(SharedFunctionInfo* shared_info) {
- SharedFunctionInfo* candidate = shared_function_info_candidates_head_;
- while (candidate != NULL) {
- if (candidate == shared_info) return true;
- candidate = GetNextCandidate(candidate);
- }
- return false;
-}
-
-
void CodeFlusher::EvictCandidate(SharedFunctionInfo* shared_info) {
// Make sure previous flushing decisions are revisited.
isolate_->heap()->incremental_marking()->RecordWrites(shared_info);
Index: src/mark-compact.h
diff --git a/src/mark-compact.h b/src/mark-compact.h
index
b5d60fd41e80f81f5395dff0ee0f665dc161c8d2..bfe8a3bd2192d7701e90ee5bbd1b3748672b9826
100644
--- a/src/mark-compact.h
+++ b/src/mark-compact.h
@@ -423,10 +423,6 @@ class CodeFlusher {
if (GetNextCandidate(shared_info) == NULL) {
SetNextCandidate(shared_info, shared_function_info_candidates_head_);
shared_function_info_candidates_head_ = shared_info;
- } else {
- // TODO(mstarzinger): Active in release mode to flush out problems.
- // Should be turned back into an ASSERT or removed completely.
- CHECK(ContainsCandidate(shared_info));
}
}
@@ -438,8 +434,6 @@ class CodeFlusher {
}
}
- bool ContainsCandidate(SharedFunctionInfo* shared_info);
-
void EvictCandidate(SharedFunctionInfo* shared_info);
void EvictCandidate(JSFunction* function);
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.