| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 #ifdef ENABLE_DEBUGGER_SUPPORT | 301 #ifdef ENABLE_DEBUGGER_SUPPORT |
| 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 is on the stack and the property name is in r2. |
| 312 // r0. | 312 // Result is returned in r0. |
| 313 void CallLoadIC(RelocInfo::Mode mode); | 313 void CallLoadIC(RelocInfo::Mode mode); |
| 314 | 314 |
| 315 // Call keyed load IC. Key and receiver are on the stack. Result is returned |
| 316 // in r0. |
| 317 void CallKeyedLoadIC(); |
| 318 |
| 315 // Call into an IC stub given the number of arguments it removes | 319 // Call into an IC stub given the number of arguments it removes |
| 316 // from the stack. Register arguments to the IC stub are implicit, | 320 // from the stack. Register arguments to the IC stub are implicit, |
| 317 // and depend on the type of IC stub. | 321 // and depend on the type of IC stub. |
| 318 void CallCodeObject(Handle<Code> ic, | 322 void CallCodeObject(Handle<Code> ic, |
| 319 RelocInfo::Mode rmode, | 323 RelocInfo::Mode rmode, |
| 320 int dropped_args); | 324 int dropped_args); |
| 321 | 325 |
| 322 // Drop a number of elements from the top of the expression stack. May | 326 // Drop a number of elements from the top of the expression stack. May |
| 323 // emit code to affect the physical frame. Does not clobber any registers | 327 // emit code to affect the physical frame. Does not clobber any registers |
| 324 // excepting possibly the stack pointer. | 328 // excepting possibly the stack pointer. |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 inline bool Equals(VirtualFrame* other); | 474 inline bool Equals(VirtualFrame* other); |
| 471 | 475 |
| 472 friend class JumpTarget; | 476 friend class JumpTarget; |
| 473 friend class DeferredCode; | 477 friend class DeferredCode; |
| 474 }; | 478 }; |
| 475 | 479 |
| 476 | 480 |
| 477 } } // namespace v8::internal | 481 } } // namespace v8::internal |
| 478 | 482 |
| 479 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 483 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |