| Index: src/frames-inl.h
|
| ===================================================================
|
| --- src/frames-inl.h (revision 8931)
|
| +++ src/frames-inl.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2006-2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2011 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -67,6 +67,7 @@
|
|
|
|
|
| inline void StackHandler::Iterate(ObjectVisitor* v, Code* holder) const {
|
| + v->VisitPointer(context_address());
|
| StackFrame::IteratePc(v, pc_address(), holder);
|
| }
|
|
|
| @@ -82,6 +83,12 @@
|
| }
|
|
|
|
|
| +inline Object** StackHandler::context_address() const {
|
| + const int offset = StackHandlerConstants::kContextOffset;
|
| + return reinterpret_cast<Object**>(address() + offset);
|
| +}
|
| +
|
| +
|
| inline Address* StackHandler::pc_address() const {
|
| const int offset = StackHandlerConstants::kPCOffset;
|
| return reinterpret_cast<Address*>(address() + offset);
|
|
|