| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ASSERT(expected->elements_[i].is_memory()); | 140 ASSERT(expected->elements_[i].is_memory()); |
| 141 } | 141 } |
| 142 #endif | 142 #endif |
| 143 } | 143 } |
| 144 | 144 |
| 145 | 145 |
| 146 void VirtualFrame::MergeMoveRegistersToRegisters(VirtualFrame* expected) { | 146 void VirtualFrame::MergeMoveRegistersToRegisters(VirtualFrame* expected) { |
| 147 } | 147 } |
| 148 | 148 |
| 149 | 149 |
| 150 void VirtualFrame::MergeMoveMemoryToRegisters(VirtualFrame *expected) { | 150 void VirtualFrame::MergeMoveMemoryToRegisters(VirtualFrame* expected) { |
| 151 } | 151 } |
| 152 | 152 |
| 153 | 153 |
| 154 void VirtualFrame::Enter() { | 154 void VirtualFrame::Enter() { |
| 155 Comment cmnt(masm_, "[ Enter JS frame"); | 155 Comment cmnt(masm_, "[ Enter JS frame"); |
| 156 | 156 |
| 157 #ifdef DEBUG | 157 #ifdef DEBUG |
| 158 // Verify that r1 contains a JS function. The following code relies | 158 // Verify that r1 contains a JS function. The following code relies |
| 159 // on r2 being available for use. | 159 // on r2 being available for use. |
| 160 { Label map_check, done; | 160 { Label map_check, done; |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 ASSERT(stack_pointer_ == elements_.length() - 1); | 439 ASSERT(stack_pointer_ == elements_.length() - 1); |
| 440 elements_.Add(FrameElement::MemoryElement()); | 440 elements_.Add(FrameElement::MemoryElement()); |
| 441 stack_pointer_++; | 441 stack_pointer_++; |
| 442 __ push(reg); | 442 __ push(reg); |
| 443 } | 443 } |
| 444 | 444 |
| 445 | 445 |
| 446 #undef __ | 446 #undef __ |
| 447 | 447 |
| 448 } } // namespace v8::internal | 448 } } // namespace v8::internal |
| OLD | NEW |