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

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

Issue 12095033: Unbreak 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 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 reinterpret_cast<intptr_t>(notify_failure->entry())); 493 reinterpret_cast<intptr_t>(notify_failure->entry()));
494 494
495 Code* trampoline = NULL; 495 Code* trampoline = NULL;
496 StubFailureTrampolineStub().FindCodeInCache(&trampoline, isolate_); 496 StubFailureTrampolineStub().FindCodeInCache(&trampoline, isolate_);
497 ASSERT(trampoline != NULL); 497 ASSERT(trampoline != NULL);
498 output_frame->SetPc(reinterpret_cast<intptr_t>( 498 output_frame->SetPc(reinterpret_cast<intptr_t>(
499 trampoline->instruction_start())); 499 trampoline->instruction_start()));
500 unsigned input_frame_size = input_->GetFrameSize(); 500 unsigned input_frame_size = input_->GetFrameSize();
501 501
502 // JSFunction continuation 502 // JSFunction continuation
503 intptr_t input_frame_offset = input_frame_size - kPointerSize; 503 unsigned input_frame_offset = input_frame_size - kPointerSize;
504 intptr_t output_frame_offset = output_frame_size - kPointerSize; 504 unsigned output_frame_offset = output_frame_size - kPointerSize;
505 intptr_t value = input_->GetFrameSlot(input_frame_offset); 505 intptr_t value = input_->GetFrameSlot(input_frame_offset);
506 output_frame->SetFrameSlot(output_frame_offset, value); 506 output_frame->SetFrameSlot(output_frame_offset, value);
507 507
508 // saved frame ptr 508 // saved frame ptr
509 input_frame_offset -= kPointerSize; 509 input_frame_offset -= kPointerSize;
510 value = input_->GetFrameSlot(input_frame_offset); 510 value = input_->GetFrameSlot(input_frame_offset);
511 output_frame_offset -= kPointerSize; 511 output_frame_offset -= kPointerSize;
512 output_frame->SetFrameSlot(output_frame_offset, value); 512 output_frame->SetFrameSlot(output_frame_offset, value);
513 513
514 // Restore context 514 // Restore context
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 } 1194 }
1195 __ bind(&done); 1195 __ bind(&done);
1196 } 1196 }
1197 1197
1198 #undef __ 1198 #undef __
1199 1199
1200 1200
1201 } } // namespace v8::internal 1201 } } // namespace v8::internal
1202 1202
1203 #endif // V8_TARGET_ARCH_X64 1203 #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