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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 6393007: ARM: Make the ARM hardware builder green... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 9 years, 10 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 | test/cctest/cctest.status » ('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 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 3142 matching lines...) Expand 10 before | Expand all | Expand 10 after
3153 __ mov(r0, Operand(r4)); 3153 __ mov(r0, Operand(r4));
3154 __ mov(r1, Operand(r6)); 3154 __ mov(r1, Operand(r6));
3155 3155
3156 #if defined(V8_HOST_ARCH_ARM) 3156 #if defined(V8_HOST_ARCH_ARM)
3157 int frame_alignment = MacroAssembler::ActivationFrameAlignment(); 3157 int frame_alignment = MacroAssembler::ActivationFrameAlignment();
3158 int frame_alignment_mask = frame_alignment - 1; 3158 int frame_alignment_mask = frame_alignment - 1;
3159 if (FLAG_debug_code) { 3159 if (FLAG_debug_code) {
3160 if (frame_alignment > kPointerSize) { 3160 if (frame_alignment > kPointerSize) {
3161 Label alignment_as_expected; 3161 Label alignment_as_expected;
3162 ASSERT(IsPowerOf2(frame_alignment)); 3162 ASSERT(IsPowerOf2(frame_alignment));
3163 __ tst(r2, Operand(frame_alignment_mask)); 3163 __ tst(sp, Operand(frame_alignment_mask));
3164 __ b(eq, &alignment_as_expected); 3164 __ b(eq, &alignment_as_expected);
3165 // Don't use Check here, as it will call Runtime_Abort re-entering here. 3165 // Don't use Check here, as it will call Runtime_Abort re-entering here.
3166 __ stop("Unexpected alignment"); 3166 __ stop("Unexpected alignment");
3167 __ bind(&alignment_as_expected); 3167 __ bind(&alignment_as_expected);
3168 } 3168 }
3169 } 3169 }
3170 #endif 3170 #endif
3171 3171
3172 // TODO(1242173): To let the GC traverse the return address of the exit 3172 // TODO(1242173): To let the GC traverse the return address of the exit
3173 // frames, we need to know where the return address is. Right now, 3173 // frames, we need to know where the return address is. Right now,
(...skipping 2482 matching lines...) Expand 10 before | Expand all | Expand 10 after
5656 __ pop(r1); 5656 __ pop(r1);
5657 __ Jump(r2); 5657 __ Jump(r2);
5658 } 5658 }
5659 5659
5660 5660
5661 #undef __ 5661 #undef __
5662 5662
5663 } } // namespace v8::internal 5663 } } // namespace v8::internal
5664 5664
5665 #endif // V8_TARGET_ARCH_ARM 5665 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698