| 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 "v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "disassembler.h" | 7 #include "src/disassembler.h" |
| 8 #include "disasm.h" | 8 #include "src/disasm.h" |
| 9 #include "jsregexp.h" | 9 #include "src/jsregexp.h" |
| 10 #include "macro-assembler.h" | 10 #include "src/macro-assembler.h" |
| 11 #include "objects-visiting.h" | 11 #include "src/objects-visiting.h" |
| 12 | 12 |
| 13 namespace v8 { | 13 namespace v8 { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 #ifdef VERIFY_HEAP | 16 #ifdef VERIFY_HEAP |
| 17 | 17 |
| 18 void Object::ObjectVerify() { | 18 void Object::ObjectVerify() { |
| 19 if (IsSmi()) { | 19 if (IsSmi()) { |
| 20 Smi::cast(this)->SmiVerify(); | 20 Smi::cast(this)->SmiVerify(); |
| 21 } else { | 21 } else { |
| (...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1184 for (int i = 0; i < number_of_transitions(); ++i) { | 1184 for (int i = 0; i < number_of_transitions(); ++i) { |
| 1185 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1185 if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; |
| 1186 } | 1186 } |
| 1187 return true; | 1187 return true; |
| 1188 } | 1188 } |
| 1189 | 1189 |
| 1190 | 1190 |
| 1191 #endif // DEBUG | 1191 #endif // DEBUG |
| 1192 | 1192 |
| 1193 } } // namespace v8::internal | 1193 } } // namespace v8::internal |
| OLD | NEW |