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 #include "src/arm64/lithium-codegen-arm64.h" | 7 #include "src/arm64/lithium-codegen-arm64.h" |
8 #include "src/arm64/lithium-gap-resolver-arm64.h" | 8 #include "src/arm64/lithium-gap-resolver-arm64.h" |
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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 DCHECK(translation_size == 1); | 245 DCHECK(translation_size == 1); |
246 DCHECK(height == 0); | 246 DCHECK(height == 0); |
247 translation->BeginGetterStubFrame(closure_id); | 247 translation->BeginGetterStubFrame(closure_id); |
248 break; | 248 break; |
249 case JS_SETTER: | 249 case JS_SETTER: |
250 DCHECK(translation_size == 2); | 250 DCHECK(translation_size == 2); |
251 DCHECK(height == 0); | 251 DCHECK(height == 0); |
252 translation->BeginSetterStubFrame(closure_id); | 252 translation->BeginSetterStubFrame(closure_id); |
253 break; | 253 break; |
254 case STUB: | 254 case STUB: |
255 translation->BeginCompiledStubFrame(translation_size); | 255 translation->BeginCompiledStubFrame(); |
256 break; | 256 break; |
257 case ARGUMENTS_ADAPTOR: | 257 case ARGUMENTS_ADAPTOR: |
258 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); | 258 translation->BeginArgumentsAdaptorFrame(closure_id, translation_size); |
259 break; | 259 break; |
260 default: | 260 default: |
261 UNREACHABLE(); | 261 UNREACHABLE(); |
262 } | 262 } |
263 | 263 |
264 int object_index = 0; | 264 int object_index = 0; |
265 int dematerialized_index = 0; | 265 int dematerialized_index = 0; |
(...skipping 5833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6099 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6099 Handle<ScopeInfo> scope_info = instr->scope_info(); |
6100 __ Push(scope_info); | 6100 __ Push(scope_info); |
6101 __ Push(ToRegister(instr->function())); | 6101 __ Push(ToRegister(instr->function())); |
6102 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6102 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6103 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6103 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6104 } | 6104 } |
6105 | 6105 |
6106 | 6106 |
6107 } // namespace internal | 6107 } // namespace internal |
6108 } // namespace v8 | 6108 } // namespace v8 |
OLD | NEW |