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/v8.h" | 5 #include "src/v8.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 1023 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 isolate->code_aging_helper()->CopyYoungSequenceTo(sequence); | 1034 isolate->code_aging_helper()->CopyYoungSequenceTo(sequence); |
1035 CpuFeatures::FlushICache(sequence, young_length); | 1035 CpuFeatures::FlushICache(sequence, young_length); |
1036 } else { | 1036 } else { |
1037 Code* stub = GetCodeAgeStub(isolate, age, parity); | 1037 Code* stub = GetCodeAgeStub(isolate, age, parity); |
1038 CodePatcher patcher(sequence, young_length); | 1038 CodePatcher patcher(sequence, young_length); |
1039 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); | 1039 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); |
1040 } | 1040 } |
1041 } | 1041 } |
1042 | 1042 |
1043 | 1043 |
1044 } } // namespace v8::internal | 1044 } // namespace internal |
| 1045 } // namespace v8 |
1045 | 1046 |
1046 #endif // V8_TARGET_ARCH_IA32 | 1047 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |