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

Unified Diff: test/cctest/compiler/test-gap-resolver.cc

Issue 904693002: [turbofan] Remove global InstructionOperand caches. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « src/v8.cc ('k') | test/cctest/compiler/test-jump-threading.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/compiler/test-gap-resolver.cc
diff --git a/test/cctest/compiler/test-gap-resolver.cc b/test/cctest/compiler/test-gap-resolver.cc
index ea6f4ee8307966519968862faefa9d45c8aeb4a9..818a0bd23873a938547a98975f223e0dd8e643fc 100644
--- a/test/cctest/compiler/test-gap-resolver.cc
+++ b/test/cctest/compiler/test-gap-resolver.cc
@@ -137,15 +137,15 @@ class ParallelMoveCreator : public HandleAndZoneScope {
int index = rng_->NextInt(6);
switch (rng_->NextInt(5)) {
case 0:
- return ConstantOperand::Create(index, main_zone());
+ return ConstantOperand::New(index, main_zone());
case 1:
- return StackSlotOperand::Create(index, main_zone());
+ return StackSlotOperand::New(index, main_zone());
case 2:
- return DoubleStackSlotOperand::Create(index, main_zone());
+ return DoubleStackSlotOperand::New(index, main_zone());
case 3:
- return RegisterOperand::Create(index, main_zone());
+ return RegisterOperand::New(index, main_zone());
case 4:
- return DoubleRegisterOperand::Create(index, main_zone());
+ return DoubleRegisterOperand::New(index, main_zone());
}
UNREACHABLE();
return NULL;
« no previous file with comments | « src/v8.cc ('k') | test/cctest/compiler/test-jump-threading.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698