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

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

Issue 6591073: ARM: Implement untagged input for TranscendentalCacheStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix lint. Created 9 years, 9 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
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 mov(scratch1, Operand(0x7191)); 1239 mov(scratch1, Operand(0x7191));
1240 mov(scratch2, Operand(0x7291)); 1240 mov(scratch2, Operand(0x7291));
1241 } 1241 }
1242 jmp(gc_required); 1242 jmp(gc_required);
1243 return; 1243 return;
1244 } 1244 }
1245 1245
1246 ASSERT(!result.is(scratch1)); 1246 ASSERT(!result.is(scratch1));
1247 ASSERT(!result.is(scratch2)); 1247 ASSERT(!result.is(scratch2));
1248 ASSERT(!scratch1.is(scratch2)); 1248 ASSERT(!scratch1.is(scratch2));
1249 ASSERT(!scratch1.is(ip));
1250 ASSERT(!scratch2.is(ip));
1249 1251
1250 // Make object size into bytes. 1252 // Make object size into bytes.
1251 if ((flags & SIZE_IN_WORDS) != 0) { 1253 if ((flags & SIZE_IN_WORDS) != 0) {
1252 object_size *= kPointerSize; 1254 object_size *= kPointerSize;
1253 } 1255 }
1254 ASSERT_EQ(0, object_size & kObjectAlignmentMask); 1256 ASSERT_EQ(0, object_size & kObjectAlignmentMask);
1255 1257
1256 // Check relative positions of allocation top and limit addresses. 1258 // Check relative positions of allocation top and limit addresses.
1257 // The values must be adjacent in memory to allow the use of LDM. 1259 // The values must be adjacent in memory to allow the use of LDM.
1258 // Also, assert that the registers are numbered such that the values 1260 // Also, assert that the registers are numbered such that the values
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2692 void CodePatcher::EmitCondition(Condition cond) { 2694 void CodePatcher::EmitCondition(Condition cond) {
2693 Instr instr = Assembler::instr_at(masm_.pc_); 2695 Instr instr = Assembler::instr_at(masm_.pc_);
2694 instr = (instr & ~kCondMask) | cond; 2696 instr = (instr & ~kCondMask) | cond;
2695 masm_.emit(instr); 2697 masm_.emit(instr);
2696 } 2698 }
2697 2699
2698 2700
2699 } } // namespace v8::internal 2701 } } // namespace v8::internal
2700 2702
2701 #endif // V8_TARGET_ARCH_ARM 2703 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« src/arm/code-stubs-arm.cc ('K') | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698