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

Side by Side Diff: src/assembler.h

Issue 1010803012: Merge cellspace into old pointer space (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/counters.h » ('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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 } 428 }
429 static inline bool IsConstructCall(Mode mode) { 429 static inline bool IsConstructCall(Mode mode) {
430 return mode == CONSTRUCT_CALL; 430 return mode == CONSTRUCT_CALL;
431 } 431 }
432 static inline bool IsCodeTarget(Mode mode) { 432 static inline bool IsCodeTarget(Mode mode) {
433 return mode <= LAST_CODE_ENUM; 433 return mode <= LAST_CODE_ENUM;
434 } 434 }
435 static inline bool IsEmbeddedObject(Mode mode) { 435 static inline bool IsEmbeddedObject(Mode mode) {
436 return mode == EMBEDDED_OBJECT; 436 return mode == EMBEDDED_OBJECT;
437 } 437 }
438 static inline bool IsCell(Mode mode) { return mode == CELL; }
438 static inline bool IsRuntimeEntry(Mode mode) { 439 static inline bool IsRuntimeEntry(Mode mode) {
439 return mode == RUNTIME_ENTRY; 440 return mode == RUNTIME_ENTRY;
440 } 441 }
441 // Is the relocation mode affected by GC? 442 // Is the relocation mode affected by GC?
442 static inline bool IsGCRelocMode(Mode mode) { 443 static inline bool IsGCRelocMode(Mode mode) {
443 return mode <= LAST_GCED_ENUM; 444 return mode <= LAST_GCED_ENUM;
444 } 445 }
445 static inline bool IsJSReturn(Mode mode) { 446 static inline bool IsJSReturn(Mode mode) {
446 return mode == JS_RETURN; 447 return mode == JS_RETURN;
447 } 448 }
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 NullCallWrapper() { } 1163 NullCallWrapper() { }
1163 virtual ~NullCallWrapper() { } 1164 virtual ~NullCallWrapper() { }
1164 virtual void BeforeCall(int call_size) const { } 1165 virtual void BeforeCall(int call_size) const { }
1165 virtual void AfterCall() const { } 1166 virtual void AfterCall() const { }
1166 }; 1167 };
1167 1168
1168 1169
1169 } } // namespace v8::internal 1170 } } // namespace v8::internal
1170 1171
1171 #endif // V8_ASSEMBLER_H_ 1172 #endif // V8_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698