OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 6011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6022 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6022 Handle<ScopeInfo> scope_info = instr->scope_info(); |
6023 __ Push(scope_info); | 6023 __ Push(scope_info); |
6024 __ Push(ToRegister(instr->function())); | 6024 __ Push(ToRegister(instr->function())); |
6025 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6025 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6026 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6026 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6027 } | 6027 } |
6028 | 6028 |
6029 | 6029 |
6030 #undef __ | 6030 #undef __ |
6031 | 6031 |
6032 } } // namespace v8::internal | 6032 } // namespace internal |
| 6033 } // namespace v8 |
6033 | 6034 |
6034 #endif // V8_TARGET_ARCH_X64 | 6035 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |