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

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

Issue 8404030: Version 3.7.1 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 1 month 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/x64/builtins-x64.cc ('k') | src/x64/code-stubs-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 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 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP }; 416 enum LookupMode { POSITIVE_LOOKUP, NEGATIVE_LOOKUP };
417 417
418 StringDictionaryLookupStub(Register dictionary, 418 StringDictionaryLookupStub(Register dictionary,
419 Register result, 419 Register result,
420 Register index, 420 Register index,
421 LookupMode mode) 421 LookupMode mode)
422 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { } 422 : dictionary_(dictionary), result_(result), index_(index), mode_(mode) { }
423 423
424 void Generate(MacroAssembler* masm); 424 void Generate(MacroAssembler* masm);
425 425
426 MUST_USE_RESULT static MaybeObject* GenerateNegativeLookup( 426 static void GenerateNegativeLookup(MacroAssembler* masm,
427 Label* miss,
428 Label* done,
429 Register properties,
430 Handle<String> name,
431 Register r0);
432
433 // TODO(kmillikin): Eliminate this function when the stub cache is fully
434 // handlified.
435 MUST_USE_RESULT static MaybeObject* TryGenerateNegativeLookup(
427 MacroAssembler* masm, 436 MacroAssembler* masm,
428 Label* miss, 437 Label* miss,
429 Label* done, 438 Label* done,
430 Register properties, 439 Register properties,
431 String* name, 440 String* name,
432 Register r0); 441 Register r0);
433 442
434 static void GeneratePositiveLookup(MacroAssembler* masm, 443 static void GeneratePositiveLookup(MacroAssembler* masm,
435 Label* miss, 444 Label* miss,
436 Label* done, 445 Label* done,
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 RememberedSetAction remembered_set_action_; 726 RememberedSetAction remembered_set_action_;
718 SaveFPRegsMode save_fp_regs_mode_; 727 SaveFPRegsMode save_fp_regs_mode_;
719 Label slow_; 728 Label slow_;
720 RegisterAllocation regs_; 729 RegisterAllocation regs_;
721 }; 730 };
722 731
723 732
724 } } // namespace v8::internal 733 } } // namespace v8::internal
725 734
726 #endif // V8_X64_CODE_STUBS_X64_H_ 735 #endif // V8_X64_CODE_STUBS_X64_H_
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698