| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 output_frame->SetRegister(rsi.code(), value); | 532 output_frame->SetRegister(rsi.code(), value); |
| 533 output_frame_offset -= kPointerSize; | 533 output_frame_offset -= kPointerSize; |
| 534 output_frame->SetFrameSlot(output_frame_offset, value); | 534 output_frame->SetFrameSlot(output_frame_offset, value); |
| 535 | 535 |
| 536 // Internal frame markers | 536 // Internal frame markers |
| 537 output_frame_offset -= kPointerSize; | 537 output_frame_offset -= kPointerSize; |
| 538 value = reinterpret_cast<intptr_t>( | 538 value = reinterpret_cast<intptr_t>( |
| 539 Smi::FromInt(StackFrame::STUB_FAILURE_TRAMPOLINE)); | 539 Smi::FromInt(StackFrame::STUB_FAILURE_TRAMPOLINE)); |
| 540 output_frame->SetFrameSlot(output_frame_offset, value); | 540 output_frame->SetFrameSlot(output_frame_offset, value); |
| 541 | 541 |
| 542 int caller_arg_count = 0; | 542 intptr_t caller_arg_count = 0; |
| 543 if (descriptor->stack_parameter_count_ != NULL) { | 543 if (descriptor->stack_parameter_count_ != NULL) { |
| 544 caller_arg_count = | 544 caller_arg_count = |
| 545 input_->GetRegister(descriptor->stack_parameter_count_->code()); | 545 input_->GetRegister(descriptor->stack_parameter_count_->code()); |
| 546 } | 546 } |
| 547 | 547 |
| 548 // Build the Arguments object for the caller's parameters and a pointer to it. | 548 // Build the Arguments object for the caller's parameters and a pointer to it. |
| 549 output_frame_offset -= kPointerSize; | 549 output_frame_offset -= kPointerSize; |
| 550 value = frame_ptr + StandardFrameConstants::kCallerSPOffset + | 550 value = frame_ptr + StandardFrameConstants::kCallerSPOffset + |
| 551 (caller_arg_count - 1) * kPointerSize; | 551 (caller_arg_count - 1) * kPointerSize; |
| 552 output_frame->SetFrameSlot(output_frame_offset, value); | 552 output_frame->SetFrameSlot(output_frame_offset, value); |
| (...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1236 } | 1236 } |
| 1237 __ bind(&done); | 1237 __ bind(&done); |
| 1238 } | 1238 } |
| 1239 | 1239 |
| 1240 #undef __ | 1240 #undef __ |
| 1241 | 1241 |
| 1242 | 1242 |
| 1243 } } // namespace v8::internal | 1243 } } // namespace v8::internal |
| 1244 | 1244 |
| 1245 #endif // V8_TARGET_ARCH_X64 | 1245 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |