Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 5c007ee2624704b82e13061fbe466fb8889d2c1c..09304de59d18ee4de96e2efe0dde29af3c7d54d4 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -4895,7 +4895,7 @@ class Code : public Object { |
intptr_t pc_offset, |
GrowableArray<const Function*>* functions, |
GrowableArray<TokenPosition>* token_positions) const; |
- // Same as above, expect the pc is intepreted as a return address (as needed |
+ // Same as above, expect the pc is interpreted as a return address (as needed |
// for a stack trace or the bottom frames of a profiler sample). |
void GetInlinedFunctionsAtReturnAddress( |
intptr_t pc_offset, |
@@ -5649,7 +5649,7 @@ class Instance : public Object { |
static intptr_t NextFieldOffset() { return sizeof(RawInstance); } |
- // The follwoing raw methods are used for morphing. |
+ // The following raw methods are used for morphing. |
// They are needed due to the extraction of the class in IsValidFieldOffset. |
RawObject** RawFieldAddrAtOffset(intptr_t offset) const { |
return reinterpret_cast<RawObject**>(raw_value() - kHeapObjectTag + offset); |