OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 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 778 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 // Script files are often large, hard to read. | 789 // Script files are often large, hard to read. |
790 // PrintF("\n - script ="); | 790 // PrintF("\n - script ="); |
791 // script()->Print(); | 791 // script()->Print(); |
792 PrintF("\n - function token position = %d", function_token_position()); | 792 PrintF("\n - function token position = %d", function_token_position()); |
793 PrintF("\n - start position = %d", start_position()); | 793 PrintF("\n - start position = %d", start_position()); |
794 PrintF("\n - end position = %d", end_position()); | 794 PrintF("\n - end position = %d", end_position()); |
795 PrintF("\n - is expression = %d", is_expression()); | 795 PrintF("\n - is expression = %d", is_expression()); |
796 PrintF("\n - debug info = "); | 796 PrintF("\n - debug info = "); |
797 debug_info()->ShortPrint(); | 797 debug_info()->ShortPrint(); |
798 PrintF("\n - length = %d", length()); | 798 PrintF("\n - length = %d", length()); |
799 PrintF("\n - has_only_this_property_assignments = %d", | |
800 has_only_this_property_assignments()); | |
801 PrintF("\n - has_only_simple_this_property_assignments = %d", | 799 PrintF("\n - has_only_simple_this_property_assignments = %d", |
802 has_only_simple_this_property_assignments()); | 800 has_only_simple_this_property_assignments()); |
803 PrintF("\n - this_property_assignments = "); | 801 PrintF("\n - this_property_assignments = "); |
804 this_property_assignments()->ShortPrint(); | 802 this_property_assignments()->ShortPrint(); |
805 PrintF("\n"); | 803 PrintF("\n"); |
806 } | 804 } |
807 | 805 |
808 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 806 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
809 CHECK(IsSharedFunctionInfo()); | 807 CHECK(IsSharedFunctionInfo()); |
810 VerifyObjectField(kNameOffset); | 808 VerifyObjectField(kNameOffset); |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1332 } | 1330 } |
1333 current = hash; | 1331 current = hash; |
1334 } | 1332 } |
1335 return true; | 1333 return true; |
1336 } | 1334 } |
1337 | 1335 |
1338 | 1336 |
1339 #endif // DEBUG | 1337 #endif // DEBUG |
1340 | 1338 |
1341 } } // namespace v8::internal | 1339 } } // namespace v8::internal |
OLD | NEW |