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

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

Issue 11528003: Re-land Crankshaft-generated KeyedLoad stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review feedback Created 8 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
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-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 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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 // Helper for throwing exceptions. Compute a handler address and jump to 919 // Helper for throwing exceptions. Compute a handler address and jump to
920 // it. See the implementation for register usage. 920 // it. See the implementation for register usage.
921 void JumpToHandlerEntry(); 921 void JumpToHandlerEntry();
922 922
923 // Compute memory operands for safepoint stack slots. 923 // Compute memory operands for safepoint stack slots.
924 Operand SafepointRegisterSlot(Register reg); 924 Operand SafepointRegisterSlot(Register reg);
925 static int SafepointRegisterStackIndex(int reg_code); 925 static int SafepointRegisterStackIndex(int reg_code);
926 926
927 // Needs access to SafepointRegisterStackIndex for compiled frame 927 // Needs access to SafepointRegisterStackIndex for compiled frame
928 // traversal. 928 // traversal.
929 friend class CompiledFrame; 929 friend class StandardFrame;
930 }; 930 };
931 931
932 932
933 // The code patcher is used to patch (typically) small parts of code e.g. for 933 // The code patcher is used to patch (typically) small parts of code e.g. for
934 // debugging and other types of instrumentation. When using the code patcher 934 // debugging and other types of instrumentation. When using the code patcher
935 // the exact number of bytes specified must be emitted. Is not legal to emit 935 // the exact number of bytes specified must be emitted. Is not legal to emit
936 // relocation information. If any of these constraints are violated it causes 936 // relocation information. If any of these constraints are violated it causes
937 // an assertion. 937 // an assertion.
938 class CodePatcher { 938 class CodePatcher {
939 public: 939 public:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 } \ 1000 } \
1001 masm-> 1001 masm->
1002 #else 1002 #else
1003 #define ACCESS_MASM(masm) masm-> 1003 #define ACCESS_MASM(masm) masm->
1004 #endif 1004 #endif
1005 1005
1006 1006
1007 } } // namespace v8::internal 1007 } } // namespace v8::internal
1008 1008
1009 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1009 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698