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/x64/macro-assembler-x64.h

Issue 2427673004: [intrinsics] Nuke %HasCachedArrayIndex and %GetCachedArrayIndex. (Closed)
Patch Set: Created 4 years, 2 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/s390/macro-assembler-s390.cc ('k') | src/x64/macro-assembler-x64.cc » ('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 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_
6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/flags.h" 10 #include "src/base/flags.h"
(...skipping 1397 matching lines...) Expand 10 before | Expand all | Expand 10 after
1408 // |temp| holds |result|'s map when done. 1408 // |temp| holds |result|'s map when done.
1409 void GetMapConstructor(Register result, Register map, Register temp); 1409 void GetMapConstructor(Register result, Register map, Register temp);
1410 1410
1411 // Try to get function prototype of a function and puts the value in 1411 // Try to get function prototype of a function and puts the value in
1412 // the result register. Checks that the function really is a 1412 // the result register. Checks that the function really is a
1413 // function and jumps to the miss label if the fast checks fail. The 1413 // function and jumps to the miss label if the fast checks fail. The
1414 // function register will be untouched; the other register may be 1414 // function register will be untouched; the other register may be
1415 // clobbered. 1415 // clobbered.
1416 void TryGetFunctionPrototype(Register function, Register result, Label* miss); 1416 void TryGetFunctionPrototype(Register function, Register result, Label* miss);
1417 1417
1418 // Picks out an array index from the hash field.
1419 // Register use:
1420 // hash - holds the index's hash. Clobbered.
1421 // index - holds the overwritten index on exit.
1422 void IndexFromHash(Register hash, Register index);
1423
1424 // Find the function context up the context chain. 1418 // Find the function context up the context chain.
1425 void LoadContext(Register dst, int context_chain_length); 1419 void LoadContext(Register dst, int context_chain_length);
1426 1420
1427 // Load the global object from the current context. 1421 // Load the global object from the current context.
1428 void LoadGlobalObject(Register dst) { 1422 void LoadGlobalObject(Register dst) {
1429 LoadNativeContextSlot(Context::EXTENSION_INDEX, dst); 1423 LoadNativeContextSlot(Context::EXTENSION_INDEX, dst);
1430 } 1424 }
1431 1425
1432 // Load the global proxy from the current context. 1426 // Load the global proxy from the current context.
1433 void LoadGlobalProxy(Register dst) { 1427 void LoadGlobalProxy(Register dst) {
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1786 inline Operand StackOperandForReturnAddress(int32_t disp) { 1780 inline Operand StackOperandForReturnAddress(int32_t disp) {
1787 return Operand(rsp, disp); 1781 return Operand(rsp, disp);
1788 } 1782 }
1789 1783
1790 #define ACCESS_MASM(masm) masm-> 1784 #define ACCESS_MASM(masm) masm->
1791 1785
1792 } // namespace internal 1786 } // namespace internal
1793 } // namespace v8 1787 } // namespace v8
1794 1788
1795 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1789 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/s390/macro-assembler-s390.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698