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

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

Issue 354028: Fix xssue 492: ARM debug crash: mozilla/ecma/FunctionObjects/15.3.1.1-3... (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.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 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 if ((am & P) == 0) // post indexing 1304 if ((am & P) == 0) // post indexing
1305 mov(dst, Operand(x.rn_), s, cond); 1305 mov(dst, Operand(x.rn_), s, cond);
1306 else if ((am & U) == 0) // negative indexing 1306 else if ((am & U) == 0) // negative indexing
1307 sub(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond); 1307 sub(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond);
1308 else 1308 else
1309 add(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond); 1309 add(dst, x.rn_, Operand(x.rm_, x.shift_op_, x.shift_imm_), s, cond);
1310 } 1310 }
1311 } 1311 }
1312 1312
1313 1313
1314 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
1315 uint32_t dummy1;
1316 uint32_t dummy2;
1317 return fits_shifter(imm32, &dummy1, &dummy2, NULL);
1318 }
1319
1320
1314 // Debugging 1321 // Debugging
1315 void Assembler::RecordJSReturn() { 1322 void Assembler::RecordJSReturn() {
1316 WriteRecordedPositions(); 1323 WriteRecordedPositions();
1317 CheckBuffer(); 1324 CheckBuffer();
1318 RecordRelocInfo(RelocInfo::JS_RETURN); 1325 RecordRelocInfo(RelocInfo::JS_RETURN);
1319 } 1326 }
1320 1327
1321 1328
1322 void Assembler::RecordComment(const char* msg) { 1329 void Assembler::RecordComment(const char* msg) {
1323 if (FLAG_debug_code) { 1330 if (FLAG_debug_code) {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 bind(&after_pool); 1543 bind(&after_pool);
1537 } 1544 }
1538 1545
1539 // Since a constant pool was just emitted, move the check offset forward by 1546 // Since a constant pool was just emitted, move the check offset forward by
1540 // the standard interval. 1547 // the standard interval.
1541 next_buffer_check_ = pc_offset() + kCheckConstInterval; 1548 next_buffer_check_ = pc_offset() + kCheckConstInterval;
1542 } 1549 }
1543 1550
1544 1551
1545 } } // namespace v8::internal 1552 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698