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

Side by Side Diff: src/x64/full-codegen-x64.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/runtime.cc ('k') | src/x64/lithium-codegen-x64.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_X64 7 #if V8_TARGET_ARCH_X64
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 3213 matching lines...) Expand 10 before | Expand all | Expand 10 after
3224 __ j(not_equal, &non_function_constructor); 3224 __ j(not_equal, &non_function_constructor);
3225 3225
3226 // rax now contains the constructor function. Grab the 3226 // rax now contains the constructor function. Grab the
3227 // instance class name from there. 3227 // instance class name from there.
3228 __ movp(rax, FieldOperand(rax, JSFunction::kSharedFunctionInfoOffset)); 3228 __ movp(rax, FieldOperand(rax, JSFunction::kSharedFunctionInfoOffset));
3229 __ movp(rax, FieldOperand(rax, SharedFunctionInfo::kInstanceClassNameOffset)); 3229 __ movp(rax, FieldOperand(rax, SharedFunctionInfo::kInstanceClassNameOffset));
3230 __ jmp(&done); 3230 __ jmp(&done);
3231 3231
3232 // Functions have class 'Function'. 3232 // Functions have class 'Function'.
3233 __ bind(&function); 3233 __ bind(&function);
3234 __ Move(rax, isolate()->factory()->function_class_string()); 3234 __ Move(rax, isolate()->factory()->Function_string());
3235 __ jmp(&done); 3235 __ jmp(&done);
3236 3236
3237 // Objects with a non-function constructor have class 'Object'. 3237 // Objects with a non-function constructor have class 'Object'.
3238 __ bind(&non_function_constructor); 3238 __ bind(&non_function_constructor);
3239 __ Move(rax, isolate()->factory()->Object_string()); 3239 __ Move(rax, isolate()->factory()->Object_string());
3240 __ jmp(&done); 3240 __ jmp(&done);
3241 3241
3242 // Non-JS objects have class null. 3242 // Non-JS objects have class null.
3243 __ bind(&null); 3243 __ bind(&null);
3244 __ LoadRoot(rax, Heap::kNullValueRootIndex); 3244 __ LoadRoot(rax, Heap::kNullValueRootIndex);
(...skipping 1587 matching lines...) Expand 10 before | Expand all | Expand 10 after
4832 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(), 4832 DCHECK_EQ(isolate->builtins()->OsrAfterStackCheck()->entry(),
4833 Assembler::target_address_at(call_target_address, 4833 Assembler::target_address_at(call_target_address,
4834 unoptimized_code)); 4834 unoptimized_code));
4835 return OSR_AFTER_STACK_CHECK; 4835 return OSR_AFTER_STACK_CHECK;
4836 } 4836 }
4837 4837
4838 4838
4839 } } // namespace v8::internal 4839 } } // namespace v8::internal
4840 4840
4841 #endif // V8_TARGET_ARCH_X64 4841 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698