| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/code-stubs.h" | 5 #include "src/code-stubs.h" |
| 6 | 6 |
| 7 #include "src/bailout-reason.h" | 7 #include "src/bailout-reason.h" |
| 8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
| 9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
| 10 #include "src/field-index.h" | 10 #include "src/field-index.h" |
| (...skipping 1425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 | 1436 |
| 1437 | 1437 |
| 1438 template <> | 1438 template <> |
| 1439 HValue* CodeStubGraphBuilder<InternalArrayNoArgumentConstructorStub>:: | 1439 HValue* CodeStubGraphBuilder<InternalArrayNoArgumentConstructorStub>:: |
| 1440 BuildCodeStub() { | 1440 BuildCodeStub() { |
| 1441 ElementsKind kind = casted_stub()->elements_kind(); | 1441 ElementsKind kind = casted_stub()->elements_kind(); |
| 1442 return BuildInternalArrayConstructor(kind, NONE); | 1442 return BuildInternalArrayConstructor(kind, NONE); |
| 1443 } | 1443 } |
| 1444 | 1444 |
| 1445 | 1445 |
| 1446 Handle<Code> InternalArrayNoArgumentConstructorStub::GenerateCode() { | |
| 1447 return DoGenerateCode(this); | |
| 1448 } | |
| 1449 | |
| 1450 | |
| 1451 template <> | 1446 template <> |
| 1452 HValue* CodeStubGraphBuilder<InternalArraySingleArgumentConstructorStub>:: | 1447 HValue* CodeStubGraphBuilder<InternalArraySingleArgumentConstructorStub>:: |
| 1453 BuildCodeStub() { | 1448 BuildCodeStub() { |
| 1454 ElementsKind kind = casted_stub()->elements_kind(); | 1449 ElementsKind kind = casted_stub()->elements_kind(); |
| 1455 return BuildInternalArrayConstructor(kind, SINGLE); | 1450 return BuildInternalArrayConstructor(kind, SINGLE); |
| 1456 } | 1451 } |
| 1457 | 1452 |
| 1458 | 1453 |
| 1459 Handle<Code> InternalArraySingleArgumentConstructorStub::GenerateCode() { | 1454 Handle<Code> InternalArraySingleArgumentConstructorStub::GenerateCode() { |
| 1460 return DoGenerateCode(this); | 1455 return DoGenerateCode(this); |
| (...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2276 return Pop(); | 2271 return Pop(); |
| 2277 } | 2272 } |
| 2278 | 2273 |
| 2279 | 2274 |
| 2280 Handle<Code> KeyedLoadGenericStub::GenerateCode() { | 2275 Handle<Code> KeyedLoadGenericStub::GenerateCode() { |
| 2281 return DoGenerateCode(this); | 2276 return DoGenerateCode(this); |
| 2282 } | 2277 } |
| 2283 | 2278 |
| 2284 } // namespace internal | 2279 } // namespace internal |
| 2285 } // namespace v8 | 2280 } // namespace v8 |
| OLD | NEW |