| 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 4670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4681 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether | 4681 // [marked_for_deoptimization]: For kind OPTIMIZED_FUNCTION tells whether |
| 4682 // the code is going to be deoptimized because of dead embedded maps. | 4682 // the code is going to be deoptimized because of dead embedded maps. |
| 4683 inline bool marked_for_deoptimization(); | 4683 inline bool marked_for_deoptimization(); |
| 4684 inline void set_marked_for_deoptimization(bool flag); | 4684 inline void set_marked_for_deoptimization(bool flag); |
| 4685 | 4685 |
| 4686 bool allowed_in_shared_map_code_cache(); | 4686 bool allowed_in_shared_map_code_cache(); |
| 4687 | 4687 |
| 4688 // Get the safepoint entry for the given pc. | 4688 // Get the safepoint entry for the given pc. |
| 4689 SafepointEntry GetSafepointEntry(Address pc); | 4689 SafepointEntry GetSafepointEntry(Address pc); |
| 4690 | 4690 |
| 4691 // Find an object in a stub with a specified map |
| 4692 Object* FindNthObject(int n, Map* match_map); |
| 4693 void ReplaceNthObject(int n, Map* match_map, Object* replace_with); |
| 4694 |
| 4691 // Find the first map in an IC stub. | 4695 // Find the first map in an IC stub. |
| 4692 Map* FindFirstMap(); | 4696 Map* FindFirstMap(); |
| 4693 void FindAllMaps(MapHandleList* maps); | 4697 void FindAllMaps(MapHandleList* maps); |
| 4694 void ReplaceFirstMap(Map* replace); | 4698 void ReplaceFirstMap(Map* replace); |
| 4695 | 4699 |
| 4696 // Find the first code in an IC stub. | 4700 // Find the first code in an IC stub. |
| 4697 Code* FindFirstCode(); | 4701 Code* FindFirstCode(); |
| 4698 void FindAllCode(CodeHandleList* code_list, int length); | 4702 void FindAllCode(CodeHandleList* code_list, int length); |
| 4699 | 4703 |
| 4700 // Find the first name in an IC stub. | 4704 // Find the first name in an IC stub. |
| 4701 Name* FindFirstName(); | 4705 Name* FindFirstName(); |
| 4702 | 4706 |
| 4707 void ReplaceNthCell(int n, Cell* replace_with); |
| 4708 |
| 4703 class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; | 4709 class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; |
| 4704 class ExtraICStateKeyedAccessStoreMode: | 4710 class ExtraICStateKeyedAccessStoreMode: |
| 4705 public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT | 4711 public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT |
| 4706 | 4712 |
| 4707 class ExtraICStateStubHolder: public BitField<StubHolder, 0, 1> {}; | 4713 class ExtraICStateStubHolder: public BitField<StubHolder, 0, 1> {}; |
| 4708 | 4714 |
| 4709 static inline StrictModeFlag GetStrictMode(ExtraICState extra_ic_state) { | 4715 static inline StrictModeFlag GetStrictMode(ExtraICState extra_ic_state) { |
| 4710 return ExtraICStateStrictMode::decode(extra_ic_state); | 4716 return ExtraICStateStrictMode::decode(extra_ic_state); |
| 4711 } | 4717 } |
| 4712 | 4718 |
| (...skipping 5015 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9728 } else { | 9734 } else { |
| 9729 value &= ~(1 << bit_position); | 9735 value &= ~(1 << bit_position); |
| 9730 } | 9736 } |
| 9731 return value; | 9737 return value; |
| 9732 } | 9738 } |
| 9733 }; | 9739 }; |
| 9734 | 9740 |
| 9735 } } // namespace v8::internal | 9741 } } // namespace v8::internal |
| 9736 | 9742 |
| 9737 #endif // V8_OBJECTS_H_ | 9743 #endif // V8_OBJECTS_H_ |
| OLD | NEW |