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/objects.h" | 7 #include "src/objects.h" |
8 #include "src/transitions-inl.h" | 8 #include "src/transitions-inl.h" |
9 #include "src/utils.h" | 9 #include "src/utils.h" |
10 | 10 |
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 | 506 |
507 int TransitionArray::Search(PropertyKind kind, Name* name, | 507 int TransitionArray::Search(PropertyKind kind, Name* name, |
508 PropertyAttributes attributes, | 508 PropertyAttributes attributes, |
509 int* out_insertion_index) { | 509 int* out_insertion_index) { |
510 int transition = SearchName(name, out_insertion_index); | 510 int transition = SearchName(name, out_insertion_index); |
511 if (transition == kNotFound) { | 511 if (transition == kNotFound) { |
512 return kNotFound; | 512 return kNotFound; |
513 } | 513 } |
514 return SearchDetails(transition, kind, attributes, out_insertion_index); | 514 return SearchDetails(transition, kind, attributes, out_insertion_index); |
515 } | 515 } |
516 } } // namespace v8::internal | 516 } // namespace internal |
| 517 } // namespace v8 |
OLD | NEW |