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

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

Issue 8359014: Create stub and runtime function for ia32 full-codegen array literal element initialization. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 2 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 | « no previous file | src/ia32/code-stubs-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 V(CounterOp) \ 64 V(CounterOp) \
65 V(ArgumentsAccess) \ 65 V(ArgumentsAccess) \
66 V(RegExpConstructResult) \ 66 V(RegExpConstructResult) \
67 V(NumberToString) \ 67 V(NumberToString) \
68 V(CEntry) \ 68 V(CEntry) \
69 V(JSEntry) \ 69 V(JSEntry) \
70 V(KeyedLoadElement) \ 70 V(KeyedLoadElement) \
71 V(KeyedStoreElement) \ 71 V(KeyedStoreElement) \
72 V(DebuggerStatement) \ 72 V(DebuggerStatement) \
73 V(StringDictionaryLookup) \ 73 V(StringDictionaryLookup) \
74 V(ElementsTransitionAndStore) 74 V(ElementsTransitionAndStore) \
75 V(StoreArrayLiteralElement)
75 76
76 // List of code stubs only used on ARM platforms. 77 // List of code stubs only used on ARM platforms.
77 #ifdef V8_TARGET_ARCH_ARM 78 #ifdef V8_TARGET_ARCH_ARM
78 #define CODE_STUB_LIST_ARM(V) \ 79 #define CODE_STUB_LIST_ARM(V) \
79 V(GetProperty) \ 80 V(GetProperty) \
80 V(SetProperty) \ 81 V(SetProperty) \
81 V(InvokeBuiltin) \ 82 V(InvokeBuiltin) \
82 V(RegExpCEntry) \ 83 V(RegExpCEntry) \
83 V(DirectCEntry) 84 V(DirectCEntry)
84 #else 85 #else
(...skipping 972 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 void Generate(MacroAssembler* masm); 1058 void Generate(MacroAssembler* masm);
1058 1059
1059 ElementsKind from_; 1060 ElementsKind from_;
1060 ElementsKind to_; 1061 ElementsKind to_;
1061 bool is_jsarray_; 1062 bool is_jsarray_;
1062 StrictModeFlag strict_mode_; 1063 StrictModeFlag strict_mode_;
1063 1064
1064 DISALLOW_COPY_AND_ASSIGN(ElementsTransitionAndStoreStub); 1065 DISALLOW_COPY_AND_ASSIGN(ElementsTransitionAndStoreStub);
1065 }; 1066 };
1066 1067
1068
1069 class StoreArrayLiteralElementStub : public CodeStub {
1070 public:
1071 explicit StoreArrayLiteralElementStub() {}
1072
1073 private:
1074 Major MajorKey() { return StoreArrayLiteralElement; }
1075 int MinorKey() { return 0; }
1076
1077 void Generate(MacroAssembler* masm);
1078
1079 DISALLOW_COPY_AND_ASSIGN(StoreArrayLiteralElementStub);
1080 };
1081
1067 } } // namespace v8::internal 1082 } } // namespace v8::internal
1068 1083
1069 #endif // V8_CODE_STUBS_H_ 1084 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « no previous file | src/ia32/code-stubs-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698