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

Unified Diff: src/assembler.cc

Issue 1474323002: Delete Assembler::FlushICacheWithoutIsolate (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 1 month 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/assembler.h ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/assembler.cc
diff --git a/src/assembler.cc b/src/assembler.cc
index 012a0687e8f07f2bfe675feec95bf5456f383406..4f5de79b3e86e5d96e7a7e6dcc4969b5929b9f92 100644
--- a/src/assembler.cc
+++ b/src/assembler.cc
@@ -205,19 +205,6 @@ void AssemblerBase::FlushICache(Isolate* isolate, void* start, size_t size) {
}
-void AssemblerBase::FlushICacheWithoutIsolate(void* start, size_t size) {
- // Ideally we would just call Isolate::Current() here. However, this flushes
- // out issues because we usually only need the isolate when in the simulator.
- Isolate* isolate;
-#if defined(USE_SIMULATOR)
- isolate = Isolate::Current();
-#else
- isolate = nullptr;
-#endif // USE_SIMULATOR
- FlushICache(isolate, start, size);
-}
-
-
void AssemblerBase::Print() {
OFStream os(stdout);
v8::internal::Disassembler::Decode(isolate(), &os, buffer_, pc_, nullptr);
« no previous file with comments | « src/assembler.h ('k') | src/full-codegen/arm/full-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698