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

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

Issue 150026: - Add a "#error Unsupported target architecture." where needed. A chain of... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 5 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/execution.cc ('k') | src/jsregexp.cc » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 18 matching lines...) Expand all
29 #define V8_FRAMES_INL_H_ 29 #define V8_FRAMES_INL_H_
30 30
31 #include "frames.h" 31 #include "frames.h"
32 32
33 #if V8_TARGET_ARCH_IA32 33 #if V8_TARGET_ARCH_IA32
34 #include "ia32/frames-ia32.h" 34 #include "ia32/frames-ia32.h"
35 #elif V8_TARGET_ARCH_X64 35 #elif V8_TARGET_ARCH_X64
36 #include "x64/frames-x64.h" 36 #include "x64/frames-x64.h"
37 #elif V8_TARGET_ARCH_ARM 37 #elif V8_TARGET_ARCH_ARM
38 #include "arm/frames-arm.h" 38 #include "arm/frames-arm.h"
39 #else
40 #error Unsupported target architecture.
39 #endif 41 #endif
40 42
41 namespace v8 { 43 namespace v8 {
42 namespace internal { 44 namespace internal {
43 45
44 46
45 inline Address StackHandler::address() const { 47 inline Address StackHandler::address() const {
46 return reinterpret_cast<Address>(const_cast<StackHandler*>(this)); 48 return reinterpret_cast<Address>(const_cast<StackHandler*>(this));
47 } 49 }
48 50
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 template<typename Iterator> 205 template<typename Iterator>
204 void JavaScriptFrameIteratorTemp<Iterator>::Reset() { 206 void JavaScriptFrameIteratorTemp<Iterator>::Reset() {
205 iterator_.Reset(); 207 iterator_.Reset();
206 if (!done()) Advance(); 208 if (!done()) Advance();
207 } 209 }
208 210
209 211
210 } } // namespace v8::internal 212 } } // namespace v8::internal
211 213
212 #endif // V8_FRAMES_INL_H_ 214 #endif // V8_FRAMES_INL_H_
OLDNEW
« no previous file with comments | « src/execution.cc ('k') | src/jsregexp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698