OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 4952 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4963 bool JSFunction::IsOptimizable() { | 4963 bool JSFunction::IsOptimizable() { |
4964 return code()->kind() == Code::FUNCTION && code()->optimizable(); | 4964 return code()->kind() == Code::FUNCTION && code()->optimizable(); |
4965 } | 4965 } |
4966 | 4966 |
4967 | 4967 |
4968 bool JSFunction::IsMarkedForLazyRecompilation() { | 4968 bool JSFunction::IsMarkedForLazyRecompilation() { |
4969 return code() == GetIsolate()->builtins()->builtin(Builtins::kLazyRecompile); | 4969 return code() == GetIsolate()->builtins()->builtin(Builtins::kLazyRecompile); |
4970 } | 4970 } |
4971 | 4971 |
4972 | 4972 |
4973 bool JSFunction::IsMarkedForInstallingRecompiledCode() { | |
4974 return code() == GetIsolate()->builtins()->builtin( | |
4975 Builtins::kInstallRecompiledCode); | |
4976 } | |
4977 | |
4978 | |
4979 bool JSFunction::IsMarkedForConcurrentRecompilation() { | 4973 bool JSFunction::IsMarkedForConcurrentRecompilation() { |
4980 return code() == GetIsolate()->builtins()->builtin( | 4974 return code() == GetIsolate()->builtins()->builtin( |
4981 Builtins::kConcurrentRecompile); | 4975 Builtins::kConcurrentRecompile); |
4982 } | 4976 } |
4983 | 4977 |
4984 | 4978 |
4985 bool JSFunction::IsInRecompileQueue() { | 4979 bool JSFunction::IsInRecompileQueue() { |
4986 return code() == GetIsolate()->builtins()->builtin( | 4980 return code() == GetIsolate()->builtins()->builtin( |
4987 Builtins::kInRecompileQueue); | 4981 Builtins::kInRecompileQueue); |
4988 } | 4982 } |
(...skipping 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6299 #undef WRITE_UINT32_FIELD | 6293 #undef WRITE_UINT32_FIELD |
6300 #undef READ_SHORT_FIELD | 6294 #undef READ_SHORT_FIELD |
6301 #undef WRITE_SHORT_FIELD | 6295 #undef WRITE_SHORT_FIELD |
6302 #undef READ_BYTE_FIELD | 6296 #undef READ_BYTE_FIELD |
6303 #undef WRITE_BYTE_FIELD | 6297 #undef WRITE_BYTE_FIELD |
6304 | 6298 |
6305 | 6299 |
6306 } } // namespace v8::internal | 6300 } } // namespace v8::internal |
6307 | 6301 |
6308 #endif // V8_OBJECTS_INL_H_ | 6302 #endif // V8_OBJECTS_INL_H_ |
OLD | NEW |