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

Side by Side Diff: src/ia32/full-codegen-ia32.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/hydrogen-instructions.cc ('k') | src/ia32/lithium-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 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_IA32 7 #if V8_TARGET_ARCH_IA32
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 3229 matching lines...) Expand 10 before | Expand all | Expand 10 after
3240 __ j(not_equal, &non_function_constructor); 3240 __ j(not_equal, &non_function_constructor);
3241 3241
3242 // eax now contains the constructor function. Grab the 3242 // eax now contains the constructor function. Grab the
3243 // instance class name from there. 3243 // instance class name from there.
3244 __ mov(eax, FieldOperand(eax, JSFunction::kSharedFunctionInfoOffset)); 3244 __ mov(eax, FieldOperand(eax, JSFunction::kSharedFunctionInfoOffset));
3245 __ mov(eax, FieldOperand(eax, SharedFunctionInfo::kInstanceClassNameOffset)); 3245 __ mov(eax, FieldOperand(eax, SharedFunctionInfo::kInstanceClassNameOffset));
3246 __ jmp(&done); 3246 __ jmp(&done);
3247 3247
3248 // Functions have class 'Function'. 3248 // Functions have class 'Function'.
3249 __ bind(&function); 3249 __ bind(&function);
3250 __ mov(eax, isolate()->factory()->function_class_string()); 3250 __ mov(eax, isolate()->factory()->Function_string());
3251 __ jmp(&done); 3251 __ jmp(&done);
3252 3252
3253 // Objects with a non-function constructor have class 'Object'. 3253 // Objects with a non-function constructor have class 'Object'.
3254 __ bind(&non_function_constructor); 3254 __ bind(&non_function_constructor);
3255 __ mov(eax, isolate()->factory()->Object_string()); 3255 __ mov(eax, isolate()->factory()->Object_string());
3256 __ jmp(&done); 3256 __ jmp(&done);
3257 3257
3258 // Non-JS objects have class null. 3258 // Non-JS objects have class null.
3259 __ bind(&null); 3259 __ bind(&null);
3260 __ mov(eax, isolate()->factory()->null_value()); 3260 __ mov(eax, isolate()->factory()->null_value());
(...skipping 1564 matching lines...) Expand 10 before | Expand all | Expand 10 after
4825 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 4825 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
4826 Assembler::target_address_at(call_target_address, 4826 Assembler::target_address_at(call_target_address,
4827 unoptimized_code)); 4827 unoptimized_code));
4828 return OSR_AFTER_STACK_CHECK; 4828 return OSR_AFTER_STACK_CHECK;
4829 } 4829 }
4830 4830
4831 4831
4832 } } // namespace v8::internal 4832 } } // namespace v8::internal
4833 4833
4834 #endif // V8_TARGET_ARCH_IA32 4834 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698