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

Side by Side Diff: src/x87/interface-descriptors-x87.cc

Issue 1318663003: X87: Correctify instanceof and make it optimizable. (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 | « src/x87/code-stubs-x87.cc ('k') | src/x87/lithium-codegen-x87.h » ('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 #if V8_TARGET_ARCH_X87 5 #if V8_TARGET_ARCH_X87
6 6
7 #include "src/interface-descriptors.h" 7 #include "src/interface-descriptors.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } 46 const Register StoreTransitionDescriptor::MapRegister() { return ebx; }
47 47
48 48
49 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } 49 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; }
50 50
51 51
52 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } 52 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; }
53 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } 53 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; }
54 54
55 55
56 const Register InstanceofDescriptor::left() { return eax; } 56 const Register InstanceOfDescriptor::LeftRegister() { return edx; }
57 const Register InstanceofDescriptor::right() { return edx; } 57 const Register InstanceOfDescriptor::RightRegister() { return eax; }
58 58
59 59
60 const Register ArgumentsAccessReadDescriptor::index() { return edx; } 60 const Register ArgumentsAccessReadDescriptor::index() { return edx; }
61 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } 61 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; }
62 62
63 63
64 const Register ApiGetterDescriptor::function_address() { return edx; } 64 const Register ApiGetterDescriptor::function_address() { return edx; }
65 65
66 66
67 const Register MathPowTaggedDescriptor::exponent() { return eax; } 67 const Register MathPowTaggedDescriptor::exponent() { return eax; }
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 edi, // math rounding function 373 edi, // math rounding function
374 edx, // vector slot id 374 edx, // vector slot id
375 ebx // type vector 375 ebx // type vector
376 }; 376 };
377 data->InitializePlatformSpecific(arraysize(registers), registers); 377 data->InitializePlatformSpecific(arraysize(registers), registers);
378 } 378 }
379 } // namespace internal 379 } // namespace internal
380 } // namespace v8 380 } // namespace v8
381 381
382 #endif // V8_TARGET_ARCH_X87 382 #endif // V8_TARGET_ARCH_X87
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | src/x87/lithium-codegen-x87.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698