Index: src/x64/virtual-frame-x64.h |
=================================================================== |
--- src/x64/virtual-frame-x64.h (revision 5112) |
+++ src/x64/virtual-frame-x64.h (working copy) |
@@ -329,50 +329,27 @@ |
int arg_count); |
// Call load IC. Name and receiver are found on top of the frame. |
- // Receiver is not dropped. |
+ // Both are dropped. |
Result CallLoadIC(RelocInfo::Mode mode); |
// Call keyed load IC. Key and receiver are found on top of the |
- // frame. They are not dropped. |
+ // frame. Both are dropped. |
Result CallKeyedLoadIC(RelocInfo::Mode mode); |
- |
- // Calling a store IC and a keyed store IC differ only by which ic is called |
- // and by the order of the three arguments on the frame. |
- Result CallCommonStoreIC(Handle<Code> ic, |
- Result* value, |
- Result* key, |
- Result* receiver); |
- |
- // Call store IC. Name, value, and receiver are found on top |
- // of the frame. All are dropped. |
- Result CallStoreIC() { |
- Handle<Code> ic(Builtins::builtin(Builtins::StoreIC_Initialize)); |
- Result name = Pop(); |
- Result value = Pop(); |
- Result receiver = Pop(); |
- return CallCommonStoreIC(ic, &value, &name, &receiver); |
- } |
- |
// Call store IC. If the load is contextual, value is found on top of the |
// frame. If not, value and receiver are on the frame. Both are dropped. |
Result CallStoreIC(Handle<String> name, bool is_contextual); |
// Call keyed store IC. Value, key, and receiver are found on top |
- // of the frame. All are dropped. |
- Result CallKeyedStoreIC() { |
- Handle<Code> ic(Builtins::builtin(Builtins::KeyedStoreIC_Initialize)); |
- Result value = Pop(); |
- Result key = Pop(); |
- Result receiver = Pop(); |
- return CallCommonStoreIC(ic, &value, &key, &receiver); |
- } |
+ // of the frame. All three are dropped. |
+ Result CallKeyedStoreIC(); |
// Call call IC. Function name, arguments, and receiver are found on top |
// of the frame and dropped by the call. |
// The argument count does not include the receiver. |
Result CallCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); |
+ // Call keyed call IC. Same calling convention as CallCallIC. |
Result CallKeyedCallIC(RelocInfo::Mode mode, int arg_count, int loop_nesting); |
// Allocate and call JS function as constructor. Arguments, |