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

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

Issue 529773002: Minor-key-ify four stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix some compilation issues Created 6 years, 3 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/ia32/code-stubs-ia32.cc ('k') | src/ic/ic.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_IA32 7 #if V8_TARGET_ARCH_IA32
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 test(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit)); 172 test(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit));
173 if (and_then == kReturnAtEnd) { 173 if (and_then == kReturnAtEnd) {
174 Label buffer_overflowed; 174 Label buffer_overflowed;
175 j(not_equal, &buffer_overflowed, Label::kNear); 175 j(not_equal, &buffer_overflowed, Label::kNear);
176 ret(0); 176 ret(0);
177 bind(&buffer_overflowed); 177 bind(&buffer_overflowed);
178 } else { 178 } else {
179 DCHECK(and_then == kFallThroughAtEnd); 179 DCHECK(and_then == kFallThroughAtEnd);
180 j(equal, &done, Label::kNear); 180 j(equal, &done, Label::kNear);
181 } 181 }
182 StoreBufferOverflowStub store_buffer_overflow = 182 StoreBufferOverflowStub store_buffer_overflow(isolate(), save_fp);
183 StoreBufferOverflowStub(isolate(), save_fp);
184 CallStub(&store_buffer_overflow); 183 CallStub(&store_buffer_overflow);
185 if (and_then == kReturnAtEnd) { 184 if (and_then == kReturnAtEnd) {
186 ret(0); 185 ret(0);
187 } else { 186 } else {
188 DCHECK(and_then == kFallThroughAtEnd); 187 DCHECK(and_then == kFallThroughAtEnd);
189 bind(&done); 188 bind(&done);
190 } 189 }
191 } 190 }
192 191
193 192
(...skipping 3237 matching lines...) Expand 10 before | Expand all | Expand 10 after
3431 if (ms.shift() > 0) sar(edx, ms.shift()); 3430 if (ms.shift() > 0) sar(edx, ms.shift());
3432 mov(eax, dividend); 3431 mov(eax, dividend);
3433 shr(eax, 31); 3432 shr(eax, 31);
3434 add(edx, eax); 3433 add(edx, eax);
3435 } 3434 }
3436 3435
3437 3436
3438 } } // namespace v8::internal 3437 } } // namespace v8::internal
3439 3438
3440 #endif // V8_TARGET_ARCH_IA32 3439 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ic/ic.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698