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

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

Issue 16286016: Notify CPU profiler when calling native getters (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Removed check that pthread_kill always succeeds 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/ia32/stub-cache-ia32.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);
604 void GenerateCall(MacroAssembler* masm, Register target); 602 void GenerateCall(MacroAssembler* masm, Register target);
605 603
606 private: 604 private:
607 Major MajorKey() { return DirectCEntry; } 605 Major MajorKey() { return DirectCEntry; }
608 int MinorKey() { return 0; } 606 int MinorKey() { return 0; }
609 607
610 bool NeedsImmovableCode() { return true; } 608 bool NeedsImmovableCode() { return true; }
611 }; 609 };
612 610
613 class FloatingPointHelper : public AllStatic { 611 class FloatingPointHelper : public AllStatic {
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
770 768
771 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 769 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
772 770
773 LookupMode mode_; 771 LookupMode mode_;
774 }; 772 };
775 773
776 774
777 } } // namespace v8::internal 775 } } // namespace v8::internal
778 776
779 #endif // V8_MIPS_CODE_STUBS_ARM_H_ 777 #endif // V8_MIPS_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/mips/code-stubs-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698