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

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

Issue 362003: Fix issue 491: constantpool dump violates ARM debugger assertion for return p... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 1 month 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/arm/assembler-arm.h ('k') | src/arm/codegen-arm.h » ('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 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1311 } 1311 }
1312 1312
1313 1313
1314 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) { 1314 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
1315 uint32_t dummy1; 1315 uint32_t dummy1;
1316 uint32_t dummy2; 1316 uint32_t dummy2;
1317 return fits_shifter(imm32, &dummy1, &dummy2, NULL); 1317 return fits_shifter(imm32, &dummy1, &dummy2, NULL);
1318 } 1318 }
1319 1319
1320 1320
1321 void Assembler::BlockConstPoolFor(int instructions) {
1322 BlockConstPoolBefore(pc_offset() + instructions * kInstrSize);
1323 }
1324
1325
1321 // Debugging 1326 // Debugging
1322 void Assembler::RecordJSReturn() { 1327 void Assembler::RecordJSReturn() {
1323 WriteRecordedPositions(); 1328 WriteRecordedPositions();
1324 CheckBuffer(); 1329 CheckBuffer();
1325 RecordRelocInfo(RelocInfo::JS_RETURN); 1330 RecordRelocInfo(RelocInfo::JS_RETURN);
1326 } 1331 }
1327 1332
1328 1333
1329 void Assembler::RecordComment(const char* msg) { 1334 void Assembler::RecordComment(const char* msg) {
1330 if (FLAG_debug_code) { 1335 if (FLAG_debug_code) {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1543 bind(&after_pool); 1548 bind(&after_pool);
1544 } 1549 }
1545 1550
1546 // Since a constant pool was just emitted, move the check offset forward by 1551 // Since a constant pool was just emitted, move the check offset forward by
1547 // the standard interval. 1552 // the standard interval.
1548 next_buffer_check_ = pc_offset() + kCheckConstInterval; 1553 next_buffer_check_ = pc_offset() + kCheckConstInterval;
1549 } 1554 }
1550 1555
1551 1556
1552 } } // namespace v8::internal 1557 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698