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 "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 "codegen.h" | 9 #include "src/codegen.h" |
10 #include "heap.h" | 10 #include "src/heap.h" |
11 #include "macro-assembler.h" | 11 #include "src/macro-assembler.h" |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 | 16 |
17 // ------------------------------------------------------------------------- | 17 // ------------------------------------------------------------------------- |
18 // Platform-specific RuntimeCallHelper functions. | 18 // Platform-specific RuntimeCallHelper functions. |
19 | 19 |
20 void StubRuntimeCallHelper::BeforeCall(MacroAssembler* masm) const { | 20 void StubRuntimeCallHelper::BeforeCall(MacroAssembler* masm) const { |
21 masm->EnterFrame(StackFrame::INTERNAL); | 21 masm->EnterFrame(StackFrame::INTERNAL); |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1010 Code* stub = GetCodeAgeStub(isolate, age, parity); | 1010 Code* stub = GetCodeAgeStub(isolate, age, parity); |
1011 CodePatcher patcher(sequence, young_length); | 1011 CodePatcher patcher(sequence, young_length); |
1012 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); | 1012 patcher.masm()->call(stub->instruction_start(), RelocInfo::NONE32); |
1013 } | 1013 } |
1014 } | 1014 } |
1015 | 1015 |
1016 | 1016 |
1017 } } // namespace v8::internal | 1017 } } // namespace v8::internal |
1018 | 1018 |
1019 #endif // V8_TARGET_ARCH_IA32 | 1019 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |