| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index 3a83c41bb8fea807a5106c6b1e4490add1826e22..0fa46e75777cf6945d8d617c6e421603d0b8e454 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -633,7 +633,7 @@ byte TypeFeedbackOracle::CompareNilTypes(CompareOperation* expr) {
|
| // dictionary (possibly triggering GC), and finally we relocate the collected
|
| // infos before we process them.
|
| void TypeFeedbackOracle::BuildDictionary(Handle<Code> code) {
|
| - AssertNoAllocation no_allocation;
|
| + DisallowHeapAllocation no_allocation;
|
| ZoneList<RelocInfo> infos(16, zone());
|
| HandleScope scope(isolate_);
|
| GetRelocInfos(code, &infos);
|
| @@ -656,7 +656,7 @@ void TypeFeedbackOracle::GetRelocInfos(Handle<Code> code,
|
|
|
| void TypeFeedbackOracle::CreateDictionary(Handle<Code> code,
|
| ZoneList<RelocInfo>* infos) {
|
| - DisableAssertNoAllocation allocation_allowed;
|
| + AllowHeapAllocation allocation_allowed;
|
| int cell_count = code->type_feedback_info()->IsTypeFeedbackInfo()
|
| ? TypeFeedbackInfo::cast(code->type_feedback_info())->
|
| type_feedback_cells()->CellCount()
|
|
|