Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: src/x64/deoptimizer-x64.cc

Issue 12221012: Fix Win64 build (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698