Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index c5e00ea44cff454a951b89e29973a0b9f98d29ee..a2da8031a4ad73479f43e773ffcf469a3366e0e9 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -766,6 +766,12 @@ void FastNewClosureStub::InstallDescriptors(Isolate* isolate) { |
} |
+void FastNewContextStub::InstallDescriptors(Isolate* isolate) { |
+ FastNewContextStub stub(FastNewContextStub::kMaximumSlots); |
+ InstallDescriptor(isolate, &stub); |
+} |
+ |
+ |
// static |
void BinaryOpICStub::InstallDescriptors(Isolate* isolate) { |
BinaryOpICStub stub(Token::ADD, NO_OVERWRITE); |