| 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 5608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5619 STATIC_ASSERT(LAST_TYPE == LAST_JS_OBJECT_TYPE); | 5619 STATIC_ASSERT(LAST_TYPE == LAST_JS_OBJECT_TYPE); |
| 5620 return instance_type() >= FIRST_JS_OBJECT_TYPE; | 5620 return instance_type() >= FIRST_JS_OBJECT_TYPE; |
| 5621 } | 5621 } |
| 5622 | 5622 |
| 5623 // Fires when the layout of an object with a leaf map changes. | 5623 // Fires when the layout of an object with a leaf map changes. |
| 5624 // This includes adding transitions to the leaf map or changing | 5624 // This includes adding transitions to the leaf map or changing |
| 5625 // the descriptor array. | 5625 // the descriptor array. |
| 5626 inline void NotifyLeafMapLayoutChange(); | 5626 inline void NotifyLeafMapLayoutChange(); |
| 5627 | 5627 |
| 5628 inline bool CanOmitPrototypeChecks(); | 5628 inline bool CanOmitPrototypeChecks(); |
| 5629 inline bool CanOmitMapChecks(); |
| 5629 | 5630 |
| 5630 void AddDependentCompilationInfo(DependentCode::DependencyGroup group, | 5631 void AddDependentCompilationInfo(DependentCode::DependencyGroup group, |
| 5631 CompilationInfo* info); | 5632 CompilationInfo* info); |
| 5632 | 5633 |
| 5633 void AddDependentCode(DependentCode::DependencyGroup group, | 5634 void AddDependentCode(DependentCode::DependencyGroup group, |
| 5634 Handle<Code> code); | 5635 Handle<Code> code); |
| 5635 | 5636 |
| 5636 bool IsMapInArrayPrototypeChain(); | 5637 bool IsMapInArrayPrototypeChain(); |
| 5637 | 5638 |
| 5638 // Dispatched behavior. | 5639 // Dispatched behavior. |
| (...skipping 4238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9877 } else { | 9878 } else { |
| 9878 value &= ~(1 << bit_position); | 9879 value &= ~(1 << bit_position); |
| 9879 } | 9880 } |
| 9880 return value; | 9881 return value; |
| 9881 } | 9882 } |
| 9882 }; | 9883 }; |
| 9883 | 9884 |
| 9884 } } // namespace v8::internal | 9885 } } // namespace v8::internal |
| 9885 | 9886 |
| 9886 #endif // V8_OBJECTS_H_ | 9887 #endif // V8_OBJECTS_H_ |
| OLD | NEW |