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

Side by Side Diff: src/mips/code-stubs-mips.cc

Issue 8283025: MIPS: fix build breakage due to r9607, faster slow asserts. (Closed)
Patch Set: Created 9 years, 2 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 | « no previous file | 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 6871 matching lines...) Expand 10 before | Expand all | Expand 10 after
6882 __ Jump(a2); 6882 __ Jump(a2);
6883 } 6883 }
6884 6884
6885 6885
6886 void DirectCEntryStub::Generate(MacroAssembler* masm) { 6886 void DirectCEntryStub::Generate(MacroAssembler* masm) {
6887 // No need to pop or drop anything, LeaveExitFrame will restore the old 6887 // No need to pop or drop anything, LeaveExitFrame will restore the old
6888 // stack, thus dropping the allocated space for the return value. 6888 // stack, thus dropping the allocated space for the return value.
6889 // The saved ra is after the reserved stack space for the 4 args. 6889 // The saved ra is after the reserved stack space for the 4 args.
6890 __ lw(t9, MemOperand(sp, kCArgsSlotsSize)); 6890 __ lw(t9, MemOperand(sp, kCArgsSlotsSize));
6891 6891
6892 if (FLAG_debug_code && EnableSlowAsserts()) { 6892 if (FLAG_debug_code && FLAG_enable_slow_asserts) {
6893 // In case of an error the return address may point to a memory area 6893 // In case of an error the return address may point to a memory area
6894 // filled with kZapValue by the GC. 6894 // filled with kZapValue by the GC.
6895 // Dereference the address and check for this. 6895 // Dereference the address and check for this.
6896 __ lw(t0, MemOperand(t9)); 6896 __ lw(t0, MemOperand(t9));
6897 __ Assert(ne, "Received invalid return address.", t0, 6897 __ Assert(ne, "Received invalid return address.", t0,
6898 Operand(reinterpret_cast<uint32_t>(kZapValue))); 6898 Operand(reinterpret_cast<uint32_t>(kZapValue)));
6899 } 6899 }
6900 __ Jump(t9); 6900 __ Jump(t9);
6901 } 6901 }
6902 6902
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
7444 7444
7445 // Fall through when we need to inform the incremental marker. 7445 // Fall through when we need to inform the incremental marker.
7446 } 7446 }
7447 7447
7448 7448
7449 #undef __ 7449 #undef __
7450 7450
7451 } } // namespace v8::internal 7451 } } // namespace v8::internal
7452 7452
7453 #endif // V8_TARGET_ARCH_MIPS 7453 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698