Skip to content

Tags: facebook/hermes

Tags

hermes-v250829098.0.14

Toggle hermes-v250829098.0.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Graft "[Hermes] Use clock_gettime_nsec_np(CLOCK_UPTIME_RAW) for CPU s…

…amples timestamps on Apple platforms" to static_h (#2040)

Summary:
Graft of D106656910 (authored by Ruslan Lesiutin) to static_h.

On Apple platforms, `std::chrono::steady_clock` uses [`mach_continuous_time()`](https://developer.apple.com/documentation/kernel/1646199-mach_continuous_time), which takes into account device sleep time.

For CPU sampling specifically, this should not be used, as it can accumulate CPU sleep time and could skew samples.

This also diverges from other iOS subsystems that can provide timestamps, like `UITouch`; we won't be able to align this on the same timeline, unless these are recorded with the same epoch.

We will use `clock_gettime_nsec_np(CLOCK_UPTIME_RAW)` for our case, since this is a recommended approach in Apple's docs. Under the hood, it is using `mach_absolute_time`.

Reviewed By: lavenzg

Differential Revision: D106844928

fbshipit-source-id: 9319d391f7eef727ae02f043f380d58f20658e59

Co-authored-by: Ruslan Lesiutin <hoxy@meta.com>

hermes-v250829098.0.13

Toggle hermes-v250829098.0.13's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump compiler version 250829098.0.13

hermes-v0.17.0

Toggle hermes-v0.17.0's commit message
folly::dynamic::push_back (dynamic.h) (#56676)

Summary: Pull Request resolved: react/react-native#56676

Reviewed By: tmikov

Differential Revision: D103664557

fbshipit-source-id: bcc53150cf357b025918b4dab9f19603284d602b

hermes-v250829098.0.12

Toggle hermes-v250829098.0.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump hermes-compiler version to 250829098.0.12

hermes-v250829098.0.11

Toggle hermes-v250829098.0.11's commit message
Add `isInteger` to `jsi::Value`

Summary:
X-link: react/react-native#56161

Add a `isInteger` method under `jsi::Value` that returns true iff
`Number.isInteger` returns true.

This can be implemented without relying on the Runtime.

Changelog: [Internal]

Reviewed By: lavenzg

Differential Revision: D96175707

fbshipit-source-id: af482ae512ffc53f18c1686dd8a2a95521d0bc59

hermes-v0.16.0

Toggle hermes-v0.16.0's commit message
Add async hook syntax support to Hermes parser

Summary: Add parsing support for `async hook` declarations in the Hermes parser, mirroring the existing async component pattern. This includes: updating ESTree.def to add the `async` boolean field to HookDeclaration (5 args -> 6 args), adding `checkAsyncHookFlow()` lookahead, updating `parseHookDeclarationFlow` to accept `isAsync`, handling async hooks in all declaration/export/declare-export paths with appropriate error messages for `declare async hook`, updating hermes-estree types, StripComponentSyntax transform, prettier printer, Juno FFI/CVT generated files, and updating all existing tests to include the new `"async"` field.

Reviewed By: avp

Differential Revision: D93530501

fbshipit-source-id: 53417fa69e1b651dcfe50fef204bfcf3c5d6019e

hermes-v250829098.0.10

Toggle hermes-v250829098.0.10's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump hermes-compiler version to 250829098.0.10

hermes-v250829098.0.9

Toggle hermes-v250829098.0.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump hermes-compiler version to 250829098.0.9

hermes-v250829098.0.8

Toggle hermes-v250829098.0.8's commit message

Verified

This commit was signed with the committer’s verified signature.
huntie Alex Hunt
[Catalyst] Fix target triple for multi-arch builds (#1888)

When both -target and -arch flags are passed to Apple clang, the -arch flag
overrides only the architecture portion of the target triple while preserving
the OS and environment.

Use a single -target arm64-apple-ios$VERSION-macabi flag, and let CMake's
multi-arch handling add -arch x86_64 and -arch arm64 flags which correctly
produce the right target triple for each architecture.

hermes-v0.15.1

Toggle hermes-v0.15.1's commit message

Verified

This commit was signed with the committer’s verified signature.
huntie Alex Hunt
Bump version to 0.15.1