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

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

Issue 1925073002: Revert of [turbofan] Run everything after representation selection concurrently. (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/compiler/change-lowering.h » ('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 1271 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 casted_stub()->is_js_array()); 1282 casted_stub()->is_js_array());
1283 1283
1284 return GetParameter(0); 1284 return GetParameter(0);
1285 } 1285 }
1286 1286
1287 1287
1288 Handle<Code> TransitionElementsKindStub::GenerateCode() { 1288 Handle<Code> TransitionElementsKindStub::GenerateCode() {
1289 return DoGenerateCode(this); 1289 return DoGenerateCode(this);
1290 } 1290 }
1291 1291
1292 template <>
1293 HValue* CodeStubGraphBuilder<AllocateStub>::BuildCodeStub() {
1294 HValue* result =
1295 Add<HAllocate>(GetParameter(0), HType::Tagged(),
1296 casted_stub()->pretenure_flag(), JS_OBJECT_TYPE);
1297 return result;
1298 }
1299
1300 Handle<Code> AllocateStub::GenerateCode() { return DoGenerateCode(this); }
1301
1292 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor( 1302 HValue* CodeStubGraphBuilderBase::BuildArrayConstructor(
1293 ElementsKind kind, 1303 ElementsKind kind,
1294 AllocationSiteOverrideMode override_mode, 1304 AllocationSiteOverrideMode override_mode,
1295 ArgumentClass argument_class) { 1305 ArgumentClass argument_class) {
1296 HValue* constructor = GetParameter(ArrayConstructorStubBase::kConstructor); 1306 HValue* constructor = GetParameter(ArrayConstructorStubBase::kConstructor);
1297 HValue* alloc_site = GetParameter(ArrayConstructorStubBase::kAllocationSite); 1307 HValue* alloc_site = GetParameter(ArrayConstructorStubBase::kAllocationSite);
1298 JSArrayBuilder array_builder(this, kind, alloc_site, constructor, 1308 JSArrayBuilder array_builder(this, kind, alloc_site, constructor,
1299 override_mode); 1309 override_mode);
1300 HValue* result = NULL; 1310 HValue* result = NULL;
1301 switch (argument_class) { 1311 switch (argument_class) {
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
2282 return Pop(); 2292 return Pop();
2283 } 2293 }
2284 2294
2285 2295
2286 Handle<Code> KeyedLoadGenericStub::GenerateCode() { 2296 Handle<Code> KeyedLoadGenericStub::GenerateCode() {
2287 return DoGenerateCode(this); 2297 return DoGenerateCode(this);
2288 } 2298 }
2289 2299
2290 } // namespace internal 2300 } // namespace internal
2291 } // namespace v8 2301 } // namespace v8
OLDNEW
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/change-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698