943 |
943 |
944 // Indicates whether compilation failed earlier for this method, or |
944 // Indicates whether compilation failed earlier for this method, or |
945 // whether it is not compilable for another reason like having a |
945 // whether it is not compilable for another reason like having a |
946 // breakpoint set in it. |
946 // breakpoint set in it. |
947 bool is_not_compilable(int comp_level = CompLevel_any) const; |
947 bool is_not_compilable(int comp_level = CompLevel_any) const; |
948 void set_not_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL); |
948 void set_not_compilable(const char* reason, int comp_level = CompLevel_all, bool report = true); |
949 void set_not_compilable_quietly(int comp_level = CompLevel_all) { |
949 void set_not_compilable_quietly(const char* reason, int comp_level = CompLevel_all) { |
950 set_not_compilable(comp_level, false); |
950 set_not_compilable(reason, comp_level, false); |
951 } |
951 } |
952 bool is_not_osr_compilable(int comp_level = CompLevel_any) const; |
952 bool is_not_osr_compilable(int comp_level = CompLevel_any) const; |
953 void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL); |
953 void set_not_osr_compilable(const char* reason, int comp_level = CompLevel_all, bool report = true); |
954 void set_not_osr_compilable_quietly(int comp_level = CompLevel_all) { |
954 void set_not_osr_compilable_quietly(const char* reason, int comp_level = CompLevel_all) { |
955 set_not_osr_compilable(comp_level, false); |
955 set_not_osr_compilable(reason, comp_level, false); |
956 } |
956 } |
957 bool is_always_compilable() const; |
957 bool is_always_compilable() const; |
958 |
958 |
959 private: |
959 private: |
960 void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason); |
960 void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason); |