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

Side by Side Diff: runtime/vm/compiler.cc

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years 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 | « runtime/vm/code_descriptors_test.cc ('k') | runtime/vm/dart_api_impl.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/compiler.h" 5 #include "vm/compiler.h"
6 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 8
9 #include "vm/ast_printer.h" 9 #include "vm/ast_printer.h"
10 #include "vm/block_scheduler.h" 10 #include "vm/block_scheduler.h"
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 567
568 const Array& inlined_id_to_token_pos = 568 const Array& inlined_id_to_token_pos =
569 Array::Handle(zone, graph_compiler->InliningIdToTokenPos()); 569 Array::Handle(zone, graph_compiler->InliningIdToTokenPos());
570 INC_STAT(thread(), total_code_size, 570 INC_STAT(thread(), total_code_size,
571 inlined_id_to_token_pos.Length() * sizeof(uword)); 571 inlined_id_to_token_pos.Length() * sizeof(uword));
572 code.SetInlinedIdToTokenPos(inlined_id_to_token_pos); 572 code.SetInlinedIdToTokenPos(inlined_id_to_token_pos);
573 573
574 graph_compiler->FinalizePcDescriptors(code); 574 graph_compiler->FinalizePcDescriptors(code);
575 code.set_deopt_info_array(deopt_info_array); 575 code.set_deopt_info_array(deopt_info_array);
576 576
577 graph_compiler->FinalizeStackmaps(code); 577 graph_compiler->FinalizeStackMaps(code);
578 graph_compiler->FinalizeVarDescriptors(code); 578 graph_compiler->FinalizeVarDescriptors(code);
579 graph_compiler->FinalizeExceptionHandlers(code); 579 graph_compiler->FinalizeExceptionHandlers(code);
580 graph_compiler->FinalizeStaticCallTargetsTable(code); 580 graph_compiler->FinalizeStaticCallTargetsTable(code);
581 581
582 #if !defined(PRODUCT) 582 #if !defined(PRODUCT)
583 // Set the code source map after setting the inlined information because 583 // Set the code source map after setting the inlined information because
584 // we use the inlined information when printing. 584 // we use the inlined information when printing.
585 const CodeSourceMap& code_source_map = CodeSourceMap::Handle( 585 const CodeSourceMap& code_source_map = CodeSourceMap::Handle(
586 zone, graph_compiler->code_source_map_builder()->Finalize()); 586 zone, graph_compiler->code_source_map_builder()->Finalize());
587 code.set_code_source_map(code_source_map); 587 code.set_code_source_map(code_source_map);
(...skipping 1728 matching lines...) Expand 10 before | Expand all | Expand 10 after
2316 2316
2317 2317
2318 bool BackgroundCompiler::IsDisabled() { 2318 bool BackgroundCompiler::IsDisabled() {
2319 UNREACHABLE(); 2319 UNREACHABLE();
2320 return true; 2320 return true;
2321 } 2321 }
2322 2322
2323 #endif // DART_PRECOMPILED_RUNTIME 2323 #endif // DART_PRECOMPILED_RUNTIME
2324 2324
2325 } // namespace dart 2325 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/code_descriptors_test.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698