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

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

Issue 145353005: fix windows after r18847 (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « src/x64/code-stubs-x64.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | 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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 const int kNextOffset = 0; 690 const int kNextOffset = 0;
691 const int kLimitOffset = Offset( 691 const int kLimitOffset = Offset(
692 ExternalReference::handle_scope_limit_address(isolate()), 692 ExternalReference::handle_scope_limit_address(isolate()),
693 next_address); 693 next_address);
694 const int kLevelOffset = Offset( 694 const int kLevelOffset = Offset(
695 ExternalReference::handle_scope_level_address(isolate()), 695 ExternalReference::handle_scope_level_address(isolate()),
696 next_address); 696 next_address);
697 ExternalReference scheduled_exception_address = 697 ExternalReference scheduled_exception_address =
698 ExternalReference::scheduled_exception_address(isolate()); 698 ExternalReference::scheduled_exception_address(isolate());
699 699
700 ASSERT(rdx.is(function_address)); 700 ASSERT(rdx.is(function_address) || r8.is(function_address));
701 // Allocate HandleScope in callee-save registers. 701 // Allocate HandleScope in callee-save registers.
702 Register prev_next_address_reg = r14; 702 Register prev_next_address_reg = r14;
703 Register prev_limit_reg = rbx; 703 Register prev_limit_reg = rbx;
704 Register base_reg = r15; 704 Register base_reg = r15;
705 Move(base_reg, next_address); 705 Move(base_reg, next_address);
706 movp(prev_next_address_reg, Operand(base_reg, kNextOffset)); 706 movp(prev_next_address_reg, Operand(base_reg, kNextOffset));
707 movp(prev_limit_reg, Operand(base_reg, kLimitOffset)); 707 movp(prev_limit_reg, Operand(base_reg, kLimitOffset));
708 addl(Operand(base_reg, kLevelOffset), Immediate(1)); 708 addl(Operand(base_reg, kLevelOffset), Immediate(1));
709 709
710 if (FLAG_log_timer_events) { 710 if (FLAG_log_timer_events) {
(...skipping 4282 matching lines...) Expand 10 before | Expand all | Expand 10 after
4993 j(equal, found); 4993 j(equal, found);
4994 movp(current, FieldOperand(current, Map::kPrototypeOffset)); 4994 movp(current, FieldOperand(current, Map::kPrototypeOffset));
4995 CompareRoot(current, Heap::kNullValueRootIndex); 4995 CompareRoot(current, Heap::kNullValueRootIndex);
4996 j(not_equal, &loop_again); 4996 j(not_equal, &loop_again);
4997 } 4997 }
4998 4998
4999 4999
5000 } } // namespace v8::internal 5000 } } // namespace v8::internal
5001 5001
5002 #endif // V8_TARGET_ARCH_X64 5002 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/x64/code-stubs-x64.cc ('k') | src/x64/stub-cache-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698