Index: test/cctest/test-code-stub-assembler.cc |
diff --git a/test/cctest/test-code-stub-assembler.cc b/test/cctest/test-code-stub-assembler.cc |
index 80bc83071df1a578b096cc7b30c3416153703e72..588f4301315af2560cb315b3b38a6c29e9f990f8 100644 |
--- a/test/cctest/test-code-stub-assembler.cc |
+++ b/test/cctest/test-code-stub-assembler.cc |
@@ -173,7 +173,7 @@ TEST(TryToName) { |
{ |
// TryToName(<zero smi>) => if_keyisindex: smi value. |
- Handle<Object> key(Smi::kZero, isolate); |
+ Handle<Object> key(Smi::FromInt(0), isolate); |
ft.CheckTrue(key, expect_index, key); |
} |
@@ -944,7 +944,7 @@ TEST(TryLookupElement) { |
FunctionTester ft(code, kNumParams); |
Factory* factory = isolate->factory(); |
- Handle<Object> smi0(Smi::kZero, isolate); |
+ Handle<Object> smi0(Smi::FromInt(0), isolate); |
Handle<Object> smi1(Smi::FromInt(1), isolate); |
Handle<Object> smi7(Smi::FromInt(7), isolate); |
Handle<Object> smi13(Smi::FromInt(13), isolate); |