OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 VerifyObjectField(kNextFunctionLinkOffset); | 326 VerifyObjectField(kNextFunctionLinkOffset); |
327 CHECK(next_function_link()->IsUndefined() || | 327 CHECK(next_function_link()->IsUndefined() || |
328 next_function_link()->IsJSFunction()); | 328 next_function_link()->IsJSFunction()); |
329 } | 329 } |
330 | 330 |
331 | 331 |
332 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 332 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
333 CHECK(IsSharedFunctionInfo()); | 333 CHECK(IsSharedFunctionInfo()); |
334 VerifyObjectField(kNameOffset); | 334 VerifyObjectField(kNameOffset); |
335 VerifyObjectField(kCodeOffset); | 335 VerifyObjectField(kCodeOffset); |
| 336 VerifyObjectField(kOptimizedCodeMapOffset); |
336 VerifyObjectField(kScopeInfoOffset); | 337 VerifyObjectField(kScopeInfoOffset); |
337 VerifyObjectField(kInstanceClassNameOffset); | 338 VerifyObjectField(kInstanceClassNameOffset); |
338 VerifyObjectField(kFunctionDataOffset); | 339 VerifyObjectField(kFunctionDataOffset); |
339 VerifyObjectField(kScriptOffset); | 340 VerifyObjectField(kScriptOffset); |
340 VerifyObjectField(kDebugInfoOffset); | 341 VerifyObjectField(kDebugInfoOffset); |
341 } | 342 } |
342 | 343 |
343 | 344 |
344 void JSGlobalProxy::JSGlobalProxyVerify() { | 345 void JSGlobalProxy::JSGlobalProxyVerify() { |
345 CHECK(IsJSGlobalProxy()); | 346 CHECK(IsJSGlobalProxy()); |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 ASSERT(e->IsUndefined()); | 714 ASSERT(e->IsUndefined()); |
714 } | 715 } |
715 } | 716 } |
716 } | 717 } |
717 } | 718 } |
718 | 719 |
719 | 720 |
720 #endif // DEBUG | 721 #endif // DEBUG |
721 | 722 |
722 } } // namespace v8::internal | 723 } } // namespace v8::internal |
OLD | NEW |