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

Side by Side Diff: src/x64/macro-assembler-x64.h

Issue 3141022: Using array index hash code for string-to-number conversion. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 3 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/x64/ic-x64.cc ('k') | src/x64/macro-assembler-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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 // function register will be untouched; the other register may be 716 // function register will be untouched; the other register may be
717 // clobbered. 717 // clobbered.
718 void TryGetFunctionPrototype(Register function, 718 void TryGetFunctionPrototype(Register function,
719 Register result, 719 Register result,
720 Label* miss); 720 Label* miss);
721 721
722 // Generates code for reporting that an illegal operation has 722 // Generates code for reporting that an illegal operation has
723 // occurred. 723 // occurred.
724 void IllegalOperation(int num_arguments); 724 void IllegalOperation(int num_arguments);
725 725
726 // Picks out an array index from the hash field.
727 // Register use:
728 // hash - holds the index's hash. Clobbered.
729 // index - holds the overwritten index on exit.
730 void IndexFromHash(Register hash, Register index);
731
726 // Find the function context up the context chain. 732 // Find the function context up the context chain.
727 void LoadContext(Register dst, int context_chain_length); 733 void LoadContext(Register dst, int context_chain_length);
728 734
729 // --------------------------------------------------------------------------- 735 // ---------------------------------------------------------------------------
730 // Runtime calls 736 // Runtime calls
731 737
732 // Call a code stub. 738 // Call a code stub.
733 void CallStub(CodeStub* stub); 739 void CallStub(CodeStub* stub);
734 740
735 // Call a code stub and return the code object called. Try to generate 741 // Call a code stub and return the code object called. Try to generate
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 } \ 966 } \
961 masm-> 967 masm->
962 #else 968 #else
963 #define ACCESS_MASM(masm) masm-> 969 #define ACCESS_MASM(masm) masm->
964 #endif 970 #endif
965 971
966 972
967 } } // namespace v8::internal 973 } } // namespace v8::internal
968 974
969 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 975 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/ic-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698