Chromium Code Reviews| Index: src/hydrogen-instructions.h |
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
| index d866630b19ad944c9deb4201bdc52eda49d310ee..451bff64162d5344651607827d2324c94b45931a 100644 |
| --- a/src/hydrogen-instructions.h |
| +++ b/src/hydrogen-instructions.h |
| @@ -3491,6 +3491,14 @@ class HConstant FINAL : public HTemplateInstruction<0> { |
| zone, context, value, representation)); |
| } |
| + virtual Handle<Map> GetMonomorphicJSObjectMap() { |
|
Jarin
2014/09/03 11:51:42
Should not this say OVERRIDE?
|
| + Handle<Object> object = object_.handle(); |
| + if (object->IsHeapObject()) { |
| + return v8::internal::handle(HeapObject::cast(*object)->map()); |
| + } |
| + return Handle<Map>(); |
| + } |
| + |
| static HConstant* CreateAndInsertBefore(Zone* zone, |
| HValue* context, |
| int32_t value, |