OLD | NEW |
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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 JSObject* holder, Register holder_reg, | 170 JSObject* holder, Register holder_reg, |
171 Register scratch, Label* miss); | 171 Register scratch, Label* miss); |
172 | 172 |
173 // Generate code for checking access rights - used for security checks | 173 // Generate code for checking access rights - used for security checks |
174 // on access to global objects across environments. The holder register | 174 // on access to global objects across environments. The holder register |
175 // is left untouched, whereas both scratch registers are clobbered. | 175 // is left untouched, whereas both scratch registers are clobbered. |
176 void CheckAccessGlobal(Register holder_reg, Register scratch, Label* miss); | 176 void CheckAccessGlobal(Register holder_reg, Register scratch, Label* miss); |
177 | 177 |
178 | 178 |
179 // --------------------------------------------------------------------------- | 179 // --------------------------------------------------------------------------- |
| 180 // Support functions. |
| 181 |
| 182 // Generates code for reporting that an illegal operation has |
| 183 // occurred. |
| 184 void IllegalOperation(int num_arguments); |
| 185 |
| 186 |
| 187 // --------------------------------------------------------------------------- |
180 // Runtime calls | 188 // Runtime calls |
181 | 189 |
182 // Call a code stub. | 190 // Call a code stub. |
183 void CallStub(CodeStub* stub); | 191 void CallStub(CodeStub* stub); |
184 void CallJSExitStub(CodeStub* stub); | 192 void CallJSExitStub(CodeStub* stub); |
185 | 193 |
186 // Return from a code stub after popping its arguments. | 194 // Return from a code stub after popping its arguments. |
187 void StubReturn(int argc); | 195 void StubReturn(int argc); |
188 | 196 |
189 // Call a runtime routine. | 197 // Call a runtime routine. |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 // Generate a MemOperand for loading a field from an object. | 269 // Generate a MemOperand for loading a field from an object. |
262 static inline MemOperand FieldMemOperand(Register object, int offset) { | 270 static inline MemOperand FieldMemOperand(Register object, int offset) { |
263 return MemOperand(object, offset - kHeapObjectTag); | 271 return MemOperand(object, offset - kHeapObjectTag); |
264 } | 272 } |
265 | 273 |
266 | 274 |
267 | 275 |
268 } } // namespace v8::internal | 276 } } // namespace v8::internal |
269 | 277 |
270 #endif // V8_MACRO_ASSEMBLER_ARM_H_ | 278 #endif // V8_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |