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

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

Issue 12521011: Compile FastCloneShallowArrayStub using Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased. Created 7 years, 8 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 | « no previous file | src/arm/code-stubs-arm.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 // 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 Major MajorKey() { return TranscendentalCache; } 55 Major MajorKey() { return TranscendentalCache; }
56 int MinorKey() { return type_ | argument_type_; } 56 int MinorKey() { return type_ | argument_type_; }
57 Runtime::FunctionId RuntimeFunction(); 57 Runtime::FunctionId RuntimeFunction();
58 }; 58 };
59 59
60 60
61 class StoreBufferOverflowStub: public PlatformCodeStub { 61 class StoreBufferOverflowStub: public PlatformCodeStub {
62 public: 62 public:
63 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) 63 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp)
64 : save_doubles_(save_fp) { } 64 : save_doubles_(save_fp) {
65 ASSERT(CpuFeatures::IsSafeForSnapshot(VFP2) || save_fp == kDontSaveFPRegs);
66 }
65 67
66 void Generate(MacroAssembler* masm); 68 void Generate(MacroAssembler* masm);
67 69
68 virtual bool IsPregenerated(); 70 virtual bool IsPregenerated() { return true; }
69 static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate); 71 static void GenerateFixedRegStubsAheadOfTime(Isolate* isolate);
70 virtual bool SometimesSetsUpAFrame() { return false; } 72 virtual bool SometimesSetsUpAFrame() { return false; }
71 73
72 private: 74 private:
73 SaveFPRegsMode save_doubles_; 75 SaveFPRegsMode save_doubles_;
74 76
75 Major MajorKey() { return StoreBufferOverflow; } 77 Major MajorKey() { return StoreBufferOverflow; }
76 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; } 78 int MinorKey() { return (save_doubles_ == kSaveFPRegs) ? 1 : 0; }
77 }; 79 };
78 80
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 794
793 class LookupModeBits: public BitField<LookupMode, 0, 1> {}; 795 class LookupModeBits: public BitField<LookupMode, 0, 1> {};
794 796
795 LookupMode mode_; 797 LookupMode mode_;
796 }; 798 };
797 799
798 800
799 } } // namespace v8::internal 801 } } // namespace v8::internal
800 802
801 #endif // V8_ARM_CODE_STUBS_ARM_H_ 803 #endif // V8_ARM_CODE_STUBS_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/code-stubs-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698