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

Side by Side Diff: src/api.cc

Issue 10837021: add ETW for V8 symbols
Patch Set: Created 8 years, 4 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 | « include/v8.h ('k') | src/log.h » ('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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 5398 matching lines...) Expand 10 before | Expand all | Expand 10 after
5409 } 5409 }
5410 5410
5411 5411
5412 bool V8::IsExecutionTerminating(Isolate* isolate) { 5412 bool V8::IsExecutionTerminating(Isolate* isolate) {
5413 i::Isolate* i_isolate = isolate != NULL ? 5413 i::Isolate* i_isolate = isolate != NULL ?
5414 reinterpret_cast<i::Isolate*>(isolate) : i::Isolate::Current(); 5414 reinterpret_cast<i::Isolate*>(isolate) : i::Isolate::Current();
5415 return IsExecutionTerminatingCheck(i_isolate); 5415 return IsExecutionTerminatingCheck(i_isolate);
5416 } 5416 }
5417 5417
5418 5418
5419 void V8::SetCodeAddressEventCallback(CodeAddressEvent callback,
5420 bool enumExisting) {
5421 i::CodeAddressNotification::SetCodeAddressEventCallback(callback,
5422 enumExisting);
5423 }
5424
5425
5419 Isolate* Isolate::GetCurrent() { 5426 Isolate* Isolate::GetCurrent() {
5420 i::Isolate* isolate = i::Isolate::UncheckedCurrent(); 5427 i::Isolate* isolate = i::Isolate::UncheckedCurrent();
5421 return reinterpret_cast<Isolate*>(isolate); 5428 return reinterpret_cast<Isolate*>(isolate);
5422 } 5429 }
5423 5430
5424 5431
5425 Isolate* Isolate::New() { 5432 Isolate* Isolate::New() {
5426 i::Isolate* isolate = new i::Isolate(); 5433 i::Isolate* isolate = new i::Isolate();
5427 return reinterpret_cast<Isolate*>(isolate); 5434 return reinterpret_cast<Isolate*>(isolate);
5428 } 5435 }
(...skipping 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
6518 6525
6519 v->VisitPointers(blocks_.first(), first_block_limit_); 6526 v->VisitPointers(blocks_.first(), first_block_limit_);
6520 6527
6521 for (int i = 1; i < blocks_.length(); i++) { 6528 for (int i = 1; i < blocks_.length(); i++) {
6522 v->VisitPointers(blocks_[i], &blocks_[i][kHandleBlockSize]); 6529 v->VisitPointers(blocks_[i], &blocks_[i][kHandleBlockSize]);
6523 } 6530 }
6524 } 6531 }
6525 6532
6526 6533
6527 } } // namespace v8::internal 6534 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « include/v8.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698