Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(198)

Side by Side Diff: src/code-stubs-hydrogen.cc

Issue 1948433002: [stubs] Convert InternalArrayNoArgumentsConstructor to a TurboFan stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/code-stubs.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698