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

Side by Side Diff: src/log.cc

Issue 2096863003: [wasm] prototype for breakpoint support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@extend-script-functionality
Patch Set: Created 4 years, 6 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/objects.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #include "src/log.h" 5 #include "src/log.h"
6 6
7 #include <cstdarg> 7 #include <cstdarg>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "src/bailout-reason.h" 10 #include "src/bailout-reason.h"
(...skipping 1541 matching lines...) Expand 10 before | Expand all | Expand 10 after
1552 tag = CodeEventListener::STUB_TAG; 1552 tag = CodeEventListener::STUB_TAG;
1553 break; 1553 break;
1554 case AbstractCode::JS_TO_WASM_FUNCTION: 1554 case AbstractCode::JS_TO_WASM_FUNCTION:
1555 description = "A JavaScript to Wasm adapter"; 1555 description = "A JavaScript to Wasm adapter";
1556 tag = CodeEventListener::STUB_TAG; 1556 tag = CodeEventListener::STUB_TAG;
1557 break; 1557 break;
1558 case AbstractCode::WASM_TO_JS_FUNCTION: 1558 case AbstractCode::WASM_TO_JS_FUNCTION:
1559 description = "A Wasm to JavaScript adapter"; 1559 description = "A Wasm to JavaScript adapter";
1560 tag = CodeEventListener::STUB_TAG; 1560 tag = CodeEventListener::STUB_TAG;
1561 break; 1561 break;
1562 case AbstractCode::WASM_TO_INTERPRETER:
1563 description = "A Wasm to interpreter adapter";
1564 tag = CodeEventListener::STUB_TAG;
1565 break;
1562 case AbstractCode::NUMBER_OF_KINDS: 1566 case AbstractCode::NUMBER_OF_KINDS:
1563 UNIMPLEMENTED(); 1567 UNIMPLEMENTED();
1564 } 1568 }
1565 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description)); 1569 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description));
1566 } 1570 }
1567 1571
1568 1572
1569 void Logger::LogCodeObjects() { 1573 void Logger::LogCodeObjects() {
1570 Heap* heap = isolate_->heap(); 1574 Heap* heap = isolate_->heap();
1571 heap->CollectAllGarbage(Heap::kMakeHeapIterableMask, 1575 heap->CollectAllGarbage(Heap::kMakeHeapIterableMask,
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1878 1882
1879 if (profiler_listener_.get() != nullptr) { 1883 if (profiler_listener_.get() != nullptr) {
1880 removeCodeEventListener(profiler_listener_.get()); 1884 removeCodeEventListener(profiler_listener_.get());
1881 } 1885 }
1882 1886
1883 return log_->Close(); 1887 return log_->Close();
1884 } 1888 }
1885 1889
1886 } // namespace internal 1890 } // namespace internal
1887 } // namespace v8 1891 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698