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

Side by Side Diff: src/x87/macro-assembler-x87.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/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.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_X87_MACRO_ASSEMBLER_X87_H_ 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_
6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ 6 #define V8_X87_MACRO_ASSEMBLER_X87_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/frames.h" 10 #include "src/frames.h"
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
696 void GetMapConstructor(Register result, Register map, Register temp); 696 void GetMapConstructor(Register result, Register map, Register temp);
697 697
698 // Try to get function prototype of a function and puts the value in 698 // Try to get function prototype of a function and puts the value in
699 // the result register. Checks that the function really is a 699 // the result register. Checks that the function really is a
700 // function and jumps to the miss label if the fast checks fail. The 700 // function and jumps to the miss label if the fast checks fail. The
701 // function register will be untouched; the other registers may be 701 // function register will be untouched; the other registers may be
702 // clobbered. 702 // clobbered.
703 void TryGetFunctionPrototype(Register function, Register result, 703 void TryGetFunctionPrototype(Register function, Register result,
704 Register scratch, Label* miss); 704 Register scratch, Label* miss);
705 705
706 // Picks out an array index from the hash field.
707 // Register use:
708 // hash - holds the index's hash. Clobbered.
709 // index - holds the overwritten index on exit.
710 void IndexFromHash(Register hash, Register index);
711
712 // --------------------------------------------------------------------------- 706 // ---------------------------------------------------------------------------
713 // Runtime calls 707 // Runtime calls
714 708
715 // Call a code stub. Generate the code if necessary. 709 // Call a code stub. Generate the code if necessary.
716 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); 710 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
717 711
718 // Tail call a code stub (jump). Generate the code if necessary. 712 // Tail call a code stub (jump). Generate the code if necessary.
719 void TailCallStub(CodeStub* stub); 713 void TailCallStub(CodeStub* stub);
720 714
721 // Return from a code stub after popping its arguments. 715 // Return from a code stub after popping its arguments.
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 inline Operand NativeContextOperand() { 1041 inline Operand NativeContextOperand() {
1048 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 1042 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
1049 } 1043 }
1050 1044
1051 #define ACCESS_MASM(masm) masm-> 1045 #define ACCESS_MASM(masm) masm->
1052 1046
1053 } // namespace internal 1047 } // namespace internal
1054 } // namespace v8 1048 } // namespace v8
1055 1049
1056 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 1050 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698