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

Unified Diff: test/cctest/test-code-stubs-mips64.cc

Issue 1468943002: Remove v8::i::Isolate::Current from cctests (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 1 month 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/cctest/test-code-stubs-mips.cc ('k') | test/cctest/test-disasm-arm64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-code-stubs-mips64.cc
diff --git a/test/cctest/test-code-stubs-mips64.cc b/test/cctest/test-code-stubs-mips64.cc
index d8b047b0f0df78d5ce809123a05955db38953447..7b40d44c483ea27b860c6bdda3225da16832f45e 100644
--- a/test/cctest/test-code-stubs-mips64.cc
+++ b/test/cctest/test-code-stubs-mips64.cc
@@ -157,9 +157,10 @@ static Isolate* GetIsolateFrom(LocalContext* context) {
int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func,
double from) {
#ifdef USE_SIMULATOR
- Simulator::current(Isolate::Current())->CallFP(FUNCTION_ADDR(func), from, 0.);
+ Simulator::current(CcTest::i_isolate())
+ ->CallFP(FUNCTION_ADDR(func), from, 0.);
return static_cast<int32_t>(
- Simulator::current(Isolate::Current())->get_register(v0.code()));
+ Simulator::current(CcTest::i_isolate())->get_register(v0.code()));
#else
return (*func)(from);
#endif
« no previous file with comments | « test/cctest/test-code-stubs-mips.cc ('k') | test/cctest/test-disasm-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698