Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 3a15fdaabc162c341999b9a9954950259b85b283..79a5efc44e8e959231394ec2977b3d8427d4e942 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -682,6 +682,9 @@ void FastCloneShallowObjectStub::InitializeDescriptor( |
void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
+void CreateWeakCellStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
+ |
+ |
void RegExpConstructResultStub::InitializeDescriptor( |
CodeStubDescriptor* descriptor) { |
descriptor->Initialize( |
@@ -741,6 +744,12 @@ void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { |
} |
+void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { |
+ CreateWeakCellStub stub(isolate); |
+ stub.GetCode(); |
+} |
+ |
+ |
void StoreElementStub::Generate(MacroAssembler* masm) { |
switch (elements_kind()) { |
case FAST_ELEMENTS: |