| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 788 void LCodeGen::DoReturn(LReturn* instr) { | 788 void LCodeGen::DoReturn(LReturn* instr) { |
| 789 if (FLAG_trace) { | 789 if (FLAG_trace) { |
| 790 // Preserve the return value on the stack and rely on the runtime | 790 // Preserve the return value on the stack and rely on the runtime |
| 791 // call to return the value in the same register. | 791 // call to return the value in the same register. |
| 792 __ push(rax); | 792 __ push(rax); |
| 793 __ CallRuntime(Runtime::kTraceExit, 1); | 793 __ CallRuntime(Runtime::kTraceExit, 1); |
| 794 } | 794 } |
| 795 __ movq(rsp, rbp); | 795 __ movq(rsp, rbp); |
| 796 __ pop(rbp); | 796 __ pop(rbp); |
| 797 __ ret((ParameterCount() + 1) * kPointerSize); | 797 __ ret((ParameterCount() + 1) * kPointerSize); |
| 798 | |
| 799 } | 798 } |
| 800 | 799 |
| 801 | 800 |
| 802 void LCodeGen::DoLoadGlobal(LLoadGlobal* instr) { | 801 void LCodeGen::DoLoadGlobal(LLoadGlobal* instr) { |
| 803 Abort("Unimplemented: %s", "DoLoadGlobal"); | 802 Abort("Unimplemented: %s", "DoLoadGlobal"); |
| 804 } | 803 } |
| 805 | 804 |
| 806 | 805 |
| 807 void LCodeGen::DoStoreGlobal(LStoreGlobal* instr) { | 806 void LCodeGen::DoStoreGlobal(LStoreGlobal* instr) { |
| 808 Abort("Unimplemented: %s", "DoStoreGlobal"); | 807 Abort("Unimplemented: %s", "DoStoreGlobal"); |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1160 | 1159 |
| 1161 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { | 1160 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { |
| 1162 Abort("Unimplemented: %s", "DoOsrEntry"); | 1161 Abort("Unimplemented: %s", "DoOsrEntry"); |
| 1163 } | 1162 } |
| 1164 | 1163 |
| 1165 #undef __ | 1164 #undef __ |
| 1166 | 1165 |
| 1167 } } // namespace v8::internal | 1166 } } // namespace v8::internal |
| 1168 | 1167 |
| 1169 #endif // V8_TARGET_ARCH_X64 | 1168 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |