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

Side by Side Diff: src/arm/interface-descriptors-arm.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_ARM 5 #if V8_TARGET_ARCH_ARM
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 23 matching lines...) Expand all
34 const Register StoreTransitionDescriptor::MapRegister() { return r3; } 34 const Register StoreTransitionDescriptor::MapRegister() { return r3; }
35 35
36 36
37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r2; } 37 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r2; }
38 38
39 39
40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; } 40 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; }
41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; } 41 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; }
42 42
43 43
44 const Register InstanceofDescriptor::left() { return r0; } 44 const Register InstanceOfDescriptor::LeftRegister() { return r1; }
45 const Register InstanceofDescriptor::right() { return r1; } 45 const Register InstanceOfDescriptor::RightRegister() { return r0; }
46 46
47 47
48 const Register ArgumentsAccessReadDescriptor::index() { return r1; } 48 const Register ArgumentsAccessReadDescriptor::index() { return r1; }
49 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r0; } 49 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r0; }
50 50
51 51
52 const Register ApiGetterDescriptor::function_address() { return r2; } 52 const Register ApiGetterDescriptor::function_address() { return r2; }
53 53
54 54
55 const Register MathPowTaggedDescriptor::exponent() { return r2; } 55 const Register MathPowTaggedDescriptor::exponent() { return r2; }
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 r1, // math rounding function 383 r1, // math rounding function
384 r3, // vector slot id 384 r3, // vector slot id
385 r4, // type vector 385 r4, // type vector
386 }; 386 };
387 data->InitializePlatformSpecific(arraysize(registers), registers); 387 data->InitializePlatformSpecific(arraysize(registers), registers);
388 } 388 }
389 } // namespace internal 389 } // namespace internal
390 } // namespace v8 390 } // namespace v8
391 391
392 #endif // V8_TARGET_ARCH_ARM 392 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698