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

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

Issue 24255005: Some cleanup fixes (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 7 years, 3 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 | « src/arm/code-stubs-arm.cc ('k') | src/code-stubs-hydrogen.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 3874 matching lines...) Expand 10 before | Expand all | Expand 10 after
3885 add(scratch_reg, receiver_reg, 3885 add(scratch_reg, receiver_reg,
3886 Operand(JSArray::kSize + AllocationMemento::kSize - kHeapObjectTag)); 3886 Operand(JSArray::kSize + AllocationMemento::kSize - kHeapObjectTag));
3887 cmp(scratch_reg, Operand(new_space_start)); 3887 cmp(scratch_reg, Operand(new_space_start));
3888 b(lt, &no_memento_available); 3888 b(lt, &no_memento_available);
3889 mov(ip, Operand(new_space_allocation_top)); 3889 mov(ip, Operand(new_space_allocation_top));
3890 ldr(ip, MemOperand(ip)); 3890 ldr(ip, MemOperand(ip));
3891 cmp(scratch_reg, ip); 3891 cmp(scratch_reg, ip);
3892 b(gt, &no_memento_available); 3892 b(gt, &no_memento_available);
3893 ldr(scratch_reg, MemOperand(scratch_reg, -AllocationMemento::kSize)); 3893 ldr(scratch_reg, MemOperand(scratch_reg, -AllocationMemento::kSize));
3894 cmp(scratch_reg, 3894 cmp(scratch_reg,
3895 Operand(Handle<Map>(isolate()->heap()->allocation_memento_map()))); 3895 Operand(isolate()->factory()->allocation_memento_map()));
3896 bind(&no_memento_available); 3896 bind(&no_memento_available);
3897 } 3897 }
3898 3898
3899 3899
3900 Register GetRegisterThatIsNotOneOf(Register reg1, 3900 Register GetRegisterThatIsNotOneOf(Register reg1,
3901 Register reg2, 3901 Register reg2,
3902 Register reg3, 3902 Register reg3,
3903 Register reg4, 3903 Register reg4,
3904 Register reg5, 3904 Register reg5,
3905 Register reg6) { 3905 Register reg6) {
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
3984 void CodePatcher::EmitCondition(Condition cond) { 3984 void CodePatcher::EmitCondition(Condition cond) {
3985 Instr instr = Assembler::instr_at(masm_.pc_); 3985 Instr instr = Assembler::instr_at(masm_.pc_);
3986 instr = (instr & ~kCondMask) | cond; 3986 instr = (instr & ~kCondMask) | cond;
3987 masm_.emit(instr); 3987 masm_.emit(instr);
3988 } 3988 }
3989 3989
3990 3990
3991 } } // namespace v8::internal 3991 } } // namespace v8::internal
3992 3992
3993 #endif // V8_TARGET_ARCH_ARM 3993 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698