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 "interface.h" | 7 #include "src/interface.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
11 | 11 |
12 static bool Match(void* key1, void* key2) { | 12 static bool Match(void* key1, void* key2) { |
13 String* name1 = *static_cast<String**>(key1); | 13 String* name1 = *static_cast<String**>(key1); |
14 String* name2 = *static_cast<String**>(key2); | 14 String* name2 = *static_cast<String**>(key2); |
15 ASSERT(name1->IsInternalizedString()); | 15 ASSERT(name1->IsInternalizedString()); |
16 ASSERT(name2->IsInternalizedString()); | 16 ASSERT(name2->IsInternalizedString()); |
17 return name1 == name2; | 17 return name1 == name2; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 PrintF("%*s%s : ", n0 + 2, "", name->ToAsciiArray()); | 213 PrintF("%*s%s : ", n0 + 2, "", name->ToAsciiArray()); |
214 interface->Print(n0 + 2); | 214 interface->Print(n0 + 2); |
215 } | 215 } |
216 PrintF("%*s}\n", n0, ""); | 216 PrintF("%*s}\n", n0, ""); |
217 } | 217 } |
218 } | 218 } |
219 } | 219 } |
220 #endif | 220 #endif |
221 | 221 |
222 } } // namespace v8::internal | 222 } } // namespace v8::internal |
OLD | NEW |