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

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

Issue 14831004: Introduce architecture specific headers describing Dart stack frames. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 | « runtime/vm/constants_x64.h ('k') | runtime/vm/flow_graph_builder.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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/deopt_instructions.h" 5 #include "vm/deopt_instructions.h"
6 6
7 #include "vm/assembler.h" 7 #include "vm/assembler.h"
8 #include "vm/code_patcher.h" 8 #include "vm/code_patcher.h"
9 #include "vm/intermediate_language.h" 9 #include "vm/intermediate_language.h"
10 #include "vm/locations.h" 10 #include "vm/locations.h"
11 #include "vm/parser.h" 11 #include "vm/parser.h"
12 #include "vm/stack_frame.h"
12 13
13 namespace dart { 14 namespace dart {
14 15
15 DEFINE_FLAG(bool, compress_deopt_info, true, 16 DEFINE_FLAG(bool, compress_deopt_info, true,
16 "Compress the size of the deoptimization info for optimized code."); 17 "Compress the size of the deoptimization info for optimized code.");
17 DECLARE_FLAG(bool, trace_deoptimization); 18 DECLARE_FLAG(bool, trace_deoptimization);
18 19
19 DeoptimizationContext::DeoptimizationContext(intptr_t* to_frame_start, 20 DeoptimizationContext::DeoptimizationContext(intptr_t* to_frame_start,
20 intptr_t to_frame_size, 21 intptr_t to_frame_size,
21 const Array& object_table, 22 const Array& object_table,
(...skipping 904 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 Smi* offset, 927 Smi* offset,
927 DeoptInfo* info, 928 DeoptInfo* info,
928 Smi* reason) { 929 Smi* reason) {
929 intptr_t i = index * kEntrySize; 930 intptr_t i = index * kEntrySize;
930 *offset ^= table.At(i); 931 *offset ^= table.At(i);
931 *info ^= table.At(i + 1); 932 *info ^= table.At(i + 1);
932 *reason ^= table.At(i + 2); 933 *reason ^= table.At(i + 2);
933 } 934 }
934 935
935 } // namespace dart 936 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/constants_x64.h ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698