Lines Matching refs:ast_id

71 static uint32_t IdToKey(TypeFeedbackId ast_id) {
72 return static_cast<uint32_t>(ast_id.ToInt());
76 Handle<Object> TypeFeedbackOracle::GetInfo(TypeFeedbackId ast_id) {
77 int entry = dictionary_->FindEntry(IdToKey(ast_id));
92 TypeFeedbackId ast_id) {
93 int entry = dictionary_->FindEntry(IdToKey(ast_id));
141 bool TypeFeedbackOracle::StoreIsUninitialized(TypeFeedbackId ast_id) {
142 Handle<Object> map_or_code = GetInfo(ast_id);
150 bool TypeFeedbackOracle::StoreIsMonomorphicNormal(TypeFeedbackId ast_id) {
151 Handle<Object> map_or_code = GetInfo(ast_id);
173 bool TypeFeedbackOracle::StoreIsKeyedPolymorphic(TypeFeedbackId ast_id) {
174 Handle<Object> map_or_code = GetInfo(ast_id);
230 TypeFeedbackId ast_id) {
231 ASSERT(StoreIsMonomorphicNormal(ast_id));
232 Handle<Object> map_or_code = GetInfo(ast_id);
245 TypeFeedbackId ast_id) {
246 Handle<Object> map_or_code = GetInfo(ast_id);
467 void TypeFeedbackOracle::CollectReceiverTypes(TypeFeedbackId ast_id,
471 Handle<Object> object = GetInfo(ast_id);
530 void TypeFeedbackOracle::CollectKeyedReceiverTypes(TypeFeedbackId ast_id,
532 Handle<Object> object = GetInfo(ast_id);
543 TypeFeedbackId ast_id,
545 Handle<Object> object = GetInfo(ast_id);
615 TypeFeedbackId ast_id =
626 SetInfo(ast_id, Smi::FromInt(target->check_type()));
630 SetInfo(ast_id, static_cast<Object*>(target));
634 if (feedback != NULL) SetInfo(ast_id, feedback);
638 SetInfo(ast_id, target);
646 SetInfo(ast_id, target);
654 SetInfo(ast_id, target);
670 TypeFeedbackId ast_id = cache->AstId(i);
678 SetInfo(ast_id, cell);
684 void TypeFeedbackOracle::SetInfo(TypeFeedbackId ast_id, Object* target) {
685 ASSERT(dictionary_->FindEntry(IdToKey(ast_id)) ==
687 MaybeObject* maybe_result = dictionary_->AtNumberPut(IdToKey(ast_id), target);