IR AND ATTINY 85

Hello everyone,
i will be grateful if someone help me to resolve a problem with attiny85 and IRemot.
I use this IRremot only to switchon my LED.
All things function correctly with arduino Mega 2560 and i don't have any error when i compile the following code in the attiny85 but the circuit no function and my LED don't react.
When i compile others codes in attiny85, they function correctly ,
I have searched for many weeks but i don't find the solution.
thanks for your help

#include "IRremote.h"
int ledPin = 1; 
int receiver = 4;
IRrecv irrecv(receiver);     
decode_results results;      
void setup()   
{
    pinMode(ledPin, OUTPUT);
     irrecv.enableIRIn(); 
}
void loop()   
{
  if (irrecv.decode(&results)) 
  {
    translateIR(); 
    irrecv.resume();
  }  
}
void translateIR() 
{
if (results.value == xxxxxx) 
{
digitalWrite(ledPin, HIGH);
  }
   delay(5000); 
digitalWrite(ledPin, LOW);
}

Upload a simple blink sketch on the Tiny to confirm you can program it and the running is right.
Confirm that the Tiny is able to detect the IR carrier (i.e. turn on a LED on another pin while signal is present and turn it off otherwise).
If it passes revive remove everything unnecessary from the sketch and inline it so we don't have to download the .ino file.

Your indenting is terrible, making the code very hard to follow. Use the IDE autoformat tool (ctrl-t or Tools, Auto Format) to more properly indent the code.

Why do you have the extra curly brackets.

Read the how to use this forum-please read sticky to see how to properly post code. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code.