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

Side by Side Diff: src/frames-inl.h

Issue 551803004: Endian changes, support 64bit big endian (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Forwarded internalized strings use hash field slot, not offset Created 6 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/frames.h ('k') | src/objects.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_FRAMES_INL_H_ 5 #ifndef V8_FRAMES_INL_H_
6 #define V8_FRAMES_INL_H_ 6 #define V8_FRAMES_INL_H_
7 7
8 #include "src/frames.h" 8 #include "src/frames.h"
9 #include "src/isolate.h" 9 #include "src/isolate.h"
10 #include "src/v8memory.h" 10 #include "src/v8memory.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 return kind() == CATCH; 69 return kind() == CATCH;
70 } 70 }
71 71
72 72
73 inline bool StackHandler::is_finally() const { 73 inline bool StackHandler::is_finally() const {
74 return kind() == FINALLY; 74 return kind() == FINALLY;
75 } 75 }
76 76
77 77
78 inline StackHandler::Kind StackHandler::kind() const { 78 inline StackHandler::Kind StackHandler::kind() const {
79 const int offset = StackHandlerConstants::kStateOffset; 79 const int offset = StackHandlerConstants::kStateIntOffset;
80 return KindField::decode(Memory::unsigned_at(address() + offset)); 80 return KindField::decode(Memory::unsigned_at(address() + offset));
81 } 81 }
82 82
83 83
84 inline unsigned StackHandler::index() const { 84 inline unsigned StackHandler::index() const {
85 const int offset = StackHandlerConstants::kStateOffset; 85 const int offset = StackHandlerConstants::kStateIntOffset;
86 return IndexField::decode(Memory::unsigned_at(address() + offset)); 86 return IndexField::decode(Memory::unsigned_at(address() + offset));
87 } 87 }
88 88
89 89
90 inline Object** StackHandler::context_address() const { 90 inline Object** StackHandler::context_address() const {
91 const int offset = StackHandlerConstants::kContextOffset; 91 const int offset = StackHandlerConstants::kContextOffset;
92 return reinterpret_cast<Object**>(address() + offset); 92 return reinterpret_cast<Object**>(address() + offset);
93 } 93 }
94 94
95 95
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 inline StackFrame* SafeStackFrameIterator::frame() const { 325 inline StackFrame* SafeStackFrameIterator::frame() const {
326 DCHECK(!done()); 326 DCHECK(!done());
327 DCHECK(frame_->is_java_script() || frame_->is_exit()); 327 DCHECK(frame_->is_java_script() || frame_->is_exit());
328 return frame_; 328 return frame_;
329 } 329 }
330 330
331 331
332 } } // namespace v8::internal 332 } } // namespace v8::internal
333 333
334 #endif // V8_FRAMES_INL_H_ 334 #endif // V8_FRAMES_INL_H_
OLDNEW
« no previous file with comments | « src/frames.h ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698