| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1495 "deoptimization_data", code->deoptimization_data(), | 1495 "deoptimization_data", code->deoptimization_data(), |
| 1496 Code::kDeoptimizationDataOffset); | 1496 Code::kDeoptimizationDataOffset); |
| 1497 if (code->kind() == Code::FUNCTION) { | 1497 if (code->kind() == Code::FUNCTION) { |
| 1498 SetInternalReference(code, entry, | 1498 SetInternalReference(code, entry, |
| 1499 "type_feedback_info", code->type_feedback_info(), | 1499 "type_feedback_info", code->type_feedback_info(), |
| 1500 Code::kTypeFeedbackInfoOffset); | 1500 Code::kTypeFeedbackInfoOffset); |
| 1501 } | 1501 } |
| 1502 SetInternalReference(code, entry, | 1502 SetInternalReference(code, entry, |
| 1503 "gc_metadata", code->gc_metadata(), | 1503 "gc_metadata", code->gc_metadata(), |
| 1504 Code::kGCMetadataOffset); | 1504 Code::kGCMetadataOffset); |
| 1505 SetInternalReference(code, entry, |
| 1506 "constant_pool", code->constant_pool(), |
| 1507 Code::kConstantPoolOffset); |
| 1505 } | 1508 } |
| 1506 | 1509 |
| 1507 | 1510 |
| 1508 void V8HeapExplorer::ExtractCellReferences(int entry, Cell* cell) { | 1511 void V8HeapExplorer::ExtractCellReferences(int entry, Cell* cell) { |
| 1509 SetInternalReference(cell, entry, "value", cell->value(), Cell::kValueOffset); | 1512 SetInternalReference(cell, entry, "value", cell->value(), Cell::kValueOffset); |
| 1510 } | 1513 } |
| 1511 | 1514 |
| 1512 | 1515 |
| 1513 void V8HeapExplorer::ExtractPropertyCellReferences(int entry, | 1516 void V8HeapExplorer::ExtractPropertyCellReferences(int entry, |
| 1514 PropertyCell* cell) { | 1517 PropertyCell* cell) { |
| (...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3078 writer_->AddString("\"<dummy>\""); | 3081 writer_->AddString("\"<dummy>\""); |
| 3079 for (int i = 1; i < sorted_strings.length(); ++i) { | 3082 for (int i = 1; i < sorted_strings.length(); ++i) { |
| 3080 writer_->AddCharacter(','); | 3083 writer_->AddCharacter(','); |
| 3081 SerializeString(sorted_strings[i]); | 3084 SerializeString(sorted_strings[i]); |
| 3082 if (writer_->aborted()) return; | 3085 if (writer_->aborted()) return; |
| 3083 } | 3086 } |
| 3084 } | 3087 } |
| 3085 | 3088 |
| 3086 | 3089 |
| 3087 } } // namespace v8::internal | 3090 } } // namespace v8::internal |
| OLD | NEW |