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

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

Powered by Google App Engine
This is Rietveld 408576698