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

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

Issue 471923002: Purge unused internalized string accessors. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.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 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 2997 matching lines...) Expand 10 before | Expand all | Expand 10 after
3008 3008
3009 // x12 now contains the constructor function. Grab the 3009 // x12 now contains the constructor function. Grab the
3010 // instance class name from there. 3010 // instance class name from there.
3011 __ Ldr(x13, FieldMemOperand(x12, JSFunction::kSharedFunctionInfoOffset)); 3011 __ Ldr(x13, FieldMemOperand(x12, JSFunction::kSharedFunctionInfoOffset));
3012 __ Ldr(x0, 3012 __ Ldr(x0,
3013 FieldMemOperand(x13, SharedFunctionInfo::kInstanceClassNameOffset)); 3013 FieldMemOperand(x13, SharedFunctionInfo::kInstanceClassNameOffset));
3014 __ B(&done); 3014 __ B(&done);
3015 3015
3016 // Functions have class 'Function'. 3016 // Functions have class 'Function'.
3017 __ Bind(&function); 3017 __ Bind(&function);
3018 __ LoadRoot(x0, Heap::kfunction_class_stringRootIndex); 3018 __ LoadRoot(x0, Heap::kFunction_stringRootIndex);
3019 __ B(&done); 3019 __ B(&done);
3020 3020
3021 // Objects with a non-function constructor have class 'Object'. 3021 // Objects with a non-function constructor have class 'Object'.
3022 __ Bind(&non_function_constructor); 3022 __ Bind(&non_function_constructor);
3023 __ LoadRoot(x0, Heap::kObject_stringRootIndex); 3023 __ LoadRoot(x0, Heap::kObject_stringRootIndex);
3024 __ B(&done); 3024 __ B(&done);
3025 3025
3026 // Non-JS objects have class null. 3026 // Non-JS objects have class null.
3027 __ Bind(&null); 3027 __ Bind(&null);
3028 __ LoadRoot(x0, Heap::kNullValueRootIndex); 3028 __ LoadRoot(x0, Heap::kNullValueRootIndex);
(...skipping 1883 matching lines...) Expand 10 before | Expand all | Expand 10 after
4912 return previous_; 4912 return previous_;
4913 } 4913 }
4914 4914
4915 4915
4916 #undef __ 4916 #undef __
4917 4917
4918 4918
4919 } } // namespace v8::internal 4919 } } // namespace v8::internal
4920 4920
4921 #endif // V8_TARGET_ARCH_ARM64 4921 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698