| 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 | 611 |
| 612 | 612 |
| 613 template <> | 613 template <> |
| 614 HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { | 614 HValue* CodeStubGraphBuilder<TransitionElementsKindStub>::BuildCodeStub() { |
| 615 info()->MarkAsSavesCallerDoubles(); | 615 info()->MarkAsSavesCallerDoubles(); |
| 616 | 616 |
| 617 BuildTransitionElementsKind(GetParameter(0), | 617 BuildTransitionElementsKind(GetParameter(0), |
| 618 GetParameter(1), | 618 GetParameter(1), |
| 619 casted_stub()->from_kind(), | 619 casted_stub()->from_kind(), |
| 620 casted_stub()->to_kind(), | 620 casted_stub()->to_kind(), |
| 621 true); | 621 casted_stub()->is_js_array()); |
| 622 | 622 |
| 623 return GetParameter(0); | 623 return GetParameter(0); |
| 624 } | 624 } |
| 625 | 625 |
| 626 | 626 |
| 627 Handle<Code> TransitionElementsKindStub::GenerateCode(Isolate* isolate) { | 627 Handle<Code> TransitionElementsKindStub::GenerateCode(Isolate* isolate) { |
| 628 return DoGenerateCode(isolate, this); | 628 return DoGenerateCode(isolate, this); |
| 629 } | 629 } |
| 630 | 630 |
| 631 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( | 631 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( |
| (...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1399 return BuildRegExpConstructResult(length, index, input); | 1399 return BuildRegExpConstructResult(length, index, input); |
| 1400 } | 1400 } |
| 1401 | 1401 |
| 1402 | 1402 |
| 1403 Handle<Code> RegExpConstructResultStub::GenerateCode(Isolate* isolate) { | 1403 Handle<Code> RegExpConstructResultStub::GenerateCode(Isolate* isolate) { |
| 1404 return DoGenerateCode(isolate, this); | 1404 return DoGenerateCode(isolate, this); |
| 1405 } | 1405 } |
| 1406 | 1406 |
| 1407 | 1407 |
| 1408 } } // namespace v8::internal | 1408 } } // namespace v8::internal |
| OLD | NEW |