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

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

Issue 133693002: Merged r18307 into 3.23 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.23
Patch Set: merge r18309 too Created 6 years, 11 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/ast.cc ('k') | src/code-stubs.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 // 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Combined list of code stubs. 123 // Combined list of code stubs.
124 #define CODE_STUB_LIST(V) \ 124 #define CODE_STUB_LIST(V) \
125 CODE_STUB_LIST_ALL_PLATFORMS(V) \ 125 CODE_STUB_LIST_ALL_PLATFORMS(V) \
126 CODE_STUB_LIST_ARM(V) \ 126 CODE_STUB_LIST_ARM(V) \
127 CODE_STUB_LIST_MIPS(V) 127 CODE_STUB_LIST_MIPS(V)
128 128
129 // Stub is base classes of all stubs. 129 // Stub is base classes of all stubs.
130 class CodeStub BASE_EMBEDDED { 130 class CodeStub BASE_EMBEDDED {
131 public: 131 public:
132 enum Major { 132 enum Major {
133 UninitializedMajorKey = 0,
133 #define DEF_ENUM(name) name, 134 #define DEF_ENUM(name) name,
134 CODE_STUB_LIST(DEF_ENUM) 135 CODE_STUB_LIST(DEF_ENUM)
135 #undef DEF_ENUM 136 #undef DEF_ENUM
136 NoCache, // marker for stubs that do custom caching 137 NoCache, // marker for stubs that do custom caching
137 NUMBER_OF_IDS 138 NUMBER_OF_IDS
138 }; 139 };
139 140
140 // Retrieve the code for the stub. Generate the code if needed. 141 // Retrieve the code for the stub. Generate the code if needed.
141 Handle<Code> GetCode(Isolate* isolate); 142 Handle<Code> GetCode(Isolate* isolate);
142 143
(...skipping 2204 matching lines...) Expand 10 before | Expand all | Expand 10 after
2347 int MinorKey() { return 0; } 2348 int MinorKey() { return 0; }
2348 2349
2349 void Generate(MacroAssembler* masm); 2350 void Generate(MacroAssembler* masm);
2350 2351
2351 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub); 2352 DISALLOW_COPY_AND_ASSIGN(ProfileEntryHookStub);
2352 }; 2353 };
2353 2354
2354 } } // namespace v8::internal 2355 } } // namespace v8::internal
2355 2356
2356 #endif // V8_CODE_STUBS_H_ 2357 #endif // V8_CODE_STUBS_H_
OLDNEW
« no previous file with comments | « src/ast.cc ('k') | src/code-stubs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698