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

Side by Side Diff: src/macro-assembler-arm.h

Issue 77035: Add ENABLE_DEBUGGER_SUPPORT macro.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 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
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 RelocInfo::Mode rmode, 131 RelocInfo::Mode rmode,
132 InvokeFlag flag); 132 InvokeFlag flag);
133 133
134 // Invoke the JavaScript function in the given register. Changes the 134 // Invoke the JavaScript function in the given register. Changes the
135 // current context to the context in the function before invoking. 135 // current context to the context in the function before invoking.
136 void InvokeFunction(Register function, 136 void InvokeFunction(Register function,
137 const ParameterCount& actual, 137 const ParameterCount& actual,
138 InvokeFlag flag); 138 InvokeFlag flag);
139 139
140 140
141 #ifdef ENABLE_DEBUGGER_SUPPORT
141 // --------------------------------------------------------------------------- 142 // ---------------------------------------------------------------------------
142 // Debugger Support 143 // Debugger Support
143 144
144 void SaveRegistersToMemory(RegList regs); 145 void SaveRegistersToMemory(RegList regs);
145 void RestoreRegistersFromMemory(RegList regs); 146 void RestoreRegistersFromMemory(RegList regs);
146 void CopyRegistersFromMemoryToStack(Register base, RegList regs); 147 void CopyRegistersFromMemoryToStack(Register base, RegList regs);
147 void CopyRegistersFromStackToMemory(Register base, 148 void CopyRegistersFromStackToMemory(Register base,
148 Register scratch, 149 Register scratch,
149 RegList regs); 150 RegList regs);
150 151 #endif
151 152
152 // --------------------------------------------------------------------------- 153 // ---------------------------------------------------------------------------
153 // Exception handling 154 // Exception handling
154 155
155 // Push a new try handler and link into try handler chain. 156 // Push a new try handler and link into try handler chain.
156 // The return address must be passed in register lr. 157 // The return address must be passed in register lr.
157 // On exit, r0 contains TOS (code slot). 158 // On exit, r0 contains TOS (code slot).
158 void PushTryHandler(CodeLocation try_location, HandlerType type); 159 void PushTryHandler(CodeLocation try_location, HandlerType type);
159 160
160 161
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // Generate a MemOperand for loading a field from an object. 295 // Generate a MemOperand for loading a field from an object.
295 static inline MemOperand FieldMemOperand(Register object, int offset) { 296 static inline MemOperand FieldMemOperand(Register object, int offset) {
296 return MemOperand(object, offset - kHeapObjectTag); 297 return MemOperand(object, offset - kHeapObjectTag);
297 } 298 }
298 299
299 300
300 301
301 } } // namespace v8::internal 302 } } // namespace v8::internal
302 303
303 #endif // V8_MACRO_ASSEMBLER_ARM_H_ 304 #endif // V8_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/ic-inl.h ('k') | src/macro-assembler-arm.cc » ('j') | src/serialize.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698