Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 430e620ec3e2a959884c9a44c605c3128443939e..b99ba44723122cbd4b38fa9e1cdd1b070c7710d9 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3225,7 +3225,6 @@ int Code::arguments_count() { |
int Code::major_key() { |
ASSERT(kind() == STUB || |
- kind() == COMPILED_STUB || |
kind() == UNARY_OP_IC || |
kind() == BINARY_OP_IC || |
kind() == COMPARE_IC || |
@@ -3237,7 +3236,6 @@ int Code::major_key() { |
void Code::set_major_key(int major) { |
ASSERT(kind() == STUB || |
- kind() == COMPILED_STUB || |
kind() == UNARY_OP_IC || |
kind() == BINARY_OP_IC || |
kind() == COMPARE_IC || |
@@ -3346,7 +3344,7 @@ void Code::set_profiler_ticks(int ticks) { |
unsigned Code::stack_slots() { |
- ASSERT(kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB); |
+ ASSERT(kind() == OPTIMIZED_FUNCTION); |
return StackSlotsField::decode( |
READ_UINT32_FIELD(this, kKindSpecificFlags1Offset)); |
} |
@@ -3354,7 +3352,7 @@ unsigned Code::stack_slots() { |
void Code::set_stack_slots(unsigned slots) { |
CHECK(slots <= (1 << kStackSlotsBitCount)); |
- ASSERT(kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB); |
+ ASSERT(kind() == OPTIMIZED_FUNCTION); |
int previous = READ_UINT32_FIELD(this, kKindSpecificFlags1Offset); |
int updated = StackSlotsField::update(previous, slots); |
WRITE_UINT32_FIELD(this, kKindSpecificFlags1Offset, updated); |
@@ -3362,7 +3360,7 @@ void Code::set_stack_slots(unsigned slots) { |
unsigned Code::safepoint_table_offset() { |
- ASSERT(kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB); |
+ ASSERT(kind() == OPTIMIZED_FUNCTION); |
return SafepointTableOffsetField::decode( |
READ_UINT32_FIELD(this, kKindSpecificFlags2Offset)); |
} |
@@ -3370,7 +3368,7 @@ unsigned Code::safepoint_table_offset() { |
void Code::set_safepoint_table_offset(unsigned offset) { |
CHECK(offset <= (1 << kSafepointTableOffsetBitCount)); |
- ASSERT(kind() == OPTIMIZED_FUNCTION || kind() == COMPILED_STUB); |
+ ASSERT(kind() == OPTIMIZED_FUNCTION); |
ASSERT(IsAligned(offset, static_cast<unsigned>(kIntSize))); |
int previous = READ_UINT32_FIELD(this, kKindSpecificFlags2Offset); |
int updated = SafepointTableOffsetField::update(previous, offset); |