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

Side by Side Diff: bleeding_edge/src/codegen.h

Issue 506037: Improve performance of allocating closures for nested... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 private: 227 private:
228 228
229 const char* GetName() { return "StackCheckStub"; } 229 const char* GetName() { return "StackCheckStub"; }
230 230
231 Major MajorKey() { return StackCheck; } 231 Major MajorKey() { return StackCheck; }
232 int MinorKey() { return 0; } 232 int MinorKey() { return 0; }
233 }; 233 };
234 234
235 235
236 class FastNewClosureStub : public CodeStub {
237 public:
238 void Generate(MacroAssembler* masm);
239
240 private:
241 const char* GetName() { return "FastNewClosureStub"; }
242 Major MajorKey() { return FastNewClosure; }
243 int MinorKey() { return 0; }
244 };
245
246
236 class InstanceofStub: public CodeStub { 247 class InstanceofStub: public CodeStub {
237 public: 248 public:
238 InstanceofStub() { } 249 InstanceofStub() { }
239 250
240 void Generate(MacroAssembler* masm); 251 void Generate(MacroAssembler* masm);
241 252
242 private: 253 private:
243 Major MajorKey() { return Instanceof; } 254 Major MajorKey() { return Instanceof; }
244 int MinorKey() { return 0; } 255 int MinorKey() { return 0; }
245 }; 256 };
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 PrintF("ArgumentsAccessStub (type %d)\n", type_); 429 PrintF("ArgumentsAccessStub (type %d)\n", type_);
419 } 430 }
420 #endif 431 #endif
421 }; 432 };
422 433
423 434
424 } // namespace internal 435 } // namespace internal
425 } // namespace v8 436 } // namespace v8
426 437
427 #endif // V8_CODEGEN_H_ 438 #endif // V8_CODEGEN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698