| Index: src/code-stubs.cc
|
| ===================================================================
|
| --- src/code-stubs.cc (revision 10379)
|
| +++ src/code-stubs.cc (working copy)
|
| @@ -40,7 +40,7 @@
|
| bool CodeStub::FindCodeInCache(Code** code_out) {
|
| Heap* heap = Isolate::Current()->heap();
|
| int index = heap->code_stubs()->FindEntry(GetKey());
|
| - if (index != NumberDictionary::kNotFound) {
|
| + if (index != UnseededNumberDictionary::kNotFound) {
|
| *code_out = Code::cast(heap->code_stubs()->ValueAt(index));
|
| return true;
|
| }
|
| @@ -121,9 +121,9 @@
|
| FinishCode(*new_object);
|
|
|
| // Update the dictionary and the root in Heap.
|
| - Handle<NumberDictionary> dict =
|
| + Handle<UnseededNumberDictionary> dict =
|
| factory->DictionaryAtNumberPut(
|
| - Handle<NumberDictionary>(heap->code_stubs()),
|
| + Handle<UnseededNumberDictionary>(heap->code_stubs()),
|
| GetKey(),
|
| new_object);
|
| heap->public_set_code_stubs(*dict);
|
| @@ -165,7 +165,7 @@
|
| MaybeObject* maybe_new_object =
|
| heap->code_stubs()->AtNumberPut(GetKey(), code);
|
| if (maybe_new_object->ToObject(&new_object)) {
|
| - heap->public_set_code_stubs(NumberDictionary::cast(new_object));
|
| + heap->public_set_code_stubs(UnseededNumberDictionary::cast(new_object));
|
| }
|
| }
|
|
|
|
|