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

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

Issue 1238143002: [stubs] Optimize LoadGlobalViaContextStub and StoreGlobalViaContextStub. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM typo. Created 5 years, 5 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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r4; } 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return r4; }
31 31
32 32
33 const Register VectorStoreICDescriptor::VectorRegister() { return r3; } 33 const Register VectorStoreICDescriptor::VectorRegister() { return r3; }
34 34
35 35
36 const Register StoreTransitionDescriptor::MapRegister() { return r3; } 36 const Register StoreTransitionDescriptor::MapRegister() { return r3; }
37 37
38 38
39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return r1; }
40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r2; } 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return r2; }
41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return r3; } 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return r3; }
42 41
43 42
44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return r1; }
45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; } 43 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return r2; }
46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return r3; } 44 const Register StoreGlobalViaContextDescriptor::NameRegister() { return r3; }
47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; } 45 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return r0; }
48 46
49 47
50 const Register InstanceofDescriptor::left() { return r0; } 48 const Register InstanceofDescriptor::left() { return r0; }
51 const Register InstanceofDescriptor::right() { return r1; } 49 const Register InstanceofDescriptor::right() { return r1; }
52 50
53 51
54 const Register ArgumentsAccessReadDescriptor::index() { return r1; } 52 const Register ArgumentsAccessReadDescriptor::index() { return r1; }
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 r1, // math rounding function 383 r1, // math rounding function
386 r3, // vector slot id 384 r3, // vector slot id
387 r4, // type vector 385 r4, // type vector
388 }; 386 };
389 data->InitializePlatformSpecific(arraysize(registers), registers); 387 data->InitializePlatformSpecific(arraysize(registers), registers);
390 } 388 }
391 } // namespace internal 389 } // namespace internal
392 } // namespace v8 390 } // namespace v8
393 391
394 #endif // V8_TARGET_ARCH_ARM 392 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698