Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index b5ea4427c3369c91190e7c95c08fb16c06a54d58..864fbadbba4b2c0f7b0208ea00aaf89835c3eda4 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -63,6 +63,7 @@ namespace internal { |
V(BinaryOpWithAllocationSite) \ |
V(CompareNilIC) \ |
V(CreateAllocationSite) \ |
+ V(CreateWeakCell) \ |
V(ElementsTransitionAndStore) \ |
V(FastCloneShallowArray) \ |
V(FastCloneShallowObject) \ |
@@ -676,6 +677,17 @@ class CreateAllocationSiteStub : public HydrogenCodeStub { |
}; |
+class CreateWeakCellStub : public HydrogenCodeStub { |
+ public: |
+ explicit CreateWeakCellStub(Isolate* isolate) : HydrogenCodeStub(isolate) {} |
+ |
+ static void GenerateAheadOfTime(Isolate* isolate); |
+ |
+ DEFINE_CALL_INTERFACE_DESCRIPTOR(CreateWeakCell); |
+ DEFINE_HYDROGEN_CODE_STUB(CreateWeakCell, HydrogenCodeStub); |
+}; |
+ |
+ |
class InstanceofStub: public PlatformCodeStub { |
public: |
enum Flags { |