equal
deleted
inserted
replaced
341 |
341 |
342 if (safe_transition) { |
342 if (safe_transition) { |
343 // Kill any leftover stub we might have too |
343 // Kill any leftover stub we might have too |
344 clear_ic_stub(); |
344 clear_ic_stub(); |
345 if (is_optimized()) { |
345 if (is_optimized()) { |
346 set_ic_destination(entry); |
346 set_ic_destination(entry); |
347 } else { |
347 } else { |
348 set_ic_destination_and_value(entry, (void*)NULL); |
348 set_ic_destination_and_value(entry, (void*)NULL); |
349 } |
349 } |
350 } else { |
350 } else { |
351 // Unsafe transition - create stub. |
351 // Unsafe transition - create stub. |
352 InlineCacheBuffer::create_transition_stub(this, NULL, entry); |
352 InlineCacheBuffer::create_transition_stub(this, NULL, entry); |