OLD | NEW |
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 "src/ia32/codegen-ia32.h" | 5 #include "src/ia32/codegen-ia32.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/heap/heap.h" | 10 #include "src/heap/heap.h" |
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 __ movsd(double_scratch, Operand::StaticArray( | 981 __ movsd(double_scratch, Operand::StaticArray( |
982 temp2, times_8, ExternalReference::math_exp_log_table())); | 982 temp2, times_8, ExternalReference::math_exp_log_table())); |
983 __ orps(input, double_scratch); | 983 __ orps(input, double_scratch); |
984 __ mulsd(result, input); | 984 __ mulsd(result, input); |
985 __ bind(&done); | 985 __ bind(&done); |
986 } | 986 } |
987 | 987 |
988 #undef __ | 988 #undef __ |
989 | 989 |
990 | 990 |
991 CodeAgingHelper::CodeAgingHelper() { | 991 CodeAgingHelper::CodeAgingHelper(Isolate* isolate) { |
| 992 USE(isolate); |
992 DCHECK(young_sequence_.length() == kNoCodeAgeSequenceLength); | 993 DCHECK(young_sequence_.length() == kNoCodeAgeSequenceLength); |
993 CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); | 994 CodePatcher patcher(young_sequence_.start(), young_sequence_.length()); |
994 patcher.masm()->push(ebp); | 995 patcher.masm()->push(ebp); |
995 patcher.masm()->mov(ebp, esp); | 996 patcher.masm()->mov(ebp, esp); |
996 patcher.masm()->push(esi); | 997 patcher.masm()->push(esi); |
997 patcher.masm()->push(edi); | 998 patcher.masm()->push(edi); |
998 } | 999 } |
999 | 1000 |
1000 | 1001 |
1001 #ifdef DEBUG | 1002 #ifdef DEBUG |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 CodePatcher patcher(sequence, young_length); | 1041 CodePatcher patcher(sequence, young_length); |
1041 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); | 1042 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); |
1042 } | 1043 } |
1043 } | 1044 } |
1044 | 1045 |
1045 | 1046 |
1046 } // namespace internal | 1047 } // namespace internal |
1047 } // namespace v8 | 1048 } // namespace v8 |
1048 | 1049 |
1049 #endif // V8_TARGET_ARCH_IA32 | 1050 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |