Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(562)

Side by Side Diff: src/arm64/lithium-codegen-arm64.cc

Issue 559073003: ARM64: Change some incorect uses of ptrdiff_t to int64_t. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm64/instructions-arm64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm64/instructions-arm64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698