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

Side by Side Diff: runtime/vm/verified_memory.h

Issue 711833002: Support verified heap pointer writes on ia32. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_VERIFIED_MEMORY_H_ 5 #ifndef VM_VERIFIED_MEMORY_H_
6 #define VM_VERIFIED_MEMORY_H_ 6 #define VM_VERIFIED_MEMORY_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/flags.h" 9 #include "vm/flags.h"
10 #include "vm/virtual_memory.h" 10 #include "vm/virtual_memory.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // In release mode, most code in this class is optimized away. 74 // In release mode, most code in this class is optimized away.
75 static bool enabled() { return false; } 75 static bool enabled() { return false; }
76 static intptr_t offset() { UNREACHABLE(); return -1; } 76 static intptr_t offset() { UNREACHABLE(); return -1; }
77 static VirtualMemory* ReserveInternal(intptr_t size) { 77 static VirtualMemory* ReserveInternal(intptr_t size) {
78 UNREACHABLE(); 78 UNREACHABLE();
79 return NULL; 79 return NULL;
80 } 80 }
81 #endif 81 #endif
82 82
83 friend class Assembler; // To use enabled/offset when generating code. 83 friend class Assembler; // To use enabled/offset when generating code.
84 friend class FlowGraphCompiler; // To compute edge counter code size.
85 friend class Intrinsifier; // To know whether a jump is near or far.
84 }; 86 };
85 87
86 } // namespace dart 88 } // namespace dart
87 89
88 #endif // VM_VERIFIED_MEMORY_H_ 90 #endif // VM_VERIFIED_MEMORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698