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

Side by Side Diff: src/x87/assembler-x87.h

Issue 922153002: Move identical code from platform specific assemblers to assembler.cc (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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 | « src/x64/assembler-x64.cc ('k') | src/x87/assembler-x87.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
925 return pc_offset() - label->pos(); 925 return pc_offset() - label->pos();
926 } 926 }
927 927
928 // Mark address of the ExitJSFrame code. 928 // Mark address of the ExitJSFrame code.
929 void RecordJSReturn(); 929 void RecordJSReturn();
930 930
931 // Mark address of a debug break slot. 931 // Mark address of a debug break slot.
932 void RecordDebugBreakSlot(); 932 void RecordDebugBreakSlot();
933 933
934 // Record a comment relocation entry that can be used by a disassembler. 934 // Record a comment relocation entry that can be used by a disassembler.
935 // Use --code-comments to enable, or provide "force = true" flag to always 935 // Use --code-comments to enable.
936 // write a comment. 936 void RecordComment(const char* msg);
937 void RecordComment(const char* msg, bool force = false);
938 937
939 // Record a deoptimization reason that can be used by a log or cpu profiler. 938 // Record a deoptimization reason that can be used by a log or cpu profiler.
940 // Use --trace-deopt to enable. 939 // Use --trace-deopt to enable.
941 void RecordDeoptReason(const int reason, const int raw_position); 940 void RecordDeoptReason(const int reason, const int raw_position);
942 941
943 // Writes a single byte or word of data in the code stream. Used for 942 // Writes a single byte or word of data in the code stream. Used for
944 // inline tables, e.g., jump-tables. 943 // inline tables, e.g., jump-tables.
945 void db(uint8_t data); 944 void db(uint8_t data);
946 void dd(uint32_t data); 945 void dd(uint32_t data);
947 946
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1063 private: 1062 private:
1064 Assembler* assembler_; 1063 Assembler* assembler_;
1065 #ifdef DEBUG 1064 #ifdef DEBUG
1066 int space_before_; 1065 int space_before_;
1067 #endif 1066 #endif
1068 }; 1067 };
1069 1068
1070 } } // namespace v8::internal 1069 } } // namespace v8::internal
1071 1070
1072 #endif // V8_X87_ASSEMBLER_X87_H_ 1071 #endif // V8_X87_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.cc ('k') | src/x87/assembler-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698