BackendOpCodeAttrAsmJs.h 770 B

123456789101112131415
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #ifdef ASMJS_PLAT
  6. namespace OpCodeAttrAsmJs
  7. {
  8. // False if the opcode results in jump to end of the function and there cannot be fallthrough.
  9. bool HasFallThrough(Js::OpCodeAsmJs opcode);
  10. // True if the opcode has a small/large layout
  11. bool HasMultiSizeLayout(Js::OpCodeAsmJs opcode);
  12. bool HasProfiledOp(Js::OpCodeAsmJs opcode);
  13. bool IsProfiledOp(Js::OpCodeAsmJs opcode);
  14. };
  15. #endif