OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 code->set_stub_info(MinorKey()); | 796 code->set_stub_info(MinorKey()); |
797 } | 797 } |
798 | 798 |
799 virtual CodeStub::Major MajorKey() { return CompareIC; } | 799 virtual CodeStub::Major MajorKey() { return CompareIC; } |
800 virtual int MinorKey(); | 800 virtual int MinorKey(); |
801 | 801 |
802 virtual int GetCodeKind() { return Code::COMPARE_IC; } | 802 virtual int GetCodeKind() { return Code::COMPARE_IC; } |
803 | 803 |
804 void GenerateSmis(MacroAssembler* masm); | 804 void GenerateSmis(MacroAssembler* masm); |
805 void GenerateHeapNumbers(MacroAssembler* masm); | 805 void GenerateHeapNumbers(MacroAssembler* masm); |
806 void GenerateSymbols(MacroAssembler* masm); | 806 void GenerateInternalizedStrings(MacroAssembler* masm); |
807 void GenerateStrings(MacroAssembler* masm); | 807 void GenerateStrings(MacroAssembler* masm); |
808 void GenerateObjects(MacroAssembler* masm); | 808 void GenerateObjects(MacroAssembler* masm); |
809 void GenerateMiss(MacroAssembler* masm); | 809 void GenerateMiss(MacroAssembler* masm); |
810 void GenerateKnownObjects(MacroAssembler* masm); | 810 void GenerateKnownObjects(MacroAssembler* masm); |
811 void GenerateGeneric(MacroAssembler* masm); | 811 void GenerateGeneric(MacroAssembler* masm); |
812 | 812 |
813 bool strict() const { return op_ == Token::EQ_STRICT; } | 813 bool strict() const { return op_ == Token::EQ_STRICT; } |
814 Condition GetCondition() const { return CompareIC::ComputeCondition(op_); } | 814 Condition GetCondition() const { return CompareIC::ComputeCondition(op_); } |
815 | 815 |
816 virtual void AddToSpecialCache(Handle<Code> new_object); | 816 virtual void AddToSpecialCache(Handle<Code> new_object); |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1473 | 1473 |
1474 // The current function entry hook. | 1474 // The current function entry hook. |
1475 static FunctionEntryHook entry_hook_; | 1475 static FunctionEntryHook entry_hook_; |
1476 | 1476 |
1477 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); | 1477 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); |
1478 }; | 1478 }; |
1479 | 1479 |
1480 } } // namespace v8::internal | 1480 } } // namespace v8::internal |
1481 | 1481 |
1482 #endif // V8_CODE_STUBS_H_ | 1482 #endif // V8_CODE_STUBS_H_ |
OLD | NEW |