Index: runtime/lib/integers.cc |
diff --git a/runtime/lib/integers.cc b/runtime/lib/integers.cc |
index e75ecab7787a873a7bf2fc5f970a896cf4b2fd0c..3874ae5ad9f1c51f4b2ac0ec59f571e32aa7489f 100644 |
--- a/runtime/lib/integers.cc |
+++ b/runtime/lib/integers.cc |
@@ -244,7 +244,7 @@ DEFINE_NATIVE_ENTRY(Integer_fromEnvironment, 3) { |
if (result.IsSmi()) { |
return result.raw(); |
} |
- return result.CheckAndCanonicalize(NULL); |
+ return result.CheckAndCanonicalize(thread, NULL); |
} |
} |
return default_value.raw(); |