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

Side by Side Diff: src/x64/macro-assembler-x64.cc

Issue 11694008: Use EXTERNAL_REFERENCE instead of RUNTIME_ENTRY for Runtime::PerformGC and (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 11 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 | « src/x64/macro-assembler-x64.h ('k') | 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 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
724 if (FLAG_log_timer_events) { 724 if (FLAG_log_timer_events) {
725 FrameScope frame(this, StackFrame::MANUAL); 725 FrameScope frame(this, StackFrame::MANUAL);
726 PushSafepointRegisters(); 726 PushSafepointRegisters();
727 PrepareCallCFunction(0); 727 PrepareCallCFunction(0);
728 CallCFunction(ExternalReference::log_enter_external_function(isolate()), 0); 728 CallCFunction(ExternalReference::log_enter_external_function(isolate()), 0);
729 PopSafepointRegisters(); 729 PopSafepointRegisters();
730 } 730 }
731 731
732 // Call the api function! 732 // Call the api function!
733 movq(rax, reinterpret_cast<int64_t>(function_address), 733 movq(rax, reinterpret_cast<int64_t>(function_address),
734 RelocInfo::RUNTIME_ENTRY); 734 RelocInfo::EXTERNAL_REFERENCE);
735 call(rax); 735 call(rax);
736 736
737 if (FLAG_log_timer_events) { 737 if (FLAG_log_timer_events) {
738 FrameScope frame(this, StackFrame::MANUAL); 738 FrameScope frame(this, StackFrame::MANUAL);
739 PushSafepointRegisters(); 739 PushSafepointRegisters();
740 PrepareCallCFunction(0); 740 PrepareCallCFunction(0);
741 CallCFunction(ExternalReference::log_leave_external_function(isolate()), 0); 741 CallCFunction(ExternalReference::log_leave_external_function(isolate()), 0);
742 PopSafepointRegisters(); 742 PopSafepointRegisters();
743 } 743 }
744 744
(...skipping 3840 matching lines...) Expand 10 before | Expand all | Expand 10 after
4585 4585
4586 movq(rcx, FieldOperand(rbx, Map::kPrototypeOffset)); 4586 movq(rcx, FieldOperand(rbx, Map::kPrototypeOffset));
4587 cmpq(rcx, null_value); 4587 cmpq(rcx, null_value);
4588 j(not_equal, &next); 4588 j(not_equal, &next);
4589 } 4589 }
4590 4590
4591 4591
4592 } } // namespace v8::internal 4592 } } // namespace v8::internal
4593 4593
4594 #endif // V8_TARGET_ARCH_X64 4594 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698