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

Side by Side Diff: src/frames.cc

Issue 1131573006: ARM64: Enable shorten-64-to-32 warning (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | test/cctest/test-code-stubs-arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/frames.h" 5 #include "src/frames.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/v8.h" 9 #include "src/v8.h"
10 10
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 entry->safepoint_entry.Reset(); 1451 entry->safepoint_entry.Reset();
1452 entry->inner_pointer = inner_pointer; 1452 entry->inner_pointer = inner_pointer;
1453 } 1453 }
1454 return entry; 1454 return entry;
1455 } 1455 }
1456 1456
1457 1457
1458 // ------------------------------------------------------------------------- 1458 // -------------------------------------------------------------------------
1459 1459
1460 1460
1461 int NumRegs(RegList reglist) { return base::bits::CountPopulation32(reglist); } 1461 int NumRegs(RegList reglist) { return base::bits::CountPopulation(reglist); }
1462 1462
1463 1463
1464 struct JSCallerSavedCodeData { 1464 struct JSCallerSavedCodeData {
1465 int reg_code[kNumJSCallerSaved]; 1465 int reg_code[kNumJSCallerSaved];
1466 }; 1466 };
1467 1467
1468 JSCallerSavedCodeData caller_saved_code_data; 1468 JSCallerSavedCodeData caller_saved_code_data;
1469 1469
1470 void SetUpJSCallerSavedCodeData() { 1470 void SetUpJSCallerSavedCodeData() {
1471 int i = 0; 1471 int i = 0;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1514 ZoneList<StackFrame*> list(10, zone); 1514 ZoneList<StackFrame*> list(10, zone);
1515 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) { 1515 for (StackFrameIterator it(isolate); !it.done(); it.Advance()) {
1516 StackFrame* frame = AllocateFrameCopy(it.frame(), zone); 1516 StackFrame* frame = AllocateFrameCopy(it.frame(), zone);
1517 list.Add(frame, zone); 1517 list.Add(frame, zone);
1518 } 1518 }
1519 return list.ToVector(); 1519 return list.ToVector();
1520 } 1520 }
1521 1521
1522 1522
1523 } } // namespace v8::internal 1523 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | test/cctest/test-code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698