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

Side by Side Diff: src/full-codegen/arm64/full-codegen-arm64.cc

Issue 1552473002: Revert of [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@FunctionConstructor
Patch Set: Created 4 years, 12 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/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #if V8_TARGET_ARCH_ARM64 5 #if V8_TARGET_ARCH_ARM64
6 6
7 #include "src/ast/scopes.h" 7 #include "src/ast/scopes.h"
8 #include "src/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 2848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2859 VisitForAccumulatorValue(args->at(0)); 2859 VisitForAccumulatorValue(args->at(0));
2860 2860
2861 Label materialize_true, materialize_false; 2861 Label materialize_true, materialize_false;
2862 Label* if_true = NULL; 2862 Label* if_true = NULL;
2863 Label* if_false = NULL; 2863 Label* if_false = NULL;
2864 Label* fall_through = NULL; 2864 Label* fall_through = NULL;
2865 context()->PrepareTest(&materialize_true, &materialize_false, 2865 context()->PrepareTest(&materialize_true, &materialize_false,
2866 &if_true, &if_false, &fall_through); 2866 &if_true, &if_false, &fall_through);
2867 2867
2868 __ JumpIfSmi(x0, if_false); 2868 __ JumpIfSmi(x0, if_false);
2869 __ CompareObjectType(x0, x10, x11, FIRST_FUNCTION_TYPE); 2869 __ CompareObjectType(x0, x10, x11, JS_FUNCTION_TYPE);
2870 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false); 2870 PrepareForBailoutBeforeSplit(expr, true, if_true, if_false);
2871 Split(hs, if_true, if_false, fall_through); 2871 Split(eq, if_true, if_false, fall_through);
2872 2872
2873 context()->Plug(if_true, if_false); 2873 context()->Plug(if_true, if_false);
2874 } 2874 }
2875 2875
2876 2876
2877 void FullCodeGenerator::EmitIsMinusZero(CallRuntime* expr) { 2877 void FullCodeGenerator::EmitIsMinusZero(CallRuntime* expr) {
2878 ZoneList<Expression*>* args = expr->arguments(); 2878 ZoneList<Expression*>* args = expr->arguments();
2879 DCHECK(args->length() == 1); 2879 DCHECK(args->length() == 1);
2880 2880
2881 VisitForAccumulatorValue(args->at(0)); 2881 VisitForAccumulatorValue(args->at(0));
(...skipping 2013 matching lines...) Expand 10 before | Expand all | Expand 10 after
4895 } 4895 }
4896 4896
4897 return INTERRUPT; 4897 return INTERRUPT;
4898 } 4898 }
4899 4899
4900 4900
4901 } // namespace internal 4901 } // namespace internal
4902 } // namespace v8 4902 } // namespace v8
4903 4903
4904 #endif // V8_TARGET_ARCH_ARM64 4904 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/full-codegen/arm/full-codegen-arm.cc ('k') | src/full-codegen/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698