Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: src/top.cc

Issue 6688002: Add "isolate" argument to LOG macro to avoid TLS fetches. (Closed)
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/stub-cache.cc ('k') | src/vm-state-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/top.cc
diff --git a/src/top.cc b/src/top.cc
index 11e1ed2e7e81d84fb893016fba2b9564bd34a01b..62850b13e0e742f50d18736c364f3c118390ae73 100644
--- a/src/top.cc
+++ b/src/top.cc
@@ -465,7 +465,7 @@ bool Isolate::MayNamedAccess(JSObject* receiver, Object* key,
Handle<JSObject> receiver_handle(receiver, this);
Handle<Object> key_handle(key, this);
Handle<Object> data(AccessCheckInfo::cast(data_obj)->data(), this);
- LOG(ApiNamedSecurityCheck(key));
+ LOG(this, ApiNamedSecurityCheck(key));
bool result = false;
{
// Leaving JavaScript.
@@ -507,7 +507,7 @@ bool Isolate::MayIndexedAccess(JSObject* receiver,
HandleScope scope(this);
Handle<JSObject> receiver_handle(receiver, this);
Handle<Object> data(AccessCheckInfo::cast(data_obj)->data(), this);
- LOG(ApiIndexedSecurityCheck(index));
+ LOG(this, ApiIndexedSecurityCheck(index));
bool result = false;
{
// Leaving JavaScript.
« no previous file with comments | « src/stub-cache.cc ('k') | src/vm-state-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698