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 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1369 "deoptimization_data", code->deoptimization_data(), | 1369 "deoptimization_data", code->deoptimization_data(), |
1370 Code::kDeoptimizationDataOffset); | 1370 Code::kDeoptimizationDataOffset); |
1371 if (code->kind() == Code::FUNCTION) { | 1371 if (code->kind() == Code::FUNCTION) { |
1372 SetInternalReference(code, entry, | 1372 SetInternalReference(code, entry, |
1373 "type_feedback_info", code->type_feedback_info(), | 1373 "type_feedback_info", code->type_feedback_info(), |
1374 Code::kTypeFeedbackInfoOffset); | 1374 Code::kTypeFeedbackInfoOffset); |
1375 } | 1375 } |
1376 SetInternalReference(code, entry, | 1376 SetInternalReference(code, entry, |
1377 "gc_metadata", code->gc_metadata(), | 1377 "gc_metadata", code->gc_metadata(), |
1378 Code::kGCMetadataOffset); | 1378 Code::kGCMetadataOffset); |
| 1379 SetInternalReference(code, entry, |
| 1380 "constant_pool", code->constant_pool(), |
| 1381 Code::kConstantPoolOffset); |
1379 } | 1382 } |
1380 | 1383 |
1381 | 1384 |
1382 void V8HeapExplorer::ExtractCellReferences(int entry, Cell* cell) { | 1385 void V8HeapExplorer::ExtractCellReferences(int entry, Cell* cell) { |
1383 SetInternalReference(cell, entry, "value", cell->value(), Cell::kValueOffset); | 1386 SetInternalReference(cell, entry, "value", cell->value(), Cell::kValueOffset); |
1384 } | 1387 } |
1385 | 1388 |
1386 | 1389 |
1387 void V8HeapExplorer::ExtractPropertyCellReferences(int entry, | 1390 void V8HeapExplorer::ExtractPropertyCellReferences(int entry, |
1388 PropertyCell* cell) { | 1391 PropertyCell* cell) { |
(...skipping 1565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2954 writer_->AddString("\"<dummy>\""); | 2957 writer_->AddString("\"<dummy>\""); |
2955 for (int i = 1; i < sorted_strings.length(); ++i) { | 2958 for (int i = 1; i < sorted_strings.length(); ++i) { |
2956 writer_->AddCharacter(','); | 2959 writer_->AddCharacter(','); |
2957 SerializeString(sorted_strings[i]); | 2960 SerializeString(sorted_strings[i]); |
2958 if (writer_->aborted()) return; | 2961 if (writer_->aborted()) return; |
2959 } | 2962 } |
2960 } | 2963 } |
2961 | 2964 |
2962 | 2965 |
2963 } } // namespace v8::internal | 2966 } } // namespace v8::internal |
OLD | NEW |