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

Unified Diff: runtime/vm/exceptions.h

Issue 2739663002: Revert "Replacing TrySync with Metadata" (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/exceptions.h
diff --git a/runtime/vm/exceptions.h b/runtime/vm/exceptions.h
index 6562482d45d9bee0892c09ff377fa2dc82c5e7b7..c2a3350042b24ec8941869ff52528da1d6f4e385 100644
--- a/runtime/vm/exceptions.h
+++ b/runtime/vm/exceptions.h
@@ -102,31 +102,6 @@ struct ExceptionHandlerInfo {
int8_t is_generated; // True if this is a generated handler.
};
-
-class CatchEntryState {
- public:
- enum { kCatchEntryStateIsMove = 1, kCatchEntryStateDestShift = 1 };
-
- CatchEntryState() : data(NULL) {}
- explicit CatchEntryState(intptr_t* data_) : data(data_) {}
- // Data has the following format:
- // 0 - number of pairs in this state
- // 1-2 - 1st encoded src,dest pair
- // 3-4 - 2nd pair
- // ....
- intptr_t* data;
-
- intptr_t Pairs() { return data[0]; }
-
- intptr_t Src(intptr_t i) { return data[1 + 2 * i]; }
-
- intptr_t Dest(intptr_t i) {
- return data[2 + 2 * i] >> kCatchEntryStateDestShift;
- }
-
- bool isMove(intptr_t i) { return data[2 + 2 * i] & kCatchEntryStateIsMove; }
-};
-
} // namespace dart
#endif // RUNTIME_VM_EXCEPTIONS_H_
« no previous file with comments | « runtime/vm/deopt_instructions.cc ('k') | runtime/vm/exceptions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698