| 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/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/double.h" | 8 #include "src/double.h" |
| 9 #include "src/elements.h" | 9 #include "src/elements.h" |
| 10 #include "src/factory.h" | 10 #include "src/factory.h" |
| (...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 if (unique.IsKnownGlobal(heap->null_value())) { | 1321 if (unique.IsKnownGlobal(heap->null_value())) { |
| 1322 return heap->object_string(); | 1322 return heap->object_string(); |
| 1323 } | 1323 } |
| 1324 DCHECK(unique.IsKnownGlobal(heap->undefined_value())); | 1324 DCHECK(unique.IsKnownGlobal(heap->undefined_value())); |
| 1325 return heap->undefined_string(); | 1325 return heap->undefined_string(); |
| 1326 } | 1326 } |
| 1327 case SYMBOL_TYPE: | 1327 case SYMBOL_TYPE: |
| 1328 return heap->symbol_string(); | 1328 return heap->symbol_string(); |
| 1329 case FLOAT32X4_TYPE: | 1329 case FLOAT32X4_TYPE: |
| 1330 return heap->float32x4_string(); | 1330 return heap->float32x4_string(); |
| 1331 case INT32X4_TYPE: |
| 1332 return heap->int32x4_string(); |
| 1333 case BOOL32X4_TYPE: |
| 1334 return heap->bool32x4_string(); |
| 1335 case INT16X8_TYPE: |
| 1336 return heap->int16x8_string(); |
| 1337 case BOOL16X8_TYPE: |
| 1338 return heap->bool16x8_string(); |
| 1339 case INT8X16_TYPE: |
| 1340 return heap->int8x16_string(); |
| 1341 case BOOL8X16_TYPE: |
| 1342 return heap->bool8x16_string(); |
| 1331 case JS_FUNCTION_TYPE: | 1343 case JS_FUNCTION_TYPE: |
| 1332 case JS_FUNCTION_PROXY_TYPE: | 1344 case JS_FUNCTION_PROXY_TYPE: |
| 1333 return heap->function_string(); | 1345 return heap->function_string(); |
| 1334 default: | 1346 default: |
| 1335 return heap->object_string(); | 1347 return heap->object_string(); |
| 1336 } | 1348 } |
| 1337 } | 1349 } |
| 1338 | 1350 |
| 1339 | 1351 |
| 1340 bool HTypeofIsAndBranch::KnownSuccessorBlock(HBasicBlock** block) { | 1352 bool HTypeofIsAndBranch::KnownSuccessorBlock(HBasicBlock** block) { |
| (...skipping 3394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4735 case HObjectAccess::kExternalMemory: | 4747 case HObjectAccess::kExternalMemory: |
| 4736 os << "[external-memory]"; | 4748 os << "[external-memory]"; |
| 4737 break; | 4749 break; |
| 4738 } | 4750 } |
| 4739 | 4751 |
| 4740 return os << "@" << access.offset(); | 4752 return os << "@" << access.offset(); |
| 4741 } | 4753 } |
| 4742 | 4754 |
| 4743 } // namespace internal | 4755 } // namespace internal |
| 4744 } // namespace v8 | 4756 } // namespace v8 |
| OLD | NEW |