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 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
777 // Script files are often large, hard to read. | 777 // Script files are often large, hard to read. |
778 // PrintF("\n - script ="); | 778 // PrintF("\n - script ="); |
779 // script()->Print(); | 779 // script()->Print(); |
780 PrintF("\n - function token position = %d", function_token_position()); | 780 PrintF("\n - function token position = %d", function_token_position()); |
781 PrintF("\n - start position = %d", start_position()); | 781 PrintF("\n - start position = %d", start_position()); |
782 PrintF("\n - end position = %d", end_position()); | 782 PrintF("\n - end position = %d", end_position()); |
783 PrintF("\n - is expression = %d", is_expression()); | 783 PrintF("\n - is expression = %d", is_expression()); |
784 PrintF("\n - debug info = "); | 784 PrintF("\n - debug info = "); |
785 debug_info()->ShortPrint(); | 785 debug_info()->ShortPrint(); |
786 PrintF("\n - length = %d", length()); | 786 PrintF("\n - length = %d", length()); |
787 PrintF("\n - has_only_this_property_assignments = %d", | |
788 has_only_this_property_assignments()); | |
789 PrintF("\n - has_only_simple_this_property_assignments = %d", | 787 PrintF("\n - has_only_simple_this_property_assignments = %d", |
790 has_only_simple_this_property_assignments()); | 788 has_only_simple_this_property_assignments()); |
791 PrintF("\n - this_property_assignments = "); | 789 PrintF("\n - this_property_assignments = "); |
792 this_property_assignments()->ShortPrint(); | 790 this_property_assignments()->ShortPrint(); |
793 PrintF("\n"); | 791 PrintF("\n"); |
794 } | 792 } |
795 | 793 |
796 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 794 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
797 CHECK(IsSharedFunctionInfo()); | 795 CHECK(IsSharedFunctionInfo()); |
798 VerifyObjectField(kNameOffset); | 796 VerifyObjectField(kNameOffset); |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 } | 1319 } |
1322 current = hash; | 1320 current = hash; |
1323 } | 1321 } |
1324 return true; | 1322 return true; |
1325 } | 1323 } |
1326 | 1324 |
1327 | 1325 |
1328 #endif // DEBUG | 1326 #endif // DEBUG |
1329 | 1327 |
1330 } } // namespace v8::internal | 1328 } } // namespace v8::internal |
OLD | NEW |