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

Side by Side Diff: src/ic/x87/access-compiler-x87.cc

Issue 1311413007: X87: Reland Vector ICs: platform support for vector-based stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « no previous file | src/ic/x87/handler-compiler-x87.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/ic/access-compiler.h" 7 #include "src/ic/access-compiler.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 12 matching lines...) Expand all
23 Register name = LoadDescriptor::NameRegister(); 23 Register name = LoadDescriptor::NameRegister();
24 static Register registers[] = {receiver, name, ebx, eax, edi, no_reg}; 24 static Register registers[] = {receiver, name, ebx, eax, edi, no_reg};
25 return registers; 25 return registers;
26 } 26 }
27 27
28 28
29 Register* PropertyAccessCompiler::store_calling_convention() { 29 Register* PropertyAccessCompiler::store_calling_convention() {
30 // receiver, name, scratch1, scratch2, scratch3. 30 // receiver, name, scratch1, scratch2, scratch3.
31 Register receiver = StoreDescriptor::ReceiverRegister(); 31 Register receiver = StoreDescriptor::ReceiverRegister();
32 Register name = StoreDescriptor::NameRegister(); 32 Register name = StoreDescriptor::NameRegister();
33 DCHECK(ebx.is(StoreTransitionDescriptor::MapRegister())); 33 DCHECK(FLAG_vector_stores ||
34 ebx.is(StoreTransitionDescriptor::MapRegister()));
34 static Register registers[] = {receiver, name, ebx, edi, no_reg}; 35 static Register registers[] = {receiver, name, ebx, edi, no_reg};
35 return registers; 36 return registers;
36 } 37 }
37 38
38 #undef __ 39 #undef __
39 } // namespace internal 40 } // namespace internal
40 } // namespace v8 41 } // namespace v8
41 42
42 #endif // V8_TARGET_ARCH_X87 43 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « no previous file | src/ic/x87/handler-compiler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698