| 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);
|
| };
|
|
|