LGTM. With this structure, it is easy make the locker check happen only in debug mode if it turns out to be expensive in release mode.
http://codereview.chromium.org/18707/diff/215/21 File src/api.cc (right): http://codereview.chromium.org/18707/diff/215/21#newcode77 Line 77: #define API_ENTRY_CHECK(msg) \ Right align the '\'s for consistency? http://codereview.chromium.org/18707 --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
