Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 895569d41357ca34acea2c232dc406044a8cd64d..ecd8ef2d563049b294c2e714bea9cac69704b68e 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -679,6 +679,9 @@ void FastCloneShallowObjectStub::InitializeDescriptor( |
void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
+void CreateWeakCellStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
+ |
+ |
void RegExpConstructResultStub::InitializeDescriptor( |
CodeStubDescriptor* descriptor) { |
descriptor->Initialize( |
@@ -738,6 +741,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: |