OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 3461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3472 } | 3472 } |
3473 | 3473 |
3474 | 3474 |
3475 bool Map::is_observed() { | 3475 bool Map::is_observed() { |
3476 return IsObserved::decode(bit_field3()); | 3476 return IsObserved::decode(bit_field3()); |
3477 } | 3477 } |
3478 | 3478 |
3479 | 3479 |
3480 void Map::NotifyLeafMapLayoutChange() { | 3480 void Map::NotifyLeafMapLayoutChange() { |
3481 dependent_code()->DeoptimizeDependentCodeGroup( | 3481 dependent_code()->DeoptimizeDependentCodeGroup( |
| 3482 GetIsolate(), |
3482 DependentCode::kPrototypeCheckGroup); | 3483 DependentCode::kPrototypeCheckGroup); |
3483 } | 3484 } |
3484 | 3485 |
3485 | 3486 |
3486 bool Map::CanOmitPrototypeChecks() { | 3487 bool Map::CanOmitPrototypeChecks() { |
3487 return !HasTransitionArray() && !is_dictionary_map() && | 3488 return !HasTransitionArray() && !is_dictionary_map() && |
3488 FLAG_omit_prototype_checks_for_leaf_maps; | 3489 FLAG_omit_prototype_checks_for_leaf_maps; |
3489 } | 3490 } |
3490 | 3491 |
3491 | 3492 |
(...skipping 2518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6010 #undef WRITE_UINT32_FIELD | 6011 #undef WRITE_UINT32_FIELD |
6011 #undef READ_SHORT_FIELD | 6012 #undef READ_SHORT_FIELD |
6012 #undef WRITE_SHORT_FIELD | 6013 #undef WRITE_SHORT_FIELD |
6013 #undef READ_BYTE_FIELD | 6014 #undef READ_BYTE_FIELD |
6014 #undef WRITE_BYTE_FIELD | 6015 #undef WRITE_BYTE_FIELD |
6015 | 6016 |
6016 | 6017 |
6017 } } // namespace v8::internal | 6018 } } // namespace v8::internal |
6018 | 6019 |
6019 #endif // V8_OBJECTS_INL_H_ | 6020 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |