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 os << "{arguments elements}"; | |
Jarin
2017/02/15 16:17:15
Should not this also print the 'skip' argument? Co
| |
14362 break; | |
14363 } | |
14364 | |
14360 case Translation::ARGUMENTS_OBJECT: | 14365 case Translation::ARGUMENTS_OBJECT: |
14361 case Translation::CAPTURED_OBJECT: { | 14366 case Translation::CAPTURED_OBJECT: { |
14362 int args_length = iterator.Next(); | 14367 int args_length = iterator.Next(); |
14363 os << "{length=" << args_length << "}"; | 14368 os << "{length=" << args_length << "}"; |
14364 break; | 14369 break; |
14365 } | 14370 } |
14366 } | 14371 } |
14367 os << "\n"; | 14372 os << "\n"; |
14368 } | 14373 } |
14369 } | 14374 } |
(...skipping 5700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
20070 // depend on this. | 20075 // depend on this. |
20071 return DICTIONARY_ELEMENTS; | 20076 return DICTIONARY_ELEMENTS; |
20072 } | 20077 } |
20073 DCHECK_LE(kind, LAST_ELEMENTS_KIND); | 20078 DCHECK_LE(kind, LAST_ELEMENTS_KIND); |
20074 return kind; | 20079 return kind; |
20075 } | 20080 } |
20076 } | 20081 } |
20077 | 20082 |
20078 } // namespace internal | 20083 } // namespace internal |
20079 } // namespace v8 | 20084 } // namespace v8 |
OLD | NEW |