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 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 | 353 |
354 // Call keyed store IC. Value, key, and receiver are found on top | 354 // Call keyed store IC. Value, key, and receiver are found on top |
355 // of the frame. All three are dropped. | 355 // of the frame. All three are dropped. |
356 Result CallKeyedStoreIC(); | 356 Result CallKeyedStoreIC(); |
357 | 357 |
358 // Call call IC. Function name, arguments, and receiver are found on top | 358 // Call call IC. Function name, arguments, and receiver are found on top |
359 // of the frame and dropped by the call. The argument count does not | 359 // of the frame and dropped by the call. The argument count does not |
360 // include the receiver. | 360 // include the receiver. |
361 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); | 361 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); |
362 | 362 |
| 363 // Call keyed call IC. Same calling convention as CallCallIC. |
| 364 Result CallKeyedCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); |
| 365 |
363 // Allocate and call JS function as constructor. Arguments, | 366 // Allocate and call JS function as constructor. Arguments, |
364 // receiver (global object), and function are found on top of the | 367 // receiver (global object), and function are found on top of the |
365 // frame. Function is not dropped. The argument count does not | 368 // frame. Function is not dropped. The argument count does not |
366 // include the receiver. | 369 // include the receiver. |
367 Result CallConstructor(int arg_count); | 370 Result CallConstructor(int arg_count); |
368 | 371 |
369 // Drop a number of elements from the top of the expression stack. May | 372 // Drop a number of elements from the top of the expression stack. May |
370 // emit code to affect the physical frame. Does not clobber any registers | 373 // emit code to affect the physical frame. Does not clobber any registers |
371 // excepting possibly the stack pointer. | 374 // excepting possibly the stack pointer. |
372 void Drop(int count); | 375 void Drop(int count); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 inline bool Equals(VirtualFrame* other); | 618 inline bool Equals(VirtualFrame* other); |
616 | 619 |
617 // Classes that need raw access to the elements_ array. | 620 // Classes that need raw access to the elements_ array. |
618 friend class FrameRegisterState; | 621 friend class FrameRegisterState; |
619 friend class JumpTarget; | 622 friend class JumpTarget; |
620 }; | 623 }; |
621 | 624 |
622 } } // namespace v8::internal | 625 } } // namespace v8::internal |
623 | 626 |
624 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 627 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
OLD | NEW |