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 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 void DebugBreak(); | 302 void DebugBreak(); |
303 #endif | 303 #endif |
304 | 304 |
305 // Invoke builtin given the number of arguments it expects on (and | 305 // Invoke builtin given the number of arguments it expects on (and |
306 // removes from) the stack. | 306 // removes from) the stack. |
307 void InvokeBuiltin(Builtins::JavaScript id, | 307 void InvokeBuiltin(Builtins::JavaScript id, |
308 InvokeJSFlags flag, | 308 InvokeJSFlags flag, |
309 int arg_count); | 309 int arg_count); |
310 | 310 |
311 // Call load IC. Receiver on stack and property name in r2. Result returned in | 311 // Call load IC. Receiver on stack and property name in r2. Result returned in |
312 // r0. If load_inlined is false the code generated will make sure that the IC | 312 // r0. |
313 // handling will not see this load as having an inlined counterpart. | 313 void CallLoadIC(RelocInfo::Mode mode); |
314 void CallLoadIC(RelocInfo::Mode mode, bool load_inlined = false); | |
315 | 314 |
316 // Call into an IC stub given the number of arguments it removes | 315 // Call into an IC stub given the number of arguments it removes |
317 // from the stack. Register arguments to the IC stub are implicit, | 316 // from the stack. Register arguments to the IC stub are implicit, |
318 // and depend on the type of IC stub. | 317 // and depend on the type of IC stub. |
319 void CallCodeObject(Handle<Code> ic, | 318 void CallCodeObject(Handle<Code> ic, |
320 RelocInfo::Mode rmode, | 319 RelocInfo::Mode rmode, |
321 int dropped_args); | 320 int dropped_args); |
322 | 321 |
323 // Drop a number of elements from the top of the expression stack. May | 322 // Drop a number of elements from the top of the expression stack. May |
324 // emit code to affect the physical frame. Does not clobber any registers | 323 // emit code to affect the physical frame. Does not clobber any registers |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 inline bool Equals(VirtualFrame* other); | 470 inline bool Equals(VirtualFrame* other); |
472 | 471 |
473 friend class JumpTarget; | 472 friend class JumpTarget; |
474 friend class DeferredCode; | 473 friend class DeferredCode; |
475 }; | 474 }; |
476 | 475 |
477 | 476 |
478 } } // namespace v8::internal | 477 } } // namespace v8::internal |
479 | 478 |
480 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 479 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
OLD | NEW |