| 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/objects.h" | 5 #include "src/objects.h" |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/disasm.h" | 8 #include "src/disasm.h" |
| 9 #include "src/disassembler.h" | 9 #include "src/disassembler.h" |
| 10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1020 CHECK(IsForeign()); | 1020 CHECK(IsForeign()); |
| 1021 } | 1021 } |
| 1022 | 1022 |
| 1023 | 1023 |
| 1024 void Box::BoxVerify() { | 1024 void Box::BoxVerify() { |
| 1025 CHECK(IsBox()); | 1025 CHECK(IsBox()); |
| 1026 value()->ObjectVerify(); | 1026 value()->ObjectVerify(); |
| 1027 } | 1027 } |
| 1028 | 1028 |
| 1029 void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoVerify() { | 1029 void PromiseResolveThenableJobInfo::PromiseResolveThenableJobInfoVerify() { |
| 1030 Isolate* isolate = GetIsolate(); | |
| 1031 CHECK(IsPromiseResolveThenableJobInfo()); | 1030 CHECK(IsPromiseResolveThenableJobInfo()); |
| 1032 CHECK(thenable()->IsJSReceiver()); | 1031 CHECK(thenable()->IsJSReceiver()); |
| 1033 CHECK(then()->IsJSReceiver()); | 1032 CHECK(then()->IsJSReceiver()); |
| 1034 CHECK(resolve()->IsJSFunction()); | 1033 CHECK(resolve()->IsJSFunction()); |
| 1035 CHECK(reject()->IsJSFunction()); | 1034 CHECK(reject()->IsJSFunction()); |
| 1036 VerifySmiField(kDebugIdOffset); | 1035 VerifySmiField(kDebugIdOffset); |
| 1037 VerifySmiField(kDebugNameOffset); | 1036 VerifySmiField(kDebugNameOffset); |
| 1038 CHECK(context()->IsContext()); | 1037 CHECK(context()->IsContext()); |
| 1039 } | 1038 } |
| 1040 | 1039 |
| (...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1556 | 1555 |
| 1557 // Both are done at the same time. | 1556 // Both are done at the same time. |
| 1558 CHECK_EQ(new_it.done(), old_it.done()); | 1557 CHECK_EQ(new_it.done(), old_it.done()); |
| 1559 } | 1558 } |
| 1560 | 1559 |
| 1561 | 1560 |
| 1562 #endif // DEBUG | 1561 #endif // DEBUG |
| 1563 | 1562 |
| 1564 } // namespace internal | 1563 } // namespace internal |
| 1565 } // namespace v8 | 1564 } // namespace v8 |
| OLD | NEW |