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

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

Issue 578014: ARM: Removed unused StubReturn (Closed)
Patch Set: Created 10 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
« no previous file with comments | « src/arm/macro-assembler-arm.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 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 Call(stub->GetCode(), RelocInfo::CODE_TARGET, cond); 1116 Call(stub->GetCode(), RelocInfo::CODE_TARGET, cond);
1117 } 1117 }
1118 1118
1119 1119
1120 void MacroAssembler::TailCallStub(CodeStub* stub, Condition cond) { 1120 void MacroAssembler::TailCallStub(CodeStub* stub, Condition cond) {
1121 ASSERT(allow_stub_calls()); // stub calls are not allowed in some stubs 1121 ASSERT(allow_stub_calls()); // stub calls are not allowed in some stubs
1122 Jump(stub->GetCode(), RelocInfo::CODE_TARGET, cond); 1122 Jump(stub->GetCode(), RelocInfo::CODE_TARGET, cond);
1123 } 1123 }
1124 1124
1125 1125
1126 void MacroAssembler::StubReturn(int argc) {
1127 ASSERT(argc >= 1 && generating_stub());
1128 if (argc > 1) {
1129 add(sp, sp, Operand((argc - 1) * kPointerSize));
1130 }
1131 Ret();
1132 }
1133
1134
1135 void MacroAssembler::IllegalOperation(int num_arguments) { 1126 void MacroAssembler::IllegalOperation(int num_arguments) {
1136 if (num_arguments > 0) { 1127 if (num_arguments > 0) {
1137 add(sp, sp, Operand(num_arguments * kPointerSize)); 1128 add(sp, sp, Operand(num_arguments * kPointerSize));
1138 } 1129 }
1139 LoadRoot(r0, Heap::kUndefinedValueRootIndex); 1130 LoadRoot(r0, Heap::kUndefinedValueRootIndex);
1140 } 1131 }
1141 1132
1142 1133
1143 void MacroAssembler::IntegerToDoubleConversionWithVFP3(Register inReg, 1134 void MacroAssembler::IntegerToDoubleConversionWithVFP3(Register inReg,
1144 Register outHighReg, 1135 Register outHighReg,
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
1453 } 1444 }
1454 1445
1455 1446
1456 void CodePatcher::Emit(Address addr) { 1447 void CodePatcher::Emit(Address addr) {
1457 masm()->emit(reinterpret_cast<Instr>(addr)); 1448 masm()->emit(reinterpret_cast<Instr>(addr));
1458 } 1449 }
1459 #endif // ENABLE_DEBUGGER_SUPPORT 1450 #endif // ENABLE_DEBUGGER_SUPPORT
1460 1451
1461 1452
1462 } } // namespace v8::internal 1453 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698