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

Side by Side Diff: src/arm/lithium-codegen-arm.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/full-codegen-arm.cc ('k') | src/arm64/full-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 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 #include "src/arm/lithium-codegen-arm.h" 7 #include "src/arm/lithium-codegen-arm.h"
8 #include "src/arm/lithium-gap-resolver-arm.h" 8 #include "src/arm/lithium-gap-resolver-arm.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
(...skipping 2671 matching lines...) Expand 10 before | Expand all | Expand 10 after
2682 Handle<String>class_name, 2682 Handle<String>class_name,
2683 Register input, 2683 Register input,
2684 Register temp, 2684 Register temp,
2685 Register temp2) { 2685 Register temp2) {
2686 DCHECK(!input.is(temp)); 2686 DCHECK(!input.is(temp));
2687 DCHECK(!input.is(temp2)); 2687 DCHECK(!input.is(temp2));
2688 DCHECK(!temp.is(temp2)); 2688 DCHECK(!temp.is(temp2));
2689 2689
2690 __ JumpIfSmi(input, is_false); 2690 __ JumpIfSmi(input, is_false);
2691 2691
2692 if (class_name->IsOneByteEqualTo(STATIC_ASCII_VECTOR("Function"))) { 2692 if (String::Equals(isolate()->factory()->Function_string(), class_name)) {
2693 // Assuming the following assertions, we can use the same compares to test 2693 // Assuming the following assertions, we can use the same compares to test
2694 // for both being a function type and being in the object type range. 2694 // for both being a function type and being in the object type range.
2695 STATIC_ASSERT(NUM_OF_CALLABLE_SPEC_OBJECT_TYPES == 2); 2695 STATIC_ASSERT(NUM_OF_CALLABLE_SPEC_OBJECT_TYPES == 2);
2696 STATIC_ASSERT(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE == 2696 STATIC_ASSERT(FIRST_NONCALLABLE_SPEC_OBJECT_TYPE ==
2697 FIRST_SPEC_OBJECT_TYPE + 1); 2697 FIRST_SPEC_OBJECT_TYPE + 1);
2698 STATIC_ASSERT(LAST_NONCALLABLE_SPEC_OBJECT_TYPE == 2698 STATIC_ASSERT(LAST_NONCALLABLE_SPEC_OBJECT_TYPE ==
2699 LAST_SPEC_OBJECT_TYPE - 1); 2699 LAST_SPEC_OBJECT_TYPE - 1);
2700 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE); 2700 STATIC_ASSERT(LAST_SPEC_OBJECT_TYPE == LAST_TYPE);
2701 __ CompareObjectType(input, temp, temp2, FIRST_SPEC_OBJECT_TYPE); 2701 __ CompareObjectType(input, temp, temp2, FIRST_SPEC_OBJECT_TYPE);
2702 __ b(lt, is_false); 2702 __ b(lt, is_false);
(...skipping 3179 matching lines...) Expand 10 before | Expand all | Expand 10 after
5882 __ Push(scope_info); 5882 __ Push(scope_info);
5883 __ push(ToRegister(instr->function())); 5883 __ push(ToRegister(instr->function()));
5884 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5884 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5885 RecordSafepoint(Safepoint::kNoLazyDeopt); 5885 RecordSafepoint(Safepoint::kNoLazyDeopt);
5886 } 5886 }
5887 5887
5888 5888
5889 #undef __ 5889 #undef __
5890 5890
5891 } } // namespace v8::internal 5891 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm64/full-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698