Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 0fa8ffa9e173b46531baf06479f3a1ecde821a50..ac748eefc5ffe483e43553a0b6278483f912e00b 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -1057,6 +1057,8 @@ class Object : public MaybeObject { |
| // Extract the number. |
| inline double Number(); |
| inline bool IsNaN(); |
| + bool ToInt32(int32_t* value); |
| + bool ToUint32(uint32_t* value); |
| inline Representation OptimalRepresentation() { |
| if (FLAG_track_fields && IsSmi()) { |