Chromium Code Reviews

Unified Diff: src/objects-inl.h

Issue 11818021: Allocation Info Tracking, continued. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« src/objects.cc ('K') | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 28c11a646092590960f091e8e5718ccd2fcf9499..791ca3346c04837a0db539ddaf033848fb33db5d 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -5708,6 +5708,11 @@ Handle<Object> TypeFeedbackCells::MegamorphicSentinel(Isolate* isolate) {
}
+Handle<Object> TypeFeedbackCells::MonomorphicArraySentinel(
+ ElementsKind elements_kind) {
+ return Handle<Object>(Smi::FromInt(static_cast<int>(elements_kind)));
+}
+
Object* TypeFeedbackCells::RawUninitializedSentinel(Heap* heap) {
return heap->the_hole_value();
}
« src/objects.cc ('K') | « src/objects.cc ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine