OLD | NEW |
1 // Copyright 2009 the V8 project authors. All rights reserved. | 1 // Copyright 2009 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 #ifdef ENABLE_DEBUGGER_SUPPORT | 271 #ifdef ENABLE_DEBUGGER_SUPPORT |
272 void DebugBreak(); | 272 void DebugBreak(); |
273 #endif | 273 #endif |
274 | 274 |
275 // Invoke builtin given the number of arguments it expects on (and | 275 // Invoke builtin given the number of arguments it expects on (and |
276 // removes from) the stack. | 276 // removes from) the stack. |
277 void InvokeBuiltin(Builtins::JavaScript id, | 277 void InvokeBuiltin(Builtins::JavaScript id, |
278 InvokeJSFlags flag, | 278 InvokeJSFlags flag, |
279 int arg_count); | 279 int arg_count); |
280 | 280 |
281 // Call load IC. Receiver is on the stack. Result is returned in r0. | 281 // Call load IC. Receiver is on the stack and is consumed. Result is returned |
| 282 // in r0. |
282 void CallLoadIC(Handle<String> name, RelocInfo::Mode mode); | 283 void CallLoadIC(Handle<String> name, RelocInfo::Mode mode); |
283 | 284 |
284 // Call store IC. If the load is contextual, value is found on top of the | 285 // Call store IC. If the load is contextual, value is found on top of the |
285 // frame. If not, value and receiver are on the frame. Both are consumed. | 286 // frame. If not, value and receiver are on the frame. Both are consumed. |
286 // Result is returned in r0. | 287 // Result is returned in r0. |
287 void CallStoreIC(Handle<String> name, bool is_contextual); | 288 void CallStoreIC(Handle<String> name, bool is_contextual); |
288 | 289 |
289 // Call keyed load IC. Key and receiver are on the stack. Both are consumed. | 290 // Call keyed load IC. Key and receiver are on the stack. Both are consumed. |
290 // Result is returned in r0. | 291 // Result is returned in r0. |
291 void CallKeyedLoadIC(); | 292 void CallKeyedLoadIC(); |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 | 473 |
473 inline bool Equals(VirtualFrame* other); | 474 inline bool Equals(VirtualFrame* other); |
474 | 475 |
475 friend class JumpTarget; | 476 friend class JumpTarget; |
476 }; | 477 }; |
477 | 478 |
478 | 479 |
479 } } // namespace v8::internal | 480 } } // namespace v8::internal |
480 | 481 |
481 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 482 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |