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

Side by Side Diff: src/log.cc

Issue 2623773004: [wasm] Introduce WasmToInterpreterFrame (Closed)
Patch Set: Renaming Created 3 years, 11 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 <memory> 8 #include <memory>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
1475 tag = CodeEventListener::STUB_TAG; 1475 tag = CodeEventListener::STUB_TAG;
1476 break; 1476 break;
1477 case AbstractCode::JS_TO_WASM_FUNCTION: 1477 case AbstractCode::JS_TO_WASM_FUNCTION:
1478 description = "A JavaScript to Wasm adapter"; 1478 description = "A JavaScript to Wasm adapter";
1479 tag = CodeEventListener::STUB_TAG; 1479 tag = CodeEventListener::STUB_TAG;
1480 break; 1480 break;
1481 case AbstractCode::WASM_TO_JS_FUNCTION: 1481 case AbstractCode::WASM_TO_JS_FUNCTION:
1482 description = "A Wasm to JavaScript adapter"; 1482 description = "A Wasm to JavaScript adapter";
1483 tag = CodeEventListener::STUB_TAG; 1483 tag = CodeEventListener::STUB_TAG;
1484 break; 1484 break;
1485 case AbstractCode::WASM_INTERPRETER_ENTRY:
1486 description = "A Wasm to Interpreter adapter";
1487 tag = CodeEventListener::STUB_TAG;
1488 break;
1485 case AbstractCode::NUMBER_OF_KINDS: 1489 case AbstractCode::NUMBER_OF_KINDS:
1486 UNIMPLEMENTED(); 1490 UNIMPLEMENTED();
1487 } 1491 }
1488 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description)); 1492 PROFILE(isolate_, CodeCreateEvent(tag, code_object, description));
1489 } 1493 }
1490 1494
1491 1495
1492 void Logger::LogCodeObjects() { 1496 void Logger::LogCodeObjects() {
1493 Heap* heap = isolate_->heap(); 1497 Heap* heap = isolate_->heap();
1494 HeapIterator iterator(heap); 1498 HeapIterator iterator(heap);
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
1793 1797
1794 if (profiler_listener_.get() != nullptr) { 1798 if (profiler_listener_.get() != nullptr) {
1795 removeCodeEventListener(profiler_listener_.get()); 1799 removeCodeEventListener(profiler_listener_.get());
1796 } 1800 }
1797 1801
1798 return log_->Close(); 1802 return log_->Close();
1799 } 1803 }
1800 1804
1801 } // namespace internal 1805 } // namespace internal
1802 } // namespace v8 1806 } // 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