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

Side by Side Diff: src/mips64/full-codegen-mips64.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/mips/lithium-codegen-mips.cc ('k') | src/mips64/lithium-codegen-mips64.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/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_MIPS64 7 #if V8_TARGET_ARCH_MIPS64
8 8
9 // Note on Mips implementation: 9 // Note on Mips implementation:
10 // 10 //
(...skipping 3296 matching lines...) Expand 10 before | Expand all | Expand 10 after
3307 __ Branch(&non_function_constructor, ne, a1, Operand(JS_FUNCTION_TYPE)); 3307 __ Branch(&non_function_constructor, ne, a1, Operand(JS_FUNCTION_TYPE));
3308 3308
3309 // v0 now contains the constructor function. Grab the 3309 // v0 now contains the constructor function. Grab the
3310 // instance class name from there. 3310 // instance class name from there.
3311 __ ld(v0, FieldMemOperand(v0, JSFunction::kSharedFunctionInfoOffset)); 3311 __ ld(v0, FieldMemOperand(v0, JSFunction::kSharedFunctionInfoOffset));
3312 __ ld(v0, FieldMemOperand(v0, SharedFunctionInfo::kInstanceClassNameOffset)); 3312 __ ld(v0, FieldMemOperand(v0, SharedFunctionInfo::kInstanceClassNameOffset));
3313 __ Branch(&done); 3313 __ Branch(&done);
3314 3314
3315 // Functions have class 'Function'. 3315 // Functions have class 'Function'.
3316 __ bind(&function); 3316 __ bind(&function);
3317 __ LoadRoot(v0, Heap::kfunction_class_stringRootIndex); 3317 __ LoadRoot(v0, Heap::kFunction_stringRootIndex);
3318 __ jmp(&done); 3318 __ jmp(&done);
3319 3319
3320 // Objects with a non-function constructor have class 'Object'. 3320 // Objects with a non-function constructor have class 'Object'.
3321 __ bind(&non_function_constructor); 3321 __ bind(&non_function_constructor);
3322 __ LoadRoot(v0, Heap::kObject_stringRootIndex); 3322 __ LoadRoot(v0, Heap::kObject_stringRootIndex);
3323 __ jmp(&done); 3323 __ jmp(&done);
3324 3324
3325 // Non-JS objects have class null. 3325 // Non-JS objects have class null.
3326 __ bind(&null); 3326 __ bind(&null);
3327 __ LoadRoot(v0, Heap::kNullValueRootIndex); 3327 __ LoadRoot(v0, Heap::kNullValueRootIndex);
(...skipping 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after
4879 Assembler::target_address_at(pc_immediate_load_address)) == 4879 Assembler::target_address_at(pc_immediate_load_address)) ==
4880 reinterpret_cast<uint64_t>( 4880 reinterpret_cast<uint64_t>(
4881 isolate->builtins()->OsrAfterStackCheck()->entry())); 4881 isolate->builtins()->OsrAfterStackCheck()->entry()));
4882 return OSR_AFTER_STACK_CHECK; 4882 return OSR_AFTER_STACK_CHECK;
4883 } 4883 }
4884 4884
4885 4885
4886 } } // namespace v8::internal 4886 } } // namespace v8::internal
4887 4887
4888 #endif // V8_TARGET_ARCH_MIPS64 4888 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698