| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 <cmath> | 7 #include <cmath> |
| 8 #include <iomanip> | 8 #include <iomanip> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <sstream> | 10 #include <sstream> |
| (...skipping 14339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 14350 << ")}"; | 14350 << ")}"; |
| 14351 break; | 14351 break; |
| 14352 } | 14352 } |
| 14353 | 14353 |
| 14354 case Translation::DUPLICATED_OBJECT: { | 14354 case Translation::DUPLICATED_OBJECT: { |
| 14355 int object_index = iterator.Next(); | 14355 int object_index = iterator.Next(); |
| 14356 os << "{object_index=" << object_index << "}"; | 14356 os << "{object_index=" << object_index << "}"; |
| 14357 break; | 14357 break; |
| 14358 } | 14358 } |
| 14359 | 14359 |
| 14360 case Translation::ARGUMENTS_ELEMENTS: { |
| 14361 bool is_rest = iterator.Next(); |
| 14362 os << "{is_rest=" << (is_rest ? "true" : "false") << "}"; |
| 14363 break; |
| 14364 } |
| 14365 |
| 14360 case Translation::ARGUMENTS_OBJECT: | 14366 case Translation::ARGUMENTS_OBJECT: |
| 14361 case Translation::CAPTURED_OBJECT: { | 14367 case Translation::CAPTURED_OBJECT: { |
| 14362 int args_length = iterator.Next(); | 14368 int args_length = iterator.Next(); |
| 14363 os << "{length=" << args_length << "}"; | 14369 os << "{length=" << args_length << "}"; |
| 14364 break; | 14370 break; |
| 14365 } | 14371 } |
| 14366 } | 14372 } |
| 14367 os << "\n"; | 14373 os << "\n"; |
| 14368 } | 14374 } |
| 14369 } | 14375 } |
| (...skipping 5700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 20070 // depend on this. | 20076 // depend on this. |
| 20071 return DICTIONARY_ELEMENTS; | 20077 return DICTIONARY_ELEMENTS; |
| 20072 } | 20078 } |
| 20073 DCHECK_LE(kind, LAST_ELEMENTS_KIND); | 20079 DCHECK_LE(kind, LAST_ELEMENTS_KIND); |
| 20074 return kind; | 20080 return kind; |
| 20075 } | 20081 } |
| 20076 } | 20082 } |
| 20077 | 20083 |
| 20078 } // namespace internal | 20084 } // namespace internal |
| 20079 } // namespace v8 | 20085 } // namespace v8 |
| OLD | NEW |