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

Side by Side Diff: src/mips/interface-descriptors-mips.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_MIPS 7 #if V8_TARGET_ARCH_MIPS
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 t0; } 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return t0; }
31 31
32 32
33 const Register VectorStoreICDescriptor::VectorRegister() { return a3; } 33 const Register VectorStoreICDescriptor::VectorRegister() { return a3; }
34 34
35 35
36 const Register StoreTransitionDescriptor::MapRegister() { return a3; } 36 const Register StoreTransitionDescriptor::MapRegister() { return a3; }
37 37
38 38
39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return a1; }
40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; } 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return a2; }
41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return a3; } 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return a3; }
42 41
43 42
44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return a1; }
45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; } 43 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return a2; }
46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return a3; } 44 const Register StoreGlobalViaContextDescriptor::NameRegister() { return a3; }
47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; } 45 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return a0; }
48 46
49 47
50 const Register InstanceofDescriptor::left() { return a0; } 48 const Register InstanceofDescriptor::left() { return a0; }
51 const Register InstanceofDescriptor::right() { return a1; } 49 const Register InstanceofDescriptor::right() { return a1; }
52 50
53 51
54 const Register ArgumentsAccessReadDescriptor::index() { return a1; } 52 const Register ArgumentsAccessReadDescriptor::index() { return a1; }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 a1, // math rounding function 360 a1, // math rounding function
363 a3, // vector slot id 361 a3, // vector slot id
364 a2, // type vector 362 a2, // type vector
365 }; 363 };
366 data->InitializePlatformSpecific(arraysize(registers), registers); 364 data->InitializePlatformSpecific(arraysize(registers), registers);
367 } 365 }
368 } // namespace internal 366 } // namespace internal
369 } // namespace v8 367 } // namespace v8
370 368
371 #endif // V8_TARGET_ARCH_MIPS 369 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698