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

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

Issue 9580007: Revert r10908 due to flakiness and crashes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 9 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/platform-win32.cc ('k') | src/x64/code-stubs-x64.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 30 matching lines...) Expand all
41 public: 41 public:
42 enum ArgumentType { 42 enum ArgumentType {
43 TAGGED = 0, 43 TAGGED = 0,
44 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits 44 UNTAGGED = 1 << TranscendentalCache::kTranscendentalTypeBits
45 }; 45 };
46 46
47 explicit TranscendentalCacheStub(TranscendentalCache::Type type, 47 explicit TranscendentalCacheStub(TranscendentalCache::Type type,
48 ArgumentType argument_type) 48 ArgumentType argument_type)
49 : type_(type), argument_type_(argument_type) {} 49 : type_(type), argument_type_(argument_type) {}
50 void Generate(MacroAssembler* masm); 50 void Generate(MacroAssembler* masm);
51 static void GenerateOperation(MacroAssembler* masm,
52 TranscendentalCache::Type type);
53 private: 51 private:
54 TranscendentalCache::Type type_; 52 TranscendentalCache::Type type_;
55 ArgumentType argument_type_; 53 ArgumentType argument_type_;
56 54
57 Major MajorKey() { return TranscendentalCache; } 55 Major MajorKey() { return TranscendentalCache; }
58 int MinorKey() { return type_ | argument_type_; } 56 int MinorKey() { return type_ | argument_type_; }
59 Runtime::FunctionId RuntimeFunction(); 57 Runtime::FunctionId RuntimeFunction();
58 void GenerateOperation(MacroAssembler* masm);
60 }; 59 };
61 60
62 61
63 class StoreBufferOverflowStub: public CodeStub { 62 class StoreBufferOverflowStub: public CodeStub {
64 public: 63 public:
65 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp) 64 explicit StoreBufferOverflowStub(SaveFPRegsMode save_fp)
66 : save_doubles_(save_fp) { } 65 : save_doubles_(save_fp) { }
67 66
68 void Generate(MacroAssembler* masm); 67 void Generate(MacroAssembler* masm);
69 68
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 RememberedSetAction remembered_set_action_; 709 RememberedSetAction remembered_set_action_;
711 SaveFPRegsMode save_fp_regs_mode_; 710 SaveFPRegsMode save_fp_regs_mode_;
712 Label slow_; 711 Label slow_;
713 RegisterAllocation regs_; 712 RegisterAllocation regs_;
714 }; 713 };
715 714
716 715
717 } } // namespace v8::internal 716 } } // namespace v8::internal
718 717
719 #endif // V8_X64_CODE_STUBS_X64_H_ 718 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/platform-win32.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698