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

Unified Diff: src/frames.h

Issue 8540005: Revert "Add a level of indirection to exception handler addresses." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 1 month 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 | « src/code-stubs.cc ('k') | src/frames-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.h
diff --git a/src/frames.h b/src/frames.h
index 2c5e571ed7e33864d29888161d3295762b8e6d6e..778b803168f4d10629021fd1be3fb09d77db7694 100644
--- a/src/frames.h
+++ b/src/frames.h
@@ -84,17 +84,12 @@ class InnerPointerToCodeCache {
class StackHandler BASE_EMBEDDED {
public:
- enum Kind {
+ enum State {
ENTRY,
TRY_CATCH,
TRY_FINALLY
};
- static const int kKindWidth = 2;
- static const int kOffsetWidth = 32 - kKindWidth;
- class KindField: public BitField<StackHandler::Kind, 0, kKindWidth> {};
- class OffsetField: public BitField<unsigned, kKindWidth, kOffsetWidth> {};
-
// Get the address of this stack handler.
inline Address address() const;
@@ -117,10 +112,10 @@ class StackHandler BASE_EMBEDDED {
private:
// Accessors.
- inline Kind kind() const;
+ inline State state() const;
inline Object** context_address() const;
- inline Object** code_address() const;
+ inline Address* pc_address() const;
DISALLOW_IMPLICIT_CONSTRUCTORS(StackHandler);
};
« no previous file with comments | « src/code-stubs.cc ('k') | src/frames-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698