Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: src/heap-snapshot-generator.cc

Issue 88043002: Out-of-line constant pool on Arm: Stage 3 - Set Constant Pool Pointer on Function Entry (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Sync and Rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap.cc ('k') | src/ia32/frames-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/ia32/frames-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698