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

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

Issue 1801023002: [Interpreter]: Move builtin-id from function_data to function_identifier. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove UNREACHABLE() Created 4 years, 9 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
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | 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 // 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/profiler/heap-snapshot-generator.h" 5 #include "src/profiler/heap-snapshot-generator.h"
6 6
7 #include "src/code-stubs.h" 7 #include "src/code-stubs.h"
8 #include "src/conversions.h" 8 #include "src/conversions.h"
9 #include "src/debug/debug.h" 9 #include "src/debug/debug.h"
10 #include "src/objects-body-descriptors.h" 10 #include "src/objects-body-descriptors.h"
(...skipping 1365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 TagObject(shared->construct_stub(), construct_stub_name); 1376 TagObject(shared->construct_stub(), construct_stub_name);
1377 SetInternalReference(obj, entry, 1377 SetInternalReference(obj, entry,
1378 "construct_stub", shared->construct_stub(), 1378 "construct_stub", shared->construct_stub(),
1379 SharedFunctionInfo::kConstructStubOffset); 1379 SharedFunctionInfo::kConstructStubOffset);
1380 SetInternalReference(obj, entry, 1380 SetInternalReference(obj, entry,
1381 "function_data", shared->function_data(), 1381 "function_data", shared->function_data(),
1382 SharedFunctionInfo::kFunctionDataOffset); 1382 SharedFunctionInfo::kFunctionDataOffset);
1383 SetInternalReference(obj, entry, 1383 SetInternalReference(obj, entry,
1384 "debug_info", shared->debug_info(), 1384 "debug_info", shared->debug_info(),
1385 SharedFunctionInfo::kDebugInfoOffset); 1385 SharedFunctionInfo::kDebugInfoOffset);
1386 SetInternalReference(obj, entry, 1386 SetInternalReference(obj, entry, "function_identifier",
1387 "inferred_name", shared->inferred_name(), 1387 shared->function_identifier(),
1388 SharedFunctionInfo::kInferredNameOffset); 1388 SharedFunctionInfo::kFunctionIdentifierOffset);
1389 SetInternalReference(obj, entry, 1389 SetInternalReference(obj, entry,
1390 "optimized_code_map", shared->optimized_code_map(), 1390 "optimized_code_map", shared->optimized_code_map(),
1391 SharedFunctionInfo::kOptimizedCodeMapOffset); 1391 SharedFunctionInfo::kOptimizedCodeMapOffset);
1392 SetInternalReference(obj, entry, 1392 SetInternalReference(obj, entry,
1393 "feedback_vector", shared->feedback_vector(), 1393 "feedback_vector", shared->feedback_vector(),
1394 SharedFunctionInfo::kFeedbackVectorOffset); 1394 SharedFunctionInfo::kFeedbackVectorOffset);
1395 } 1395 }
1396 1396
1397 1397
1398 void V8HeapExplorer::ExtractScriptReferences(int entry, Script* script) { 1398 void V8HeapExplorer::ExtractScriptReferences(int entry, Script* script) {
(...skipping 1755 matching lines...) Expand 10 before | Expand all | Expand 10 after
3154 for (int i = 1; i < sorted_strings.length(); ++i) { 3154 for (int i = 1; i < sorted_strings.length(); ++i) {
3155 writer_->AddCharacter(','); 3155 writer_->AddCharacter(',');
3156 SerializeString(sorted_strings[i]); 3156 SerializeString(sorted_strings[i]);
3157 if (writer_->aborted()) return; 3157 if (writer_->aborted()) return;
3158 } 3158 }
3159 } 3159 }
3160 3160
3161 3161
3162 } // namespace internal 3162 } // namespace internal
3163 } // namespace v8 3163 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698