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

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

Issue 261953002: Fix for 3303 MultithreadedParallelIsolates has a race condition. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed ICache arm simulator issue. Created 6 years, 7 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/deoptimizer-arm.cc ('k') | src/arm64/assembler-arm64-inl.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <limits.h> // For LONG_MIN, LONG_MAX. 5 #include <limits.h> // For LONG_MIN, LONG_MAX.
6 6
7 #include "v8.h" 7 #include "v8.h"
8 8
9 #if V8_TARGET_ARCH_ARM 9 #if V8_TARGET_ARCH_ARM
10 10
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
903 903
904 904
905 void MacroAssembler::Prologue(PrologueFrameMode frame_mode) { 905 void MacroAssembler::Prologue(PrologueFrameMode frame_mode) {
906 if (frame_mode == BUILD_STUB_FRAME) { 906 if (frame_mode == BUILD_STUB_FRAME) {
907 PushFixedFrame(); 907 PushFixedFrame();
908 Push(Smi::FromInt(StackFrame::STUB)); 908 Push(Smi::FromInt(StackFrame::STUB));
909 // Adjust FP to point to saved FP. 909 // Adjust FP to point to saved FP.
910 add(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp)); 910 add(fp, sp, Operand(StandardFrameConstants::kFixedFrameSizeFromFp));
911 } else { 911 } else {
912 PredictableCodeSizeScope predictible_code_size_scope( 912 PredictableCodeSizeScope predictible_code_size_scope(
913 this, kNoCodeAgeSequenceLength * Assembler::kInstrSize); 913 this, kNoCodeAgeSequenceLength);
914 // The following three instructions must remain together and unmodified 914 // The following three instructions must remain together and unmodified
915 // for code aging to work properly. 915 // for code aging to work properly.
916 if (isolate()->IsCodePreAgingActive()) { 916 if (isolate()->IsCodePreAgingActive()) {
917 // Pre-age the code. 917 // Pre-age the code.
918 Code* stub = Code::GetPreAgedCodeAgeStub(isolate()); 918 Code* stub = Code::GetPreAgedCodeAgeStub(isolate());
919 add(r0, pc, Operand(-8)); 919 add(r0, pc, Operand(-8));
920 ldr(pc, MemOperand(pc, -4)); 920 ldr(pc, MemOperand(pc, -4));
921 emit_code_stub_address(stub); 921 emit_code_stub_address(stub);
922 } else { 922 } else {
923 PushFixedFrame(r1); 923 PushFixedFrame(r1);
(...skipping 3144 matching lines...) Expand 10 before | Expand all | Expand 10 after
4068 sub(result, result, Operand(dividend)); 4068 sub(result, result, Operand(dividend));
4069 } 4069 }
4070 if (ms.shift() > 0) mov(result, Operand(result, ASR, ms.shift())); 4070 if (ms.shift() > 0) mov(result, Operand(result, ASR, ms.shift()));
4071 add(result, result, Operand(dividend, LSR, 31)); 4071 add(result, result, Operand(dividend, LSR, 31));
4072 } 4072 }
4073 4073
4074 4074
4075 } } // namespace v8::internal 4075 } } // namespace v8::internal
4076 4076
4077 #endif // V8_TARGET_ARCH_ARM 4077 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/arm64/assembler-arm64-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698