Skip to content

Commit

Permalink
only disable optimization on apple
Browse files Browse the repository at this point in the history
JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi [email protected]
  • Loading branch information
matetokodi committed May 16, 2024
1 parent 9591601 commit 1ef5ba2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jerry-core/ecma/base/ecma-helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,12 @@ bool ecma_number_is_finite (ecma_number_t num);
ecma_number_t ecma_number_get_prev (ecma_number_t num);
ecma_number_t ecma_number_get_next (ecma_number_t num);
ecma_number_t ecma_number_trunc (ecma_number_t num);
ecma_number_t ecma_number_remainder (ecma_number_t left_num, ecma_number_t right_num) __attribute__ ((optnone));
ecma_number_t ecma_number_remainder (ecma_number_t left_num, ecma_number_t right_num)
#ifdef __APPLE__
__attribute__ ((optnone));
#else
;
#endif
ecma_number_t ecma_number_pow (ecma_number_t x, ecma_number_t y);
ecma_value_t
ecma_number_parse_int (const lit_utf8_byte_t *string_buff, lit_utf8_size_t string_buff_size, ecma_value_t radix);
Expand Down

0 comments on commit 1ef5ba2

Please sign in to comment.