| Index: src/type-info.cc
|
| ===================================================================
|
| --- src/type-info.cc (revision 10379)
|
| +++ src/type-info.cc (working copy)
|
| @@ -69,7 +69,7 @@
|
|
|
| Handle<Object> TypeFeedbackOracle::GetInfo(unsigned ast_id) {
|
| int entry = dictionary_->FindEntry(ast_id);
|
| - return entry != NumberDictionary::kNotFound
|
| + return entry != UnseededNumberDictionary::kNotFound
|
| ? Handle<Object>(dictionary_->ValueAt(entry))
|
| : Isolate::Current()->factory()->undefined_value();
|
| }
|
| @@ -470,7 +470,7 @@
|
| ZoneList<RelocInfo>* infos) {
|
| DisableAssertNoAllocation allocation_allowed;
|
| byte* old_start = code->instruction_start();
|
| - dictionary_ = FACTORY->NewNumberDictionary(infos->length());
|
| + dictionary_ = FACTORY->NewUnseededNumberDictionary(infos->length());
|
| byte* new_start = code->instruction_start();
|
| RelocateRelocInfos(infos, old_start, new_start);
|
| }
|
| @@ -536,7 +536,7 @@
|
|
|
|
|
| void TypeFeedbackOracle::SetInfo(unsigned ast_id, Object* target) {
|
| - ASSERT(dictionary_->FindEntry(ast_id) == NumberDictionary::kNotFound);
|
| + ASSERT(dictionary_->FindEntry(ast_id) == UnseededNumberDictionary::kNotFound);
|
| MaybeObject* maybe_result = dictionary_->AtNumberPut(ast_id, target);
|
| USE(maybe_result);
|
| #ifdef DEBUG
|
|
|