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

Unified Diff: runtime/vm/assembler.h

Issue 306483005: - Use isolate where it is appropriate. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32_test.cc » ('j') | runtime/vm/parser.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/assembler.h
===================================================================
--- runtime/vm/assembler.h (revision 36643)
+++ runtime/vm/assembler.h (working copy)
@@ -30,12 +30,8 @@
// to be called from code generated by the assembler.
class ExternalLabel : public ValueObject {
public:
- ExternalLabel(const char* name, uword address)
- : name_(name), address_(address) {
- ASSERT(name != NULL);
- }
+ explicit ExternalLabel(uword address) : address_(address) {}
- const char* name() const { return name_; }
bool is_resolved() const { return address_ != 0; }
uword address() const {
ASSERT(is_resolved());
@@ -43,7 +39,6 @@
}
private:
- const char* name_;
const uword address_;
};
« no previous file with comments | « no previous file | runtime/vm/assembler_ia32_test.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698