[Webkit-unassigned] [Bug 49517] [BREWMP] Replace MALLOC, FREE and REALLOC macros with IEnv

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 21 14:30:51 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=49517





--- Comment #2 from Patrick R. Gansterer <paroga at paroga.com>  2010-11-21 14:30:52 PST ---
(From update of attachment 73861)
View in context: https://bugs.webkit.org/attachment.cgi?id=73861&action=review

> JavaScriptCore/wtf/brew/SystemMallocBrew.h:39
> +    IEnv* env;
> +    int result = env_GetCurrent(&env);
> +    ASSERT_UNUSED(result, result == AEE_SUCCESS);

You do the same code 4 times. Seams to be a good candidate for an extra functon.
Is it possible to cache IEnv? Do we get an different IEnv for every call/thread/process?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list