Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index b9722d18719d3d0884dcbaac5ba56f135527a894..0c9f3af41f325114e9bd23d22b18b17e61a4a7ee 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -135,6 +135,7 @@ void CodeStub::VerifyPlatformFeatures(Isolate* isolate) { |
Handle<Code> CodeStub::GetCode(Isolate* isolate) { |
+ Factory* factory = isolate->factory(); |
Heap* heap = isolate->heap(); |
Code* code; |
if (UseSpecialCache() |
@@ -169,7 +170,7 @@ Handle<Code> CodeStub::GetCode(Isolate* isolate) { |
} else { |
// Update the dictionary and the root in Heap. |
Handle<UnseededNumberDictionary> dict = |
- UnseededNumberDictionary::AtNumberPut( |
+ factory->DictionaryAtNumberPut( |
Handle<UnseededNumberDictionary>(heap->code_stubs()), |
GetKey(), |
new_object); |