| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 <sstream> | 5 #include <sstream> |
| 6 | 6 |
| 7 #include "src/v8.h" | 7 #include "src/v8.h" |
| 8 | 8 |
| 9 #include "src/accessors.h" | 9 #include "src/accessors.h" |
| 10 #include "src/allocation-site-scopes.h" | 10 #include "src/allocation-site-scopes.h" |
| (...skipping 13180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13191 int capacity = DerivedHashTable::Capacity(); | 13191 int capacity = DerivedHashTable::Capacity(); |
| 13192 for (int i = 0; i < capacity; i++) { | 13192 for (int i = 0; i < capacity; i++) { |
| 13193 Object* k = DerivedHashTable::KeyAt(i); | 13193 Object* k = DerivedHashTable::KeyAt(i); |
| 13194 if (DerivedHashTable::IsKey(k)) { | 13194 if (DerivedHashTable::IsKey(k)) { |
| 13195 os << " "; | 13195 os << " "; |
| 13196 if (k->IsString()) { | 13196 if (k->IsString()) { |
| 13197 String::cast(k)->StringPrint(os); | 13197 String::cast(k)->StringPrint(os); |
| 13198 } else { | 13198 } else { |
| 13199 os << Brief(k); | 13199 os << Brief(k); |
| 13200 } | 13200 } |
| 13201 os << ": " << Brief(ValueAt(i)) << "\n"; | 13201 os << ": " << Brief(ValueAt(i)) << " " << DetailsAt(i) << "\n"; |
| 13202 } | 13202 } |
| 13203 } | 13203 } |
| 13204 } | 13204 } |
| 13205 #endif | 13205 #endif |
| 13206 | 13206 |
| 13207 | 13207 |
| 13208 template<typename Derived, typename Shape, typename Key> | 13208 template<typename Derived, typename Shape, typename Key> |
| 13209 void Dictionary<Derived, Shape, Key>::CopyValuesTo(FixedArray* elements) { | 13209 void Dictionary<Derived, Shape, Key>::CopyValuesTo(FixedArray* elements) { |
| 13210 int pos = 0; | 13210 int pos = 0; |
| 13211 int capacity = DerivedHashTable::Capacity(); | 13211 int capacity = DerivedHashTable::Capacity(); |
| (...skipping 3299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 16511 Handle<DependentCode> codes = | 16511 Handle<DependentCode> codes = |
| 16512 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), | 16512 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), |
| 16513 DependentCode::kPropertyCellChangedGroup, | 16513 DependentCode::kPropertyCellChangedGroup, |
| 16514 info->object_wrapper()); | 16514 info->object_wrapper()); |
| 16515 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); | 16515 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); |
| 16516 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( | 16516 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( |
| 16517 cell, info->zone()); | 16517 cell, info->zone()); |
| 16518 } | 16518 } |
| 16519 | 16519 |
| 16520 } } // namespace v8::internal | 16520 } } // namespace v8::internal |
| OLD | NEW |