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

Unified Diff: test/cctest/cctest.h

Issue 178223011: Reset trunk to 3.24.35.4 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 6 years, 10 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 | « test/benchmarks/benchmarks.status ('k') | test/cctest/cctest.gyp » ('j') | 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 a4991a5a19711f8d71c2a38a151b9c953d815aac..d9f76294e1a5d432db4b2fdf9127d39630a02e00 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -315,18 +315,6 @@ static inline v8::Local<v8::Value> CompileRun(const char* source) {
}
-static inline v8::Local<v8::Value> PreCompileCompileRun(const char* source) {
- v8::Local<v8::String> script_source =
- v8::String::NewFromUtf8(v8::Isolate::GetCurrent(), source);
- v8::ScriptData* preparse = v8::ScriptData::PreCompile(script_source);
- v8::Local<v8::Script> script =
- v8::Script::Compile(script_source, NULL, preparse);
- v8::Local<v8::Value> result = script->Run();
- delete preparse;
- return result;
-}
-
-
// Helper function that compiles and runs the source with given origin.
static inline v8::Local<v8::Value> CompileRunWithOrigin(const char* source,
const char* origin_url,
« no previous file with comments | « test/benchmarks/benchmarks.status ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698