Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 2c9f1fb94d264c93044d0386dc097dcdbea7f10b..6ef0804e5571e30a5b15fb893ebc8794d828a6a5 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 { |