objc-fast-4.m

来自「用于进行gcc测试」· M 代码 · 共 14 行

M
14
字号
/* The code should call objc_msgSend directly, not through a pointer.  *//* { dg-do compile { target powerpc*-*-darwin* } } *//* { dg-options "-O0 -fnext-runtime" } *//* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } *//* Radar 4015820 */#include <objc/Object.h>void foo(void) {  Object *o;  [o++ free];}/* { dg-final { scan-assembler-not "L_objc_msgSend\\\$non_lazy_ptr" } } */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?