Chromium Code Reviews

Unified Diff: src/factory.h

Issue 640303006: Weak Cells (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | src/heap/heap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/factory.h
diff --git a/src/factory.h b/src/factory.h
index 8df53af0df9a63126066a1469b73b217e1b36537..089ab9757fab1bc0cadaa51e06f215965711ec0a 100644
--- a/src/factory.h
+++ b/src/factory.h
@@ -296,6 +296,8 @@ class Factory FINAL {
Handle<PropertyCell> NewPropertyCell(Handle<Object> value);
+ Handle<WeakCell> NewWeakCell(Handle<HeapObject> value);
+
// Allocate a tenured AllocationSite. It's payload is null.
Handle<AllocationSite> NewAllocationSite();
« no previous file with comments | « include/v8.h ('k') | src/factory.cc » ('j') | src/heap/heap.cc » ('J')

Powered by Google App Engine