Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 8b385aae875a99955d623d613977fb310dd322bb..27d30545e3e3a3b9286f4d5ffe37673f2758d9a9 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -1574,7 +1574,7 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) { |
PROFILE(isolate, |
CodeCreateEvent(Logger::BUILTIN_TAG, *code, functions[i].s_name)); |
builtins_[i] = *code; |
- if (code->kind() == Code::BUILTIN) code->set_builtin_index(i); |
+ code->set_builtin_index(i); |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_print_builtin_code) { |
CodeTracer::Scope trace_scope(isolate->GetCodeTracer()); |