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

Unified Diff: runtime/vm/stack_frame.cc

Issue 10982088: Remove deoptimization index PC descriptors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove code from an unrelated change. Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« runtime/vm/flow_graph_compiler.cc ('K') | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.cc
diff --git a/runtime/vm/stack_frame.cc b/runtime/vm/stack_frame.cc
index 2b9fd6a5dbb77adeb8a7d5efc5d99a24e4635e22..a57b9dcd90c21839f4ed9da15296c9835e56a48b 100644
--- a/runtime/vm/stack_frame.cc
+++ b/runtime/vm/stack_frame.cc
@@ -152,9 +152,7 @@ bool StackFrame::FindExceptionHandler(uword* handler_pc) const {
const PcDescriptors& descriptors =
PcDescriptors::Handle(code.pc_descriptors());
for (intptr_t i = 0; i < descriptors.Length(); i++) {
- // TryIndex is invalid for PcDescriptors::kDeoptIndex.
if ((static_cast<uword>(descriptors.PC(i)) == pc()) &&
- (descriptors.DescriptorKind(i) != PcDescriptors::kDeoptIndex) &&
(descriptors.TryIndex(i) != -1)) {
try_index = descriptors.TryIndex(i);
break;
« runtime/vm/flow_graph_compiler.cc ('K') | « runtime/vm/object.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698