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

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

Issue 6576035: Landing for Zaheer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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/arm/macro-assembler-arm.h ('k') | src/arm/simulator-arm.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 1600 matching lines...) Expand 10 before | Expand all | Expand 10 after
1611 return result; 1611 return result;
1612 } 1612 }
1613 1613
1614 1614
1615 static int AddressOffset(ExternalReference ref0, ExternalReference ref1) { 1615 static int AddressOffset(ExternalReference ref0, ExternalReference ref1) {
1616 return ref0.address() - ref1.address(); 1616 return ref0.address() - ref1.address();
1617 } 1617 }
1618 1618
1619 1619
1620 MaybeObject* MacroAssembler::TryCallApiFunctionAndReturn( 1620 MaybeObject* MacroAssembler::TryCallApiFunctionAndReturn(
1621 ApiFunction* function, int stack_space) { 1621 ExternalReference function, int stack_space) {
1622 ExternalReference next_address = 1622 ExternalReference next_address =
1623 ExternalReference::handle_scope_next_address(); 1623 ExternalReference::handle_scope_next_address();
1624 const int kNextOffset = 0; 1624 const int kNextOffset = 0;
1625 const int kLimitOffset = AddressOffset( 1625 const int kLimitOffset = AddressOffset(
1626 ExternalReference::handle_scope_limit_address(), 1626 ExternalReference::handle_scope_limit_address(),
1627 next_address); 1627 next_address);
1628 const int kLevelOffset = AddressOffset( 1628 const int kLevelOffset = AddressOffset(
1629 ExternalReference::handle_scope_level_address(), 1629 ExternalReference::handle_scope_level_address(),
1630 next_address); 1630 next_address);
1631 1631
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after
2569 void CodePatcher::EmitCondition(Condition cond) { 2569 void CodePatcher::EmitCondition(Condition cond) {
2570 Instr instr = Assembler::instr_at(masm_.pc_); 2570 Instr instr = Assembler::instr_at(masm_.pc_);
2571 instr = (instr & ~kCondMask) | cond; 2571 instr = (instr & ~kCondMask) | cond;
2572 masm_.emit(instr); 2572 masm_.emit(instr);
2573 } 2573 }
2574 2574
2575 2575
2576 } } // namespace v8::internal 2576 } } // namespace v8::internal
2577 2577
2578 #endif // V8_TARGET_ARCH_ARM 2578 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | src/arm/simulator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698