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

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

Issue 6360003: ARM: Fix ARM safepoint tables by ensuring that constant pools are not... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 11 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/assembler-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 (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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 1222 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 // Mark address of the ExitJSFrame code. 1233 // Mark address of the ExitJSFrame code.
1234 void RecordJSReturn(); 1234 void RecordJSReturn();
1235 1235
1236 // Mark address of a debug break slot. 1236 // Mark address of a debug break slot.
1237 void RecordDebugBreakSlot(); 1237 void RecordDebugBreakSlot();
1238 1238
1239 // Record a comment relocation entry that can be used by a disassembler. 1239 // Record a comment relocation entry that can be used by a disassembler.
1240 // Use --code-comments to enable. 1240 // Use --code-comments to enable.
1241 void RecordComment(const char* msg); 1241 void RecordComment(const char* msg);
1242 1242
1243 // Writes a single byte or word of data in the code stream. Used for 1243 // Writes a single byte or word of data in the code stream. Used
1244 // inline tables, e.g., jump-tables. 1244 // for inline tables, e.g., jump-tables. The constant pool should be
1245 // emitted before any use of db and dd to ensure that constant pools
1246 // are not emitted as part of the tables generated.
1245 void db(uint8_t data); 1247 void db(uint8_t data);
1246 void dd(uint32_t data); 1248 void dd(uint32_t data);
1247 1249
1248 int pc_offset() const { return pc_ - buffer_; } 1250 int pc_offset() const { return pc_ - buffer_; }
1249 1251
1250 PositionsRecorder* positions_recorder() { return &positions_recorder_; } 1252 PositionsRecorder* positions_recorder() { return &positions_recorder_; }
1251 1253
1252 bool can_peephole_optimize(int instructions) { 1254 bool can_peephole_optimize(int instructions) {
1253 if (!allow_peephole_optimization_) return false; 1255 if (!allow_peephole_optimization_) return false;
1254 if (last_bound_pos_ > pc_offset() - instructions * kInstrSize) return false; 1256 if (last_bound_pos_ > pc_offset() - instructions * kInstrSize) return false;
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1420 public: 1422 public:
1421 explicit EnsureSpace(Assembler* assembler) { 1423 explicit EnsureSpace(Assembler* assembler) {
1422 assembler->CheckBuffer(); 1424 assembler->CheckBuffer();
1423 } 1425 }
1424 }; 1426 };
1425 1427
1426 1428
1427 } } // namespace v8::internal 1429 } } // namespace v8::internal
1428 1430
1429 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1431 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698