| 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-stubs.h" | 10 #include "src/code-stubs.h" |
| (...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 // Other constants not implemented. | 1241 // Other constants not implemented. |
| 1242 Abort(kToOperand32UnsupportedImmediate); | 1242 Abort(kToOperand32UnsupportedImmediate); |
| 1243 } | 1243 } |
| 1244 } | 1244 } |
| 1245 // Other cases are not implemented. | 1245 // Other cases are not implemented. |
| 1246 UNREACHABLE(); | 1246 UNREACHABLE(); |
| 1247 return Operand(0); | 1247 return Operand(0); |
| 1248 } | 1248 } |
| 1249 | 1249 |
| 1250 | 1250 |
| 1251 static ptrdiff_t ArgumentsOffsetWithoutFrame(ptrdiff_t index) { | 1251 static int64_t ArgumentsOffsetWithoutFrame(int index) { |
| 1252 DCHECK(index < 0); | 1252 DCHECK(index < 0); |
| 1253 return -(index + 1) * kPointerSize; | 1253 return -(index + 1) * kPointerSize; |
| 1254 } | 1254 } |
| 1255 | 1255 |
| 1256 | 1256 |
| 1257 MemOperand LCodeGen::ToMemOperand(LOperand* op, StackMode stack_mode) const { | 1257 MemOperand LCodeGen::ToMemOperand(LOperand* op, StackMode stack_mode) const { |
| 1258 DCHECK(op != NULL); | 1258 DCHECK(op != NULL); |
| 1259 DCHECK(!op->IsRegister()); | 1259 DCHECK(!op->IsRegister()); |
| 1260 DCHECK(!op->IsDoubleRegister()); | 1260 DCHECK(!op->IsDoubleRegister()); |
| 1261 DCHECK(op->IsStackSlot() || op->IsDoubleStackSlot()); | 1261 DCHECK(op->IsStackSlot() || op->IsDoubleStackSlot()); |
| (...skipping 4789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6051 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6051 Handle<ScopeInfo> scope_info = instr->scope_info(); |
| 6052 __ Push(scope_info); | 6052 __ Push(scope_info); |
| 6053 __ Push(ToRegister(instr->function())); | 6053 __ Push(ToRegister(instr->function())); |
| 6054 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6054 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 6055 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6055 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6056 } | 6056 } |
| 6057 | 6057 |
| 6058 | 6058 |
| 6059 | 6059 |
| 6060 } } // namespace v8::internal | 6060 } } // namespace v8::internal |
| OLD | NEW |