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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 | 638 |
639 | 639 |
640 template <> | 640 template <> |
641 HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { | 641 HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { |
642 info()->MarkAsSavesCallerDoubles(); | 642 info()->MarkAsSavesCallerDoubles(); |
643 | 643 |
644 BuildTransitionElementsKind(GetParameter(0), | 644 BuildTransitionElementsKind(GetParameter(0), |
645 GetParameter(1), | 645 GetParameter(1), |
646 casted_stub()->from_kind(), | 646 casted_stub()->from_kind(), |
647 casted_stub()->to_kind(), | 647 casted_stub()->to_kind(), |
648 true); | 648 casted_stub()->is_js_array()); |
649 | 649 |
650 return GetParameter(0); | 650 return GetParameter(0); |
651 } | 651 } |
652 | 652 |
653 | 653 |
654 Handle<Code> TransitionElementsKindStub::GenerateCode(Isolate* isolate) { | 654 Handle<Code> TransitionElementsKindStub::GenerateCode(Isolate* isolate) { |
655 return DoGenerateCode(isolate, this); | 655 return DoGenerateCode(isolate, this); |
656 } | 656 } |
657 | 657 |
658 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( | 658 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( |
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1430 return BuildRegExpConstructResult(length, index, input); | 1430 return BuildRegExpConstructResult(length, index, input); |
1431 } | 1431 } |
1432 | 1432 |
1433 | 1433 |
1434 Handle<Code> RegExpConstructResultStub::GenerateCode(Isolate* isolate) { | 1434 Handle<Code> RegExpConstructResultStub::GenerateCode(Isolate* isolate) { |
1435 return DoGenerateCode(isolate, this); | 1435 return DoGenerateCode(isolate, this); |
1436 } | 1436 } |
1437 | 1437 |
1438 | 1438 |
1439 } } // namespace v8::internal | 1439 } } // namespace v8::internal |
OLD | NEW |