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

Unified Diff: src/d8.cc

Issue 1773653002: [strong] Remove all remainders of strong mode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Oversight Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index 9d4b3af98c732c542fc126a351047e289c661a10..c70ff42dc7b511692260b3b4e09f6269424ee430 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -1058,20 +1058,7 @@ void Shell::AddHistogramSample(void* histogram, int sample) {
}
-class NoUseStrongForUtilityScriptScope {
- public:
- NoUseStrongForUtilityScriptScope() : flag_(i::FLAG_use_strong) {
- i::FLAG_use_strong = false;
- }
- ~NoUseStrongForUtilityScriptScope() { i::FLAG_use_strong = flag_; }
-
- private:
- bool flag_;
-};
-
-
void Shell::InstallUtilityScript(Isolate* isolate) {
- NoUseStrongForUtilityScriptScope no_use_strong;
HandleScope scope(isolate);
// If we use the utility context, we have to set the security tokens so that
// utility, evaluation and debug context can all access each other.
« no previous file with comments | « src/crankshaft/hydrogen.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698