| 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 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 elements_[top_index] = new_top; | 385 elements_[top_index] = new_top; |
| 386 } else { | 386 } else { |
| 387 // The stored-to slot holds the same value as the top but | 387 // The stored-to slot holds the same value as the top but |
| 388 // unsynced. (We do not have copies of constants yet.) | 388 // unsynced. (We do not have copies of constants yet.) |
| 389 ASSERT(top.is_constant()); | 389 ASSERT(top.is_constant()); |
| 390 elements_[index].clear_sync(); | 390 elements_[index].clear_sync(); |
| 391 } | 391 } |
| 392 } | 392 } |
| 393 | 393 |
| 394 | 394 |
| 395 void VirtualFrame::MakeMergable() { |
| 396 // UNIMPLEMENTED(); |
| 397 } |
| 398 |
| 395 void VirtualFrame::MergeTo(VirtualFrame* a) { | 399 void VirtualFrame::MergeTo(VirtualFrame* a) { |
| 396 UNIMPLEMENTED(); | 400 UNIMPLEMENTED(); |
| 397 } | 401 } |
| 398 | 402 |
| 399 | 403 |
| 400 Result VirtualFrame::Pop() { | 404 Result VirtualFrame::Pop() { |
| 401 FrameElement element = elements_.RemoveLast(); | 405 FrameElement element = elements_.RemoveLast(); |
| 402 int index = element_count(); | 406 int index = element_count(); |
| 403 ASSERT(element.is_valid()); | 407 ASSERT(element.is_valid()); |
| 404 | 408 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 PrepareForCall(arg_count + 2, arg_count + 1); | 641 PrepareForCall(arg_count + 2, arg_count + 1); |
| 638 return RawCallCodeObject(ic, mode); | 642 return RawCallCodeObject(ic, mode); |
| 639 } | 643 } |
| 640 | 644 |
| 641 | 645 |
| 642 | 646 |
| 643 | 647 |
| 644 #undef __ | 648 #undef __ |
| 645 | 649 |
| 646 } } // namespace v8::internal | 650 } } // namespace v8::internal |
| OLD | NEW |