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

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

Issue 2521413002: Revert "Implement rewind: drop one or more frames from the debugger." (Closed)
Patch Set: 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/exceptions.cc ('k') | runtime/vm/intermediate_language.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/globals.h" // Needed here to get TARGET_ARCH_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/bit_vector.h" 9 #include "vm/bit_vector.h"
10 #include "vm/cha.h" 10 #include "vm/cha.h"
(...skipping 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 deopt_id, token_pos, locs); 1264 deopt_id, token_pos, locs);
1265 } else { 1265 } else {
1266 ICData& call_ic_data = ICData::ZoneHandle(ic_data.raw()); 1266 ICData& call_ic_data = ICData::ZoneHandle(ic_data.raw());
1267 if (call_ic_data.IsNull()) { 1267 if (call_ic_data.IsNull()) {
1268 const intptr_t kNumArgsChecked = 0; 1268 const intptr_t kNumArgsChecked = 0;
1269 call_ic_data = 1269 call_ic_data =
1270 GetOrAddStaticCallICData(deopt_id, function, arguments_descriptor, 1270 GetOrAddStaticCallICData(deopt_id, function, arguments_descriptor,
1271 kNumArgsChecked) 1271 kNumArgsChecked)
1272 ->raw(); 1272 ->raw();
1273 } 1273 }
1274 AddCurrentDescriptor(RawPcDescriptors::kRewind, deopt_id, token_pos);
1275 EmitUnoptimizedStaticCall(argument_count, deopt_id, token_pos, locs, 1274 EmitUnoptimizedStaticCall(argument_count, deopt_id, token_pos, locs,
1276 call_ic_data); 1275 call_ic_data);
1277 } 1276 }
1278 } 1277 }
1279 1278
1280 1279
1281 void FlowGraphCompiler::GenerateNumberTypeCheck(Register kClassIdReg, 1280 void FlowGraphCompiler::GenerateNumberTypeCheck(Register kClassIdReg,
1282 const AbstractType& type, 1281 const AbstractType& type,
1283 Label* is_instance_lbl, 1282 Label* is_instance_lbl,
1284 Label* is_not_instance_lbl) { 1283 Label* is_not_instance_lbl) {
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1981 1980
1982 1981
1983 void FlowGraphCompiler::FrameStateClear() { 1982 void FlowGraphCompiler::FrameStateClear() {
1984 ASSERT(!is_optimizing()); 1983 ASSERT(!is_optimizing());
1985 frame_state_.TruncateTo(0); 1984 frame_state_.TruncateTo(0);
1986 } 1985 }
1987 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) 1986 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC)
1988 1987
1989 1988
1990 } // namespace dart 1989 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/exceptions.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698