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

Unified Diff: test/cctest/cctest.h

Issue 11035053: Rollback trunk to bleeding_edge revision 12525 (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 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/testcfg.py ('k') | test/cctest/cctest.status » ('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 f3961a4adc5a4752234b58891e2f25eaa15c89c6..0b935622163d42c35071df0248db65db9093058e 100644
--- a/test/cctest/cctest.h
+++ b/test/cctest/cctest.h
@@ -214,23 +214,4 @@ static inline v8::Local<v8::Value> CompileRun(const char* source) {
}
-// 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,
- int line_number,
- int column_number) {
- v8::ScriptOrigin origin(v8::String::New(origin_url),
- v8::Integer::New(line_number),
- v8::Integer::New(column_number));
- return v8::Script::Compile(v8::String::New(source), &origin)->Run();
-}
-
-
-// Pick a slightly different port to allow tests to be run in parallel.
-static inline int FlagDependentPortOffset() {
- return ::v8::internal::FLAG_crankshaft == false ? 100 :
- ::v8::internal::FLAG_always_opt ? 200 : 0;
-}
-
-
#endif // ifndef CCTEST_H_
« no previous file with comments | « test/benchmarks/testcfg.py ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698