Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 0a81481d4225bc1c1a18829744586323af2208c5..0883fc18e858f4335f4a0132e570cf4dd986cdfd 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -869,7 +869,7 @@ void CodeAssembler::Branch(Node* condition, CodeAssembler::Label* true_label, |
} |
void CodeAssembler::Switch(Node* index, Label* default_label, |
- int32_t* case_values, Label** case_labels, |
+ const int32_t* case_values, Label** case_labels, |
size_t case_count) { |
RawMachineLabel** labels = |
new (zone()->New(sizeof(RawMachineLabel*) * case_count)) |