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 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 CHECK(code()->IsCode()); | 487 CHECK(code()->IsCode()); |
488 CHECK(next_function_link()->IsUndefined() || | 488 CHECK(next_function_link()->IsUndefined() || |
489 next_function_link()->IsJSFunction()); | 489 next_function_link()->IsJSFunction()); |
490 } | 490 } |
491 | 491 |
492 | 492 |
493 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 493 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
494 CHECK(IsSharedFunctionInfo()); | 494 CHECK(IsSharedFunctionInfo()); |
495 VerifyObjectField(kNameOffset); | 495 VerifyObjectField(kNameOffset); |
496 VerifyObjectField(kCodeOffset); | 496 VerifyObjectField(kCodeOffset); |
| 497 VerifyObjectField(kOptimizedCodeMapOffset); |
497 VerifyObjectField(kScopeInfoOffset); | 498 VerifyObjectField(kScopeInfoOffset); |
498 VerifyObjectField(kInstanceClassNameOffset); | 499 VerifyObjectField(kInstanceClassNameOffset); |
499 VerifyObjectField(kFunctionDataOffset); | 500 VerifyObjectField(kFunctionDataOffset); |
500 VerifyObjectField(kScriptOffset); | 501 VerifyObjectField(kScriptOffset); |
501 VerifyObjectField(kDebugInfoOffset); | 502 VerifyObjectField(kDebugInfoOffset); |
502 } | 503 } |
503 | 504 |
504 | 505 |
505 void JSGlobalProxy::JSGlobalProxyVerify() { | 506 void JSGlobalProxy::JSGlobalProxyVerify() { |
506 CHECK(IsJSGlobalProxy()); | 507 CHECK(IsJSGlobalProxy()); |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 ASSERT(e->IsUndefined()); | 932 ASSERT(e->IsUndefined()); |
932 } | 933 } |
933 } | 934 } |
934 } | 935 } |
935 } | 936 } |
936 | 937 |
937 | 938 |
938 #endif // DEBUG | 939 #endif // DEBUG |
939 | 940 |
940 } } // namespace v8::internal | 941 } } // namespace v8::internal |
OLD | NEW |