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 6462029: Direct call accessor getter callbacks (arm implementation). (Closed) Base URL: http://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 1591 matching lines...) Expand 10 before | Expand all | Expand 10 after
1602 return result; 1602 return result;
1603 } 1603 }
1604 1604
1605 1605
1606 static int AddressOffset(ExternalReference ref0, ExternalReference ref1) { 1606 static int AddressOffset(ExternalReference ref0, ExternalReference ref1) {
1607 return ref0.address() - ref1.address(); 1607 return ref0.address() - ref1.address();
1608 } 1608 }
1609 1609
1610 1610
1611 MaybeObject* MacroAssembler::TryCallApiFunctionAndReturn( 1611 MaybeObject* MacroAssembler::TryCallApiFunctionAndReturn(
1612 ApiFunction* function, int stack_space) { 1612 ExternalReference function, int stack_space) {
1613 ExternalReference next_address = 1613 ExternalReference next_address =
1614 ExternalReference::handle_scope_next_address(); 1614 ExternalReference::handle_scope_next_address();
1615 const int kNextOffset = 0; 1615 const int kNextOffset = 0;
1616 const int kLimitOffset = AddressOffset( 1616 const int kLimitOffset = AddressOffset(
1617 ExternalReference::handle_scope_limit_address(), 1617 ExternalReference::handle_scope_limit_address(),
1618 next_address); 1618 next_address);
1619 const int kLevelOffset = AddressOffset( 1619 const int kLevelOffset = AddressOffset(
1620 ExternalReference::handle_scope_level_address(), 1620 ExternalReference::handle_scope_level_address(),
1621 next_address); 1621 next_address);
1622 1622
(...skipping 926 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 void CodePatcher::EmitCondition(Condition cond) { 2549 void CodePatcher::EmitCondition(Condition cond) {
2550 Instr instr = Assembler::instr_at(masm_.pc_); 2550 Instr instr = Assembler::instr_at(masm_.pc_);
2551 instr = (instr & ~kCondMask) | cond; 2551 instr = (instr & ~kCondMask) | cond;
2552 masm_.emit(instr); 2552 masm_.emit(instr);
2553 } 2553 }
2554 2554
2555 2555
2556 } } // namespace v8::internal 2556 } } // namespace v8::internal
2557 2557
2558 #endif // V8_TARGET_ARCH_ARM 2558 #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