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

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 5736003: ARM: Fix missing SetCC in crankshaft code emitted when running with... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years 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 | « 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 129
130 // Reserve space for the stack slots needed by the code. 130 // Reserve space for the stack slots needed by the code.
131 int slots = StackSlotCount(); 131 int slots = StackSlotCount();
132 if (slots > 0) { 132 if (slots > 0) {
133 if (FLAG_debug_code) { 133 if (FLAG_debug_code) {
134 __ mov(r0, Operand(slots)); 134 __ mov(r0, Operand(slots));
135 __ mov(r2, Operand(kSlotsZapValue)); 135 __ mov(r2, Operand(kSlotsZapValue));
136 Label loop; 136 Label loop;
137 __ bind(&loop); 137 __ bind(&loop);
138 __ push(r2); 138 __ push(r2);
139 __ sub(r0, r0, Operand(1)); 139 __ sub(r0, r0, Operand(1), SetCC);
140 __ b(ne, &loop); 140 __ b(ne, &loop);
141 } else { 141 } else {
142 __ sub(sp, sp, Operand(slots * kPointerSize)); 142 __ sub(sp, sp, Operand(slots * kPointerSize));
143 } 143 }
144 } 144 }
145 145
146 // Trace the call. 146 // Trace the call.
147 if (FLAG_trace) { 147 if (FLAG_trace) {
148 __ CallRuntime(Runtime::kTraceEnter, 0); 148 __ CallRuntime(Runtime::kTraceEnter, 0);
149 } 149 }
(...skipping 1987 matching lines...) Expand 10 before | Expand all | Expand 10 after
2137 2137
2138 2138
2139 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { 2139 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
2140 Abort("DoOsrEntry unimplemented."); 2140 Abort("DoOsrEntry unimplemented.");
2141 } 2141 }
2142 2142
2143 2143
2144 #undef __ 2144 #undef __
2145 2145
2146 } } // namespace v8::internal 2146 } } // namespace v8::internal
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