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

Side by Side Diff: src/ia32/assembler-ia32.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/assembler.cc ('k') | src/ia32/assembler-ia32.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 1243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1254 return pc_offset() - label->pos(); 1254 return pc_offset() - label->pos();
1255 } 1255 }
1256 1256
1257 // Mark address of the ExitJSFrame code. 1257 // Mark address of the ExitJSFrame code.
1258 void RecordJSReturn(); 1258 void RecordJSReturn();
1259 1259
1260 // Mark address of a debug break slot. 1260 // Mark address of a debug break slot.
1261 void RecordDebugBreakSlot(); 1261 void RecordDebugBreakSlot();
1262 1262
1263 // Record a comment relocation entry that can be used by a disassembler. 1263 // Record a comment relocation entry that can be used by a disassembler.
1264 // Use --code-comments to enable, or provide "force = true" flag to always 1264 // Use --code-comments to enable.
1265 // write a comment. 1265 void RecordComment(const char* msg);
1266 void RecordComment(const char* msg, bool force = false);
1267 1266
1268 // Record a deoptimization reason that can be used by a log or cpu profiler. 1267 // Record a deoptimization reason that can be used by a log or cpu profiler.
1269 // Use --trace-deopt to enable. 1268 // Use --trace-deopt to enable.
1270 void RecordDeoptReason(const int reason, const int raw_position); 1269 void RecordDeoptReason(const int reason, const int raw_position);
1271 1270
1272 // Writes a single byte or word of data in the code stream. Used for 1271 // Writes a single byte or word of data in the code stream. Used for
1273 // inline tables, e.g., jump-tables. 1272 // inline tables, e.g., jump-tables.
1274 void db(uint8_t data); 1273 void db(uint8_t data);
1275 void dd(uint32_t data); 1274 void dd(uint32_t data);
1276 void dd(Label* label); 1275 void dd(Label* label);
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1413 private: 1412 private:
1414 Assembler* assembler_; 1413 Assembler* assembler_;
1415 #ifdef DEBUG 1414 #ifdef DEBUG
1416 int space_before_; 1415 int space_before_;
1417 #endif 1416 #endif
1418 }; 1417 };
1419 1418
1420 } } // namespace v8::internal 1419 } } // namespace v8::internal
1421 1420
1422 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1421 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/assembler.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698