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

Side by Side Diff: src/mips/code-stubs-mips.h

Issue 17162002: Version 3.19.17. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « src/mark-compact.cc ('k') | src/mips/code-stubs-mips.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 592
593 // Trampoline stub to call into native code. To call safely into native code 593 // Trampoline stub to call into native code. To call safely into native code
594 // in the presence of compacting GC (which can move code objects) we need to 594 // in the presence of compacting GC (which can move code objects) we need to
595 // keep the code which called into native pinned in the memory. Currently the 595 // keep the code which called into native pinned in the memory. Currently the
596 // simplest approach is to generate such stub early enough so it can never be 596 // simplest approach is to generate such stub early enough so it can never be
597 // moved by GC 597 // moved by GC
598 class DirectCEntryStub: public PlatformCodeStub { 598 class DirectCEntryStub: public PlatformCodeStub {
599 public: 599 public:
600 DirectCEntryStub() {} 600 DirectCEntryStub() {}
601 void Generate(MacroAssembler* masm); 601 void Generate(MacroAssembler* masm);
602 void GenerateCall(MacroAssembler* masm,
603 ExternalReference function);
602 void GenerateCall(MacroAssembler* masm, Register target); 604 void GenerateCall(MacroAssembler* masm, Register target);
603 605
604 private: 606 private:
605 Major MajorKey() { return DirectCEntry; } 607 Major MajorKey() { return DirectCEntry; }
606 int MinorKey() { return 0; } 608 int MinorKey() { return 0; }
607 609
608 bool NeedsImmovableCode() { return true; } 610 bool NeedsImmovableCode() { return true; }
609 }; 611 };
610 612
611 class FloatingPointHelper : public AllStatic { 613 class FloatingPointHelper : public AllStatic {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 770
769 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 771 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
770 772
771 LookupMode mode_; 773 LookupMode mode_;
772 }; 774 };
773 775
774 776
775 } } // namespace v8::internal 777 } } // namespace v8::internal
776 778
777 #endif // V8_MIPS_CODE_STUBS_ARM_H_ 779 #endif // V8_MIPS_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698