diff --git a/runtime/intrinsics.cpp b/runtime/intrinsics.cpp index 31c12ef8561008686865c64832bf5846c2711530..799d4ba79fa5a4c82a58db1cb8256d2859c51b92 100644 --- a/runtime/intrinsics.cpp +++ b/runtime/intrinsics.cpp @@ -2,6 +2,4 @@ * Copyright (c) Huawei Technologies Co., Ltd. 2019-2021. All rights reserved. */ -#define INLINE_ECMA_INTRINSICS -#include "plugins/ecmascript/runtime/intrinsics-inl.h" #include "intrinsics_gen.cpp" diff --git a/runtime/templates/intrinsics_gen.cpp.erb b/runtime/templates/intrinsics_gen.cpp.erb index 8404c3819367de2b7884f335b9d3e74cf9bcdba2..6137e086cf2a4ff9dfb33e2a72c9e2f2c97e5eea 100644 --- a/runtime/templates/intrinsics_gen.cpp.erb +++ b/runtime/templates/intrinsics_gen.cpp.erb @@ -13,6 +13,9 @@ * limitations under the License. */ +#define INLINE_ECMA_INTRINSICS +#include "plugins/ecmascript/runtime/intrinsics-inl.h" + namespace panda::ecmascript::intrinsics { // Autogenerated file -- DO NOT EDIT!