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

Unified Diff: src/type-feedback-vector.cc

Issue 1115973005: Revert of Collect type feedback on result of Math.[round|ceil|floor] (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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/type-feedback-vector.h ('k') | src/type-info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-feedback-vector.cc
diff --git a/src/type-feedback-vector.cc b/src/type-feedback-vector.cc
index 9b03e0fc1b513f4ed79a83324eaa878751658101..3cf81f8c5f16228f2fece4935adcfe77e722b446 100644
--- a/src/type-feedback-vector.cc
+++ b/src/type-feedback-vector.cc
@@ -4,7 +4,6 @@
#include "src/v8.h"
-#include "src/code-stubs.h"
#include "src/ic/ic.h"
#include "src/ic/ic-state.h"
#include "src/objects.h"
@@ -313,9 +312,7 @@
Isolate* isolate = GetIsolate();
Object* feedback = GetFeedback();
DCHECK(!FLAG_vector_ics ||
- GetFeedbackExtra() == *vector()->UninitializedSentinel(isolate) ||
- GetFeedbackExtra() ==
- Smi::FromInt(CallICStub::kHasReturnedMinusZeroSentinel));
+ GetFeedbackExtra() == *vector()->UninitializedSentinel(isolate));
if (feedback == *vector()->MegamorphicSentinel(isolate)) {
return GENERIC;
@@ -343,14 +340,6 @@
GetIsolate()->factory()->NewAllocationSite();
SetFeedback(*new_site);
}
-}
-
-
-void CallICNexus::ConfigureMonomorphicMathFunction(
- Handle<JSFunction> function) {
- Handle<WeakCell> new_cell = GetIsolate()->factory()->NewWeakCell(function);
- SetFeedback(*new_cell);
- SetFeedbackExtra(*vector()->UninitializedSentinel(GetIsolate()));
}
« no previous file with comments | « src/type-feedback-vector.h ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698