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

Unified Diff: src/lexer/experimental-scanner.cc

Issue 99243002: Experimental scanner multithreading fix. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: oops Created 7 years 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/lexer/experimental-scanner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/experimental-scanner.cc
diff --git a/src/lexer/experimental-scanner.cc b/src/lexer/experimental-scanner.cc
index a314e63e0959f41562f09fb284cb613a8f60f010..d354908e6c4619d134af34616e08c6a670ee2f78 100644
--- a/src/lexer/experimental-scanner.cc
+++ b/src/lexer/experimental-scanner.cc
@@ -30,17 +30,6 @@
namespace v8 {
namespace internal {
-std::set<ScannerBase*>* ScannerBase::scanners_ = NULL;
-
-void ScannerBase::UpdateBuffersAfterGC(v8::Isolate*, GCType, GCCallbackFlags) {
- if (!scanners_) return;
- for (std::set<ScannerBase*>::const_iterator it = scanners_->begin();
- it != scanners_->end();
- ++it)
- (*it)->SetBufferBasedOnHandle();
-}
-
-
template<>
const uint8_t* ExperimentalScanner<uint8_t>::GetNewBufferBasedOnHandle() const {
String::FlatContent content = source_handle_->GetFlatContent();
« no previous file with comments | « src/lexer/experimental-scanner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698