| 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 332 |
| 333 // Invoke builtin given the number of arguments it expects on (and | 333 // Invoke builtin given the number of arguments it expects on (and |
| 334 // removes from) the stack. | 334 // removes from) the stack. |
| 335 Result InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag, int arg_count); | 335 Result InvokeBuiltin(Builtins::JavaScript id, InvokeFlag flag, int arg_count); |
| 336 | 336 |
| 337 // Call load IC. Name and receiver are found on top of the frame. | 337 // Call load IC. Name and receiver are found on top of the frame. |
| 338 // Both are dropped. | 338 // Both are dropped. |
| 339 Result CallLoadIC(RelocInfo::Mode mode); | 339 Result CallLoadIC(RelocInfo::Mode mode); |
| 340 | 340 |
| 341 // Call keyed load IC. Key and receiver are found on top of the | 341 // Call keyed load IC. Key and receiver are found on top of the |
| 342 // frame. They are not dropped. | 342 // frame. Both are dropped. |
| 343 Result CallKeyedLoadIC(RelocInfo::Mode mode); | 343 Result CallKeyedLoadIC(RelocInfo::Mode mode); |
| 344 | 344 |
| 345 // Call store IC. Name, value, and receiver are found on top of the | 345 // Call store IC. If the load is contextual, value is found on top of the |
| 346 // frame. Receiver is not dropped. | 346 // frame. If not, value and receiver are on the frame. Both are dropped. |
| 347 Result CallStoreIC(); | 347 Result CallStoreIC(Handle<String> name, bool is_contextual); |
| 348 | 348 |
| 349 // Call keyed store IC. Value, key, and receiver are found on top | 349 // Call keyed store IC. Value, key, and receiver are found on top |
| 350 // of the frame. Key and receiver are not dropped. | 350 // of the frame. Key and receiver are not dropped. |
| 351 Result CallKeyedStoreIC(); | 351 Result CallKeyedStoreIC(); |
| 352 | 352 |
| 353 // Call call IC. Function name, arguments, and receiver are found on top | 353 // Call call IC. Function name, arguments, and receiver are found on top |
| 354 // of the frame and dropped by the call. The argument count does not | 354 // of the frame and dropped by the call. The argument count does not |
| 355 // include the receiver. | 355 // include the receiver. |
| 356 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); | 356 Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); |
| 357 | 357 |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 584 bool Equals(VirtualFrame* other); | 584 bool Equals(VirtualFrame* other); |
| 585 | 585 |
| 586 // Classes that need raw access to the elements_ array. | 586 // Classes that need raw access to the elements_ array. |
| 587 friend class DeferredCode; | 587 friend class DeferredCode; |
| 588 friend class JumpTarget; | 588 friend class JumpTarget; |
| 589 }; | 589 }; |
| 590 | 590 |
| 591 } } // namespace v8::internal | 591 } } // namespace v8::internal |
| 592 | 592 |
| 593 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ | 593 #endif // V8_IA32_VIRTUAL_FRAME_IA32_H_ |
| OLD | NEW |