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

Side by Side Diff: src/x64/codegen-x64.h

Issue 1851002: X64: Minor change of control flow in inline transcendental cache. (Closed)
Patch Set: Created 10 years, 7 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
« no previous file with comments | « no previous file | src/x64/codegen-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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 class TranscendentalCacheStub: public CodeStub { 680 class TranscendentalCacheStub: public CodeStub {
681 public: 681 public:
682 explicit TranscendentalCacheStub(TranscendentalCache::Type type) 682 explicit TranscendentalCacheStub(TranscendentalCache::Type type)
683 : type_(type) {} 683 : type_(type) {}
684 void Generate(MacroAssembler* masm); 684 void Generate(MacroAssembler* masm);
685 private: 685 private:
686 TranscendentalCache::Type type_; 686 TranscendentalCache::Type type_;
687 Major MajorKey() { return TranscendentalCache; } 687 Major MajorKey() { return TranscendentalCache; }
688 int MinorKey() { return type_; } 688 int MinorKey() { return type_; }
689 Runtime::FunctionId RuntimeFunction(); 689 Runtime::FunctionId RuntimeFunction();
690 void GenerateOperation(MacroAssembler* masm); 690 void GenerateOperation(MacroAssembler* masm, Label* on_nan_result);
691 }; 691 };
692 692
693 693
694 // Flag that indicates how to generate code for the stub GenericBinaryOpStub. 694 // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
695 enum GenericBinaryFlags { 695 enum GenericBinaryFlags {
696 NO_GENERIC_BINARY_FLAGS = 0, 696 NO_GENERIC_BINARY_FLAGS = 0,
697 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub. 697 NO_SMI_CODE_IN_STUB = 1 << 0 // Omit smi code in stub.
698 }; 698 };
699 699
700 700
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 void Print() { 1010 void Print() {
1011 PrintF("NumberToStringStub\n"); 1011 PrintF("NumberToStringStub\n");
1012 } 1012 }
1013 #endif 1013 #endif
1014 }; 1014 };
1015 1015
1016 1016
1017 } } // namespace v8::internal 1017 } } // namespace v8::internal
1018 1018
1019 #endif // V8_X64_CODEGEN_X64_H_ 1019 #endif // V8_X64_CODEGEN_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698