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

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

Issue 1304633002: Correctify instanceof and make it optimizable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add arm64 port. Created 5 years, 4 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
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_IA32 5 #if V8_TARGET_ARCH_IA32
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 24 matching lines...) Expand all
35 } 35 }
36 36
37 37
38 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } 38 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; }
39 39
40 40
41 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } 41 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; }
42 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } 42 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; }
43 43
44 44
45 const Register InstanceofDescriptor::left() { return eax; } 45 const Register InstanceOfDescriptor::LeftRegister() { return edx; }
46 const Register InstanceofDescriptor::right() { return edx; } 46 const Register InstanceOfDescriptor::RightRegister() { return eax; }
47 47
48 48
49 const Register ArgumentsAccessReadDescriptor::index() { return edx; } 49 const Register ArgumentsAccessReadDescriptor::index() { return edx; }
50 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } 50 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; }
51 51
52 52
53 const Register ApiGetterDescriptor::function_address() { return edx; } 53 const Register ApiGetterDescriptor::function_address() { return edx; }
54 54
55 55
56 const Register MathPowTaggedDescriptor::exponent() { return eax; } 56 const Register MathPowTaggedDescriptor::exponent() { return eax; }
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 edi, // math rounding function 368 edi, // math rounding function
369 edx, // vector slot id 369 edx, // vector slot id
370 ebx // type vector 370 ebx // type vector
371 }; 371 };
372 data->InitializePlatformSpecific(arraysize(registers), registers); 372 data->InitializePlatformSpecific(arraysize(registers), registers);
373 } 373 }
374 } // namespace internal 374 } // namespace internal
375 } // namespace v8 375 } // namespace v8
376 376
377 #endif // V8_TARGET_ARCH_IA32 377 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698