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

Side by Side Diff: src/code-stubs.cc

Issue 1221713003: Distinguish slow from fast sloppy arguments (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « src/bootstrapper.cc ('k') | src/code-stubs-hydrogen.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/code-stubs.h" 5 #include "src/code-stubs.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/cpu-profiler.h" 10 #include "src/cpu-profiler.h"
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 case EXTERNAL_##TYPE##_ELEMENTS: \ 801 case EXTERNAL_##TYPE##_ELEMENTS: \
802 case TYPE##_ELEMENTS: 802 case TYPE##_ELEMENTS:
803 803
804 TYPED_ARRAYS(TYPED_ARRAY_CASE) 804 TYPED_ARRAYS(TYPED_ARRAY_CASE)
805 #undef TYPED_ARRAY_CASE 805 #undef TYPED_ARRAY_CASE
806 UNREACHABLE(); 806 UNREACHABLE();
807 break; 807 break;
808 case DICTIONARY_ELEMENTS: 808 case DICTIONARY_ELEMENTS:
809 ElementHandlerCompiler::GenerateStoreSlow(masm); 809 ElementHandlerCompiler::GenerateStoreSlow(masm);
810 break; 810 break;
811 case SLOPPY_ARGUMENTS_ELEMENTS: 811 case FAST_SLOPPY_ARGUMENTS_ELEMENTS:
812 case SLOW_SLOPPY_ARGUMENTS_ELEMENTS:
812 UNREACHABLE(); 813 UNREACHABLE();
813 break; 814 break;
814 } 815 }
815 } 816 }
816 817
817 818
818 // static 819 // static
819 void StoreFastElementStub::GenerateAheadOfTime(Isolate* isolate) { 820 void StoreFastElementStub::GenerateAheadOfTime(Isolate* isolate) {
820 StoreFastElementStub(isolate, false, FAST_HOLEY_ELEMENTS, STANDARD_STORE) 821 StoreFastElementStub(isolate, false, FAST_HOLEY_ELEMENTS, STANDARD_STORE)
821 .GetCode(); 822 .GetCode();
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 1059
1059 if (type->Is(Type::UntaggedPointer())) { 1060 if (type->Is(Type::UntaggedPointer())) {
1060 return Representation::External(); 1061 return Representation::External();
1061 } 1062 }
1062 1063
1063 DCHECK(!type->Is(Type::Untagged())); 1064 DCHECK(!type->Is(Type::Untagged()));
1064 return Representation::Tagged(); 1065 return Representation::Tagged();
1065 } 1066 }
1066 } // namespace internal 1067 } // namespace internal
1067 } // namespace v8 1068 } // namespace v8
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698