summaryrefslogtreecommitdiffstats
path: root/courgette/assembly_program.h
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2014-10-03 11:52:29 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-03 18:52:42 +0000
commit8e3a26aaf2392d784ba6d5cbb696da926230a722 (patch)
treec6556382e51d205e9d704072e8b07c007d8bc651 /courgette/assembly_program.h
parent1bd4f75c6522dc81b8ba30ca4174e2c312c43d83 (diff)
downloadchromium_src-8e3a26aaf2392d784ba6d5cbb696da926230a722.zip
chromium_src-8e3a26aaf2392d784ba6d5cbb696da926230a722.tar.gz
chromium_src-8e3a26aaf2392d784ba6d5cbb696da926230a722.tar.bz2
Fix more MSVC warnings, courgette/ edition.
This is mostly about changing types and inserting casts so as to avoid implicit value truncations. BUG=81439 TEST=none Review URL: https://codereview.chromium.org/613893002 Cr-Commit-Position: refs/heads/master@{#298069}
Diffstat (limited to 'courgette/assembly_program.h')
-rw-r--r--courgette/assembly_program.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/courgette/assembly_program.h b/courgette/assembly_program.h
index 701b476..4c1cba2 100644
--- a/courgette/assembly_program.h
+++ b/courgette/assembly_program.h
@@ -87,7 +87,7 @@ class AssemblyProgram {
CheckBool EmitByteInstruction(uint8 byte) WARN_UNUSED_RESULT;
// Generates multiple bytes of data or machine instructions.
- CheckBool EmitBytesInstruction(const uint8* value, uint32 len)
+ CheckBool EmitBytesInstruction(const uint8* value, size_t len)
WARN_UNUSED_RESULT;
// Generates 4-byte relative reference to address of 'label'.
@@ -129,9 +129,6 @@ class AssemblyProgram {
// Trim underused labels
CheckBool TrimLabels();
- void PrintLabelCounts(RVAToLabel* labels);
- void CountRel32ARM();
-
private:
ExecutableType kind_;