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

Unified Diff: src/factory.cc

Issue 579153003: Move state sentinels into TypeFeedbackVector. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ports. Created 6 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
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('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/factory.cc
diff --git a/src/factory.cc b/src/factory.cc
index e4c106e8c250512dad82896f2b1f2ccaa9a2dbea..a796f2a8ac9e488a391051d6de32a5a2eca5d6ae 100644
--- a/src/factory.cc
+++ b/src/factory.cc
@@ -1889,7 +1889,7 @@ void Factory::BecomeJSFunction(Handle<JSProxy> proxy) {
Handle<TypeFeedbackVector> Factory::NewTypeFeedbackVector(int slot_count) {
// Ensure we can skip the write barrier
DCHECK_EQ(isolate()->heap()->uninitialized_symbol(),
- *TypeFeedbackInfo::UninitializedSentinel(isolate()));
+ *TypeFeedbackVector::UninitializedSentinel(isolate()));
if (slot_count == 0) {
return Handle<TypeFeedbackVector>::cast(empty_fixed_array());
@@ -1898,7 +1898,7 @@ Handle<TypeFeedbackVector> Factory::NewTypeFeedbackVector(int slot_count) {
CALL_HEAP_FUNCTION(isolate(),
isolate()->heap()->AllocateFixedArrayWithFiller(
slot_count, TENURED,
- *TypeFeedbackInfo::UninitializedSentinel(isolate())),
+ *TypeFeedbackVector::UninitializedSentinel(isolate())),
TypeFeedbackVector);
}
« no previous file with comments | « src/arm64/full-codegen-arm64.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698