| 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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 717   CHECK(IsExecutableAccessorInfo()); | 717   CHECK(IsExecutableAccessorInfo()); | 
| 718   AccessorInfoVerify(); | 718   AccessorInfoVerify(); | 
| 719   VerifyPointer(getter()); | 719   VerifyPointer(getter()); | 
| 720   VerifyPointer(setter()); | 720   VerifyPointer(setter()); | 
| 721   VerifyPointer(data()); | 721   VerifyPointer(data()); | 
| 722 } | 722 } | 
| 723 | 723 | 
| 724 | 724 | 
| 725 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorVerify() { | 725 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorVerify() { | 
| 726   CHECK(IsDeclaredAccessorDescriptor()); | 726   CHECK(IsDeclaredAccessorDescriptor()); | 
| 727   VerifySmiField(kInternalFieldOffset); | 727   VerifyPointer(serialized_descriptor()); | 
| 728 } | 728 } | 
| 729 | 729 | 
| 730 | 730 | 
| 731 void DeclaredAccessorInfo::DeclaredAccessorInfoVerify() { | 731 void DeclaredAccessorInfo::DeclaredAccessorInfoVerify() { | 
| 732   CHECK(IsDeclaredAccessorInfo()); | 732   CHECK(IsDeclaredAccessorInfo()); | 
| 733   AccessorInfoVerify(); | 733   AccessorInfoVerify(); | 
| 734   VerifyPointer(descriptor()); | 734   VerifyPointer(descriptor()); | 
| 735 } | 735 } | 
| 736 | 736 | 
| 737 | 737 | 
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1048   for (int i = 0; i < number_of_transitions(); ++i) { | 1048   for (int i = 0; i < number_of_transitions(); ++i) { | 
| 1049     if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1049     if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 
| 1050   } | 1050   } | 
| 1051   return true; | 1051   return true; | 
| 1052 } | 1052 } | 
| 1053 | 1053 | 
| 1054 | 1054 | 
| 1055 #endif  // DEBUG | 1055 #endif  // DEBUG | 
| 1056 | 1056 | 
| 1057 } }  // namespace v8::internal | 1057 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|