| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
| 8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
| 9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
| 10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
| (...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 next_function_link()->IsJSFunction()); | 532 next_function_link()->IsJSFunction()); |
| 533 } | 533 } |
| 534 | 534 |
| 535 | 535 |
| 536 void SharedFunctionInfo::SharedFunctionInfoVerify() { | 536 void SharedFunctionInfo::SharedFunctionInfoVerify() { |
| 537 CHECK(IsSharedFunctionInfo()); | 537 CHECK(IsSharedFunctionInfo()); |
| 538 VerifyObjectField(kNameOffset); | 538 VerifyObjectField(kNameOffset); |
| 539 VerifyObjectField(kCodeOffset); | 539 VerifyObjectField(kCodeOffset); |
| 540 VerifyObjectField(kOptimizedCodeMapOffset); | 540 VerifyObjectField(kOptimizedCodeMapOffset); |
| 541 VerifyObjectField(kFeedbackVectorOffset); | 541 VerifyObjectField(kFeedbackVectorOffset); |
| 542 VerifyObjectField(kBytecodeArrayOffset); |
| 542 VerifyObjectField(kScopeInfoOffset); | 543 VerifyObjectField(kScopeInfoOffset); |
| 543 VerifyObjectField(kInstanceClassNameOffset); | 544 VerifyObjectField(kInstanceClassNameOffset); |
| 544 VerifyObjectField(kFunctionDataOffset); | 545 VerifyObjectField(kFunctionDataOffset); |
| 545 VerifyObjectField(kScriptOffset); | 546 VerifyObjectField(kScriptOffset); |
| 546 VerifyObjectField(kDebugInfoOffset); | 547 VerifyObjectField(kDebugInfoOffset); |
| 547 } | 548 } |
| 548 | 549 |
| 549 | 550 |
| 550 void JSGlobalProxy::JSGlobalProxyVerify() { | 551 void JSGlobalProxy::JSGlobalProxyVerify() { |
| 551 CHECK(IsJSGlobalProxy()); | 552 CHECK(IsJSGlobalProxy()); |
| (...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1273 : it.rinfo()->target_object(); | 1274 : it.rinfo()->target_object(); |
| 1274 CHECK(!CanLeak(target, heap, skip_weak_cell)); | 1275 CHECK(!CanLeak(target, heap, skip_weak_cell)); |
| 1275 } | 1276 } |
| 1276 } | 1277 } |
| 1277 | 1278 |
| 1278 | 1279 |
| 1279 #endif // DEBUG | 1280 #endif // DEBUG |
| 1280 | 1281 |
| 1281 } // namespace internal | 1282 } // namespace internal |
| 1282 } // namespace v8 | 1283 } // namespace v8 |
| OLD | NEW |