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

Side by Side Diff: src/stub-cache.h

Issue 596011: Change GenerateLoadStringLength to have two scratch registers on all platform... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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/ia32/stub-cache-ia32.cc ('k') | src/x64/ic-x64.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 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 Register prototype); 348 Register prototype);
349 static void GenerateFastPropertyLoad(MacroAssembler* masm, 349 static void GenerateFastPropertyLoad(MacroAssembler* masm,
350 Register dst, Register src, 350 Register dst, Register src,
351 JSObject* holder, int index); 351 JSObject* holder, int index);
352 352
353 static void GenerateLoadArrayLength(MacroAssembler* masm, 353 static void GenerateLoadArrayLength(MacroAssembler* masm,
354 Register receiver, 354 Register receiver,
355 Register scratch, 355 Register scratch,
356 Label* miss_label); 356 Label* miss_label);
357 static void GenerateLoadStringLength(MacroAssembler* masm, 357 static void GenerateLoadStringLength(MacroAssembler* masm,
358 Register receiver,
359 Register scratch,
360 Label* miss_label);
361 static void GenerateLoadStringLength2(MacroAssembler* masm,
362 Register receiver, 358 Register receiver,
363 Register scratch1, 359 Register scratch1,
364 Register scratch2, 360 Register scratch2,
365 Label* miss_label); 361 Label* miss_label);
366 static void GenerateLoadFunctionPrototype(MacroAssembler* masm, 362 static void GenerateLoadFunctionPrototype(MacroAssembler* masm,
367 Register receiver, 363 Register receiver,
368 Register scratch1, 364 Register scratch1,
369 Register scratch2, 365 Register scratch2,
370 Label* miss_label); 366 Label* miss_label);
371 static void GenerateStoreField(MacroAssembler* masm, 367 static void GenerateStoreField(MacroAssembler* masm,
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
573 Object* CompileConstructStub(SharedFunctionInfo* shared); 569 Object* CompileConstructStub(SharedFunctionInfo* shared);
574 570
575 private: 571 private:
576 Object* GetCode(); 572 Object* GetCode();
577 }; 573 };
578 574
579 575
580 } } // namespace v8::internal 576 } } // namespace v8::internal
581 577
582 #endif // V8_STUB_CACHE_H_ 578 #endif // V8_STUB_CACHE_H_
OLDNEW
« no previous file with comments | « src/ia32/stub-cache-ia32.cc ('k') | src/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698