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

Side by Side Diff: src/log.h

Issue 942963004: Remove internal use of v8::AccessType, always pass v8::ACCESS_HAS instead. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove the distinction between named/indexed access checks, always pass "undefined" as "name" Created 5 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 unified diff | Download patch
« no previous file with comments | « src/isolate.cc ('k') | src/log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_LOG_H_ 5 #ifndef V8_LOG_H_
6 #define V8_LOG_H_ 6 #define V8_LOG_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 // object. 203 // object.
204 void SuspectReadEvent(Name* name, Object* obj); 204 void SuspectReadEvent(Name* name, Object* obj);
205 205
206 // Emits an event when a message is put on or read from a debugging queue. 206 // Emits an event when a message is put on or read from a debugging queue.
207 // DebugTag lets us put a call-site specific label on the event. 207 // DebugTag lets us put a call-site specific label on the event.
208 void DebugTag(const char* call_site_tag); 208 void DebugTag(const char* call_site_tag);
209 void DebugEvent(const char* event_type, Vector<uint16_t> parameter); 209 void DebugEvent(const char* event_type, Vector<uint16_t> parameter);
210 210
211 211
212 // ==== Events logged by --log-api. ==== 212 // ==== Events logged by --log-api. ====
213 void ApiNamedSecurityCheck(Object* key); 213 void ApiSecurityCheck();
214 void ApiIndexedSecurityCheck(uint32_t index);
215 void ApiNamedPropertyAccess(const char* tag, JSObject* holder, Object* name); 214 void ApiNamedPropertyAccess(const char* tag, JSObject* holder, Object* name);
216 void ApiIndexedPropertyAccess(const char* tag, 215 void ApiIndexedPropertyAccess(const char* tag,
217 JSObject* holder, 216 JSObject* holder,
218 uint32_t index); 217 uint32_t index);
219 void ApiObjectAccess(const char* tag, JSObject* obj); 218 void ApiObjectAccess(const char* tag, JSObject* obj);
220 void ApiEntryCall(const char* name); 219 void ApiEntryCall(const char* name);
221 220
222 221
223 // ==== Events logged by --log-code. ==== 222 // ==== Events logged by --log-code. ====
224 void addCodeEventListener(CodeEventListener* listener); 223 void addCodeEventListener(CodeEventListener* listener);
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 int length) = 0; 534 int length) = 0;
536 535
537 NameBuffer* name_buffer_; 536 NameBuffer* name_buffer_;
538 }; 537 };
539 538
540 539
541 } } // namespace v8::internal 540 } } // namespace v8::internal
542 541
543 542
544 #endif // V8_LOG_H_ 543 #endif // V8_LOG_H_
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698