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

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

Issue 545133003: X87: Fix build (Closed) Base URL: https://github.com/v8/v8.git@bleeding_edge
Patch Set: 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
« no previous file with comments | « src/x87/code-stubs-x87.cc ('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 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_X87 7 #if V8_TARGET_ARCH_X87
8 8
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.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(isolate()); 182 StoreBufferOverflowStub store_buffer_overflow(isolate(), kDontSaveFPRegs);
183 CallStub(&store_buffer_overflow); 183 CallStub(&store_buffer_overflow);
184 if (and_then == kReturnAtEnd) { 184 if (and_then == kReturnAtEnd) {
185 ret(0); 185 ret(0);
186 } else { 186 } else {
187 DCHECK(and_then == kFallThroughAtEnd); 187 DCHECK(and_then == kFallThroughAtEnd);
188 bind(&done); 188 bind(&done);
189 } 189 }
190 } 190 }
191 191
192 192
(...skipping 3125 matching lines...) Expand 10 before | Expand all | Expand 10 after
3318 if (ms.shift() > 0) sar(edx, ms.shift()); 3318 if (ms.shift() > 0) sar(edx, ms.shift());
3319 mov(eax, dividend); 3319 mov(eax, dividend);
3320 shr(eax, 31); 3320 shr(eax, 31);
3321 add(edx, eax); 3321 add(edx, eax);
3322 } 3322 }
3323 3323
3324 3324
3325 } } // namespace v8::internal 3325 } } // namespace v8::internal
3326 3326
3327 #endif // V8_TARGET_ARCH_X87 3327 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698