OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 void VirtualFrame::RestoreContextRegister() { | 283 void VirtualFrame::RestoreContextRegister() { |
284 UNIMPLEMENTED(); | 284 UNIMPLEMENTED(); |
285 } | 285 } |
286 | 286 |
287 | 287 |
288 void VirtualFrame::PushReceiverSlotAddress() { | 288 void VirtualFrame::PushReceiverSlotAddress() { |
289 UNIMPLEMENTED(); | 289 UNIMPLEMENTED(); |
290 } | 290 } |
291 | 291 |
292 | 292 |
293 // Before changing an element which is copied, adjust so that the | 293 int VirtualFrame::InvalidateFrameSlotAt(int index) { |
294 // first copy becomes the new backing store and all the other copies | |
295 // are updated. If the original was in memory, the new backing store | |
296 // is allocated to a register. Return a copy of the new backing store | |
297 // or an invalid element if the original was not a copy. | |
298 FrameElement VirtualFrame::AdjustCopies(int index) { | |
299 UNIMPLEMENTED(); | 294 UNIMPLEMENTED(); |
300 return FrameElement::InvalidElement(); | 295 return kIllegalIndex; |
301 } | 296 } |
302 | 297 |
303 | 298 |
304 void VirtualFrame::TakeFrameSlotAt(int index) { | 299 void VirtualFrame::TakeFrameSlotAt(int index) { |
305 UNIMPLEMENTED(); | 300 UNIMPLEMENTED(); |
306 } | 301 } |
307 | 302 |
308 | 303 |
309 void VirtualFrame::StoreToFrameSlotAt(int index) { | 304 void VirtualFrame::StoreToFrameSlotAt(int index) { |
310 UNIMPLEMENTED(); | 305 UNIMPLEMENTED(); |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 ASSERT(stack_pointer_ == elements_.length() - 1); | 468 ASSERT(stack_pointer_ == elements_.length() - 1); |
474 elements_.Add(FrameElement::MemoryElement()); | 469 elements_.Add(FrameElement::MemoryElement()); |
475 stack_pointer_++; | 470 stack_pointer_++; |
476 __ push(reg); | 471 __ push(reg); |
477 } | 472 } |
478 | 473 |
479 | 474 |
480 #undef __ | 475 #undef __ |
481 | 476 |
482 } } // namespace v8::internal | 477 } } // namespace v8::internal |
OLD | NEW |