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

Unified Diff: src/full-codegen/full-codegen.cc

Issue 1364373003: Full code shouldn't embed the type feedback vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 5 years, 3 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/full-codegen/full-codegen.cc
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc
index 69237b10aa2c8bb575e0a6897a5e210d877b0279..a29b59cf1121b5207dd4b93630c4164724bca76e 100644
--- a/src/full-codegen/full-codegen.cc
+++ b/src/full-codegen/full-codegen.cc
@@ -91,28 +91,6 @@ unsigned FullCodeGenerator::EmitBackEdgeTable() {
}
-void FullCodeGenerator::EnsureSlotContainsAllocationSite(
- FeedbackVectorSlot slot) {
- Handle<TypeFeedbackVector> vector = FeedbackVector();
- if (!vector->Get(slot)->IsAllocationSite()) {
- Handle<AllocationSite> allocation_site =
- isolate()->factory()->NewAllocationSite();
- vector->Set(slot, *allocation_site);
- }
-}
-
-
-void FullCodeGenerator::EnsureSlotContainsAllocationSite(
- FeedbackVectorICSlot slot) {
- Handle<TypeFeedbackVector> vector = FeedbackVector();
- if (!vector->Get(slot)->IsAllocationSite()) {
- Handle<AllocationSite> allocation_site =
- isolate()->factory()->NewAllocationSite();
- vector->Set(slot, *allocation_site);
- }
-}
-
-
void FullCodeGenerator::PopulateDeoptimizationData(Handle<Code> code) {
// Fill in the deoptimization information.
DCHECK(info_->HasDeoptimizationSupport() || bailout_entries_.is_empty());

Powered by Google App Engine
This is Rietveld 408576698