| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 | 652 |
| 653 | 653 |
| 654 template <> | 654 template <> |
| 655 HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { | 655 HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { |
| 656 info()->MarkAsSavesCallerDoubles(); | 656 info()->MarkAsSavesCallerDoubles(); |
| 657 | 657 |
| 658 BuildTransitionElementsKind(GetParameter(0), | 658 BuildTransitionElementsKind(GetParameter(0), |
| 659 GetParameter(1), | 659 GetParameter(1), |
| 660 casted_stub()->from_kind(), | 660 casted_stub()->from_kind(), |
| 661 casted_stub()->to_kind(), | 661 casted_stub()->to_kind(), |
| 662 true); | 662 casted_stub()->is_js_array()); |
| 663 | 663 |
| 664 return GetParameter(0); | 664 return GetParameter(0); |
| 665 } | 665 } |
| 666 | 666 |
| 667 | 667 |
| 668 Handle<Code> TransitionElementsKindStub::GenerateCode(Isolate* isolate) { | 668 Handle<Code> TransitionElementsKindStub::GenerateCode(Isolate* isolate) { |
| 669 return DoGenerateCode(isolate, this); | 669 return DoGenerateCode(isolate, this); |
| 670 } | 670 } |
| 671 | 671 |
| 672 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( | 672 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 return BuildUncheckedDictionaryElementLoad(receiver, key); | 1331 return BuildUncheckedDictionaryElementLoad(receiver, key); |
| 1332 } | 1332 } |
| 1333 | 1333 |
| 1334 | 1334 |
| 1335 Handle<Code> KeyedLoadDictionaryElementStub::GenerateCode(Isolate* isolate) { | 1335 Handle<Code> KeyedLoadDictionaryElementStub::GenerateCode(Isolate* isolate) { |
| 1336 return DoGenerateCode(isolate, this); | 1336 return DoGenerateCode(isolate, this); |
| 1337 } | 1337 } |
| 1338 | 1338 |
| 1339 | 1339 |
| 1340 } } // namespace v8::internal | 1340 } } // namespace v8::internal |
| OLD | NEW |