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

Unified Diff: test/cctest/cctest.h

Issue 1276353003: [api] Delete non-maybe version of CompileModule (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove implementation of deprecated method and unused call from tests Created 5 years, 4 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/api.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/cctest.h
diff --git a/test/cctest/cctest.h b/test/cctest/cctest.h
index ceb9f58157ad9bb471729ee302513c46988572bc..adc5db02b2dcd8c537e53466ecc86a0dc55cf091 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -406,14 +406,6 @@ static inline v8::MaybeLocal<v8::Value> CompileRun(
}
-// Compiles source as an ES6 module.
-static inline v8::Local<v8::Value> CompileRunModule(const char* source) {
- v8::ScriptCompiler::Source script_source(v8_str(source));
- return v8::ScriptCompiler::CompileModule(v8::Isolate::GetCurrent(),
- &script_source)->Run();
-}
-
-
static inline v8::Local<v8::Value> CompileRun(v8::Local<v8::String> source) {
return v8::Script::Compile(source)->Run();
}
« no previous file with comments | « src/api.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698