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

Side by Side Diff: src/x87/macro-assembler-x87.h

Issue 2686723004: [stubs] Port LoadFunctionPrototypeStub to CSA (Closed)
Patch Set: Created 3 years, 10 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/x87/code-stubs-x87.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 619 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 630
631 // Check if result is zero and any of op1 and op2 are negative. 631 // Check if result is zero and any of op1 and op2 are negative.
632 // Register scratch is destroyed, and it must be different from op2. 632 // Register scratch is destroyed, and it must be different from op2.
633 void NegativeZeroTest(Register result, Register op1, Register op2, 633 void NegativeZeroTest(Register result, Register op1, Register op2,
634 Register scratch, Label* then_label); 634 Register scratch, Label* then_label);
635 635
636 // Machine code version of Map::GetConstructor(). 636 // Machine code version of Map::GetConstructor().
637 // |temp| holds |result|'s map when done. 637 // |temp| holds |result|'s map when done.
638 void GetMapConstructor(Register result, Register map, Register temp); 638 void GetMapConstructor(Register result, Register map, Register temp);
639 639
640 // Try to get function prototype of a function and puts the value in
641 // the result register. Checks that the function really is a
642 // function and jumps to the miss label if the fast checks fail. The
643 // function register will be untouched; the other registers may be
644 // clobbered.
645 void TryGetFunctionPrototype(Register function, Register result,
646 Register scratch, Label* miss);
647
648 // --------------------------------------------------------------------------- 640 // ---------------------------------------------------------------------------
649 // Runtime calls 641 // Runtime calls
650 642
651 // Call a code stub. Generate the code if necessary. 643 // Call a code stub. Generate the code if necessary.
652 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None()); 644 void CallStub(CodeStub* stub, TypeFeedbackId ast_id = TypeFeedbackId::None());
653 645
654 // Tail call a code stub (jump). Generate the code if necessary. 646 // Tail call a code stub (jump). Generate the code if necessary.
655 void TailCallStub(CodeStub* stub); 647 void TailCallStub(CodeStub* stub);
656 648
657 // Return from a code stub after popping its arguments. 649 // Return from a code stub after popping its arguments.
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 inline Operand NativeContextOperand() { 957 inline Operand NativeContextOperand() {
966 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX); 958 return ContextOperand(esi, Context::NATIVE_CONTEXT_INDEX);
967 } 959 }
968 960
969 #define ACCESS_MASM(masm) masm-> 961 #define ACCESS_MASM(masm) masm->
970 962
971 } // namespace internal 963 } // namespace internal
972 } // namespace v8 964 } // namespace v8
973 965
974 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ 966 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x87/code-stubs-x87.cc ('k') | src/x87/macro-assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698