| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
| 8 #include "src/code-factory.h" | 8 #include "src/code-factory.h" |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/cpu-profiler.h" | 10 #include "src/cpu-profiler.h" |
| (...skipping 6262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6273 void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { | 6273 void LCodeGen::DoAllocateBlockContext(LAllocateBlockContext* instr) { |
| 6274 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6274 Handle<ScopeInfo> scope_info = instr->scope_info(); |
| 6275 __ Push(scope_info); | 6275 __ Push(scope_info); |
| 6276 __ push(ToRegister(instr->function())); | 6276 __ push(ToRegister(instr->function())); |
| 6277 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6277 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 6278 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6278 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6279 } | 6279 } |
| 6280 | 6280 |
| 6281 | 6281 |
| 6282 #undef __ | 6282 #undef __ |
| 6283 } | 6283 } // namespace internal |
| 6284 } // namespace v8::internal | 6284 } // namespace v8 |
| OLD | NEW |