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

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

Issue 2473643002: Revert of [turbofan] Support variable size argument popping in TF-generated functions (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | src/compiler/arm/code-generator-arm.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 <sstream> 7 #include <sstream>
8 8
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 2873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2884 assembler->Comment("fast double elements path"); 2884 assembler->Comment("fast double elements path");
2885 if (FLAG_debug_code) { 2885 if (FLAG_debug_code) {
2886 Label correct_elements_map(assembler), abort(assembler, Label::kDeferred); 2886 Label correct_elements_map(assembler), abort(assembler, Label::kDeferred);
2887 assembler->Branch(assembler->IsFixedDoubleArrayMap(elements_map), 2887 assembler->Branch(assembler->IsFixedDoubleArrayMap(elements_map),
2888 &correct_elements_map, &abort); 2888 &correct_elements_map, &abort);
2889 2889
2890 assembler->Bind(&abort); 2890 assembler->Bind(&abort);
2891 { 2891 {
2892 Node* abort_id = assembler->SmiConstant( 2892 Node* abort_id = assembler->SmiConstant(
2893 Smi::FromInt(BailoutReason::kExpectedFixedDoubleArrayMap)); 2893 Smi::FromInt(BailoutReason::kExpectedFixedDoubleArrayMap));
2894 assembler->CallRuntime(Runtime::kAbort, context, abort_id); 2894 assembler->TailCallRuntime(Runtime::kAbort, context, abort_id);
2895 result.Bind(assembler->UndefinedConstant());
2896 assembler->Goto(&return_result);
2897 } 2895 }
2898 assembler->Bind(&correct_elements_map); 2896 assembler->Bind(&correct_elements_map);
2899 } 2897 }
2900 2898
2901 Node* array = NonEmptyShallowClone(assembler, boilerplate, boilerplate_map, 2899 Node* array = NonEmptyShallowClone(assembler, boilerplate, boilerplate_map,
2902 boilerplate_elements, allocation_site, 2900 boilerplate_elements, allocation_site,
2903 capacity, FAST_DOUBLE_ELEMENTS); 2901 capacity, FAST_DOUBLE_ELEMENTS);
2904 result.Bind(array); 2902 result.Bind(array);
2905 assembler->Goto(&return_result); 2903 assembler->Goto(&return_result);
2906 } 2904 }
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
3319 3317
3320 if (type == MachineType::Pointer()) { 3318 if (type == MachineType::Pointer()) {
3321 return Representation::External(); 3319 return Representation::External();
3322 } 3320 }
3323 3321
3324 return Representation::Tagged(); 3322 return Representation::Tagged();
3325 } 3323 }
3326 3324
3327 } // namespace internal 3325 } // namespace internal
3328 } // namespace v8 3326 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm/code-generator-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698