| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index 5113c550ecc2c9b5c4d57dbabcdbe4c2dd7bcf20..aa0326feeb92e818db77fc387bca1329e7f07a18 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -91,13 +91,12 @@ Handle<Object> TypeFeedbackOracle::GetInfo(TypeFeedbackId ast_id) {
|
| }
|
|
|
|
|
| -Handle<JSGlobalPropertyCell> TypeFeedbackOracle::GetInfoCell(
|
| +Handle<Cell> TypeFeedbackOracle::GetInfoCell(
|
| TypeFeedbackId ast_id) {
|
| int entry = dictionary_->FindEntry(IdToKey(ast_id));
|
| if (entry != UnseededNumberDictionary::kNotFound) {
|
| - JSGlobalPropertyCell* cell = JSGlobalPropertyCell::cast(
|
| - dictionary_->ValueAt(entry));
|
| - return Handle<JSGlobalPropertyCell>(cell, isolate_);
|
| + Cell* cell = Cell::cast(dictionary_->ValueAt(entry));
|
| + return Handle<Cell>(cell, isolate_);
|
| }
|
| return Handle<JSGlobalPropertyCell>::null();
|
| }
|
| @@ -335,8 +334,7 @@ Handle<JSFunction> TypeFeedbackOracle::GetCallNewTarget(CallNew* expr) {
|
| }
|
|
|
|
|
| -Handle<JSGlobalPropertyCell> TypeFeedbackOracle::GetCallNewAllocationInfoCell(
|
| - CallNew* expr) {
|
| +Handle<Cell> TypeFeedbackOracle::GetCallNewAllocationInfoCell(CallNew* expr) {
|
| return GetInfoCell(expr->CallNewFeedbackId());
|
| }
|
|
|
| @@ -759,7 +757,7 @@ void TypeFeedbackOracle::ProcessTypeFeedbackCells(Handle<Code> code) {
|
| TypeFeedbackInfo::cast(raw_info)->type_feedback_cells());
|
| for (int i = 0; i < cache->CellCount(); i++) {
|
| TypeFeedbackId ast_id = cache->AstId(i);
|
| - JSGlobalPropertyCell* cell = cache->Cell(i);
|
| + Cell* cell = cache->GetCell(i);
|
| Object* value = cell->value();
|
| if (value->IsSmi() ||
|
| (value->IsJSFunction() &&
|
|
|