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

Side by Side Diff: src/assembler.h

Issue 96083005: Remove Reloc::Mode CODE_TARGET_CONTEXT (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 7 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/arm/lithium-codegen-arm.cc ('k') | src/assembler.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 static const int kMaxCallSize = 6; 255 static const int kMaxCallSize = 6;
256 256
257 // The maximum pc delta that will use the short encoding. 257 // The maximum pc delta that will use the short encoding.
258 static const int kMaxSmallPCDelta; 258 static const int kMaxSmallPCDelta;
259 259
260 enum Mode { 260 enum Mode {
261 // Please note the order is important (see IsCodeTarget, IsGCRelocMode). 261 // Please note the order is important (see IsCodeTarget, IsGCRelocMode).
262 CODE_TARGET, // Code target which is not any of the above. 262 CODE_TARGET, // Code target which is not any of the above.
263 CODE_TARGET_WITH_ID, 263 CODE_TARGET_WITH_ID,
264 CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor. 264 CONSTRUCT_CALL, // code target that is a call to a JavaScript constructor.
265 CODE_TARGET_CONTEXT, // Code target used for contextual loads and stores.
266 DEBUG_BREAK, // Code target for the debugger statement. 265 DEBUG_BREAK, // Code target for the debugger statement.
267 EMBEDDED_OBJECT, 266 EMBEDDED_OBJECT,
268 CELL, 267 CELL,
269 268
270 // Everything after runtime_entry (inclusive) is not GC'ed. 269 // Everything after runtime_entry (inclusive) is not GC'ed.
271 RUNTIME_ENTRY, 270 RUNTIME_ENTRY,
272 JS_RETURN, // Marks start of the ExitJSFrame code. 271 JS_RETURN, // Marks start of the ExitJSFrame code.
273 COMMENT, 272 COMMENT,
274 POSITION, // See comment for kNoPosition above. 273 POSITION, // See comment for kNoPosition above.
275 STATEMENT_POSITION, // See comment for kNoPosition above. 274 STATEMENT_POSITION, // See comment for kNoPosition above.
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 public: 1064 public:
1066 NullCallWrapper() { } 1065 NullCallWrapper() { }
1067 virtual ~NullCallWrapper() { } 1066 virtual ~NullCallWrapper() { }
1068 virtual void BeforeCall(int call_size) const { } 1067 virtual void BeforeCall(int call_size) const { }
1069 virtual void AfterCall() const { } 1068 virtual void AfterCall() const { }
1070 }; 1069 };
1071 1070
1072 } } // namespace v8::internal 1071 } } // namespace v8::internal
1073 1072
1074 #endif // V8_ASSEMBLER_H_ 1073 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698