| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 InvokeJSFlags flag, | 290 InvokeJSFlags flag, |
| 291 int arg_count); | 291 int arg_count); |
| 292 | 292 |
| 293 // Call load IC. Receiver is on the stack and is consumed. Result is returned | 293 // Call load IC. Receiver is on the stack and is consumed. Result is returned |
| 294 // in r0. | 294 // in r0. |
| 295 void CallLoadIC(Handle<String> name, RelocInfo::Mode mode); | 295 void CallLoadIC(Handle<String> name, RelocInfo::Mode mode); |
| 296 | 296 |
| 297 // Call store IC. If the load is contextual, value is found on top of the | 297 // Call store IC. If the load is contextual, value is found on top of the |
| 298 // frame. If not, value and receiver are on the frame. Both are consumed. | 298 // frame. If not, value and receiver are on the frame. Both are consumed. |
| 299 // Result is returned in r0. | 299 // Result is returned in r0. |
| 300 void CallStoreIC(Handle<String> name, bool is_contextual); | 300 void CallStoreIC(Handle<String> name, bool is_contextual, |
| 301 StrictModeFlag strict_mode); |
| 301 | 302 |
| 302 // Call keyed load IC. Key and receiver are on the stack. Both are consumed. | 303 // Call keyed load IC. Key and receiver are on the stack. Both are consumed. |
| 303 // Result is returned in r0. | 304 // Result is returned in r0. |
| 304 void CallKeyedLoadIC(); | 305 void CallKeyedLoadIC(); |
| 305 | 306 |
| 306 // Call keyed store IC. Value, key and receiver are on the stack. All three | 307 // Call keyed store IC. Value, key and receiver are on the stack. All three |
| 307 // are consumed. Result is returned in r0. | 308 // are consumed. Result is returned in r0. |
| 308 void CallKeyedStoreIC(); | 309 void CallKeyedStoreIC(StrictModeFlag strict_mode); |
| 309 | 310 |
| 310 // Call into an IC stub given the number of arguments it removes | 311 // Call into an IC stub given the number of arguments it removes |
| 311 // from the stack. Register arguments to the IC stub are implicit, | 312 // from the stack. Register arguments to the IC stub are implicit, |
| 312 // and depend on the type of IC stub. | 313 // and depend on the type of IC stub. |
| 313 void CallCodeObject(Handle<Code> ic, | 314 void CallCodeObject(Handle<Code> ic, |
| 314 RelocInfo::Mode rmode, | 315 RelocInfo::Mode rmode, |
| 315 int dropped_args); | 316 int dropped_args); |
| 316 | 317 |
| 317 // Drop a number of elements from the top of the expression stack. May | 318 // Drop a number of elements from the top of the expression stack. May |
| 318 // emit code to affect the physical frame. Does not clobber any registers | 319 // emit code to affect the physical frame. Does not clobber any registers |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 } | 514 } |
| 514 } | 515 } |
| 515 | 516 |
| 516 friend class JumpTarget; | 517 friend class JumpTarget; |
| 517 }; | 518 }; |
| 518 | 519 |
| 519 | 520 |
| 520 } } // namespace v8::internal | 521 } } // namespace v8::internal |
| 521 | 522 |
| 522 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ | 523 #endif // V8_ARM_VIRTUAL_FRAME_ARM_H_ |
| OLD | NEW |