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

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

Issue 7134037: MIPS: port Stop using with explicitly to implement try/catch. (Closed)
Patch Set: Created 9 years, 6 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/mips/macro-assembler-mips.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 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 1998 matching lines...) Expand 10 before | Expand all | Expand 10 after
2009 mov(reg2, scratch); 2009 mov(reg2, scratch);
2010 } 2010 }
2011 } 2011 }
2012 2012
2013 2013
2014 void MacroAssembler::Call(Label* target) { 2014 void MacroAssembler::Call(Label* target) {
2015 BranchAndLink(target); 2015 BranchAndLink(target);
2016 } 2016 }
2017 2017
2018 2018
2019 void MacroAssembler::Push(Handle<Object> handle) {
2020 li(at, Operand(handle));
2021 push(at);
2022 }
2023
2024
2019 #ifdef ENABLE_DEBUGGER_SUPPORT 2025 #ifdef ENABLE_DEBUGGER_SUPPORT
2020 2026
2021 void MacroAssembler::DebugBreak() { 2027 void MacroAssembler::DebugBreak() {
2022 ASSERT(allow_stub_calls()); 2028 ASSERT(allow_stub_calls());
2023 mov(a0, zero_reg); 2029 mov(a0, zero_reg);
2024 li(a1, Operand(ExternalReference(Runtime::kDebugBreak, isolate()))); 2030 li(a1, Operand(ExternalReference(Runtime::kDebugBreak, isolate())));
2025 CEntryStub ces(1); 2031 CEntryStub ces(1);
2026 Call(ces.GetCode(), RelocInfo::DEBUG_BREAK); 2032 Call(ces.GetCode(), RelocInfo::DEBUG_BREAK);
2027 } 2033 }
2028 2034
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after
4104 opcode == BGTZL); 4110 opcode == BGTZL);
4105 opcode = (cond == eq) ? BEQ : BNE; 4111 opcode = (cond == eq) ? BEQ : BNE;
4106 instr = (instr & ~kOpcodeMask) | opcode; 4112 instr = (instr & ~kOpcodeMask) | opcode;
4107 masm_.emit(instr); 4113 masm_.emit(instr);
4108 } 4114 }
4109 4115
4110 4116
4111 } } // namespace v8::internal 4117 } } // namespace v8::internal
4112 4118
4113 #endif // V8_TARGET_ARCH_MIPS 4119 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698