mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 20:51:19 +00:00
Fix some warnings generated when -Wconversion-null is used.
Review URL: https://codereview.chromium.org//11312096 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14553 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
763dcbb20a
commit
f4fc4f8318
|
@ -335,7 +335,7 @@ static bool CreateIsolate(SpawnState* state, char** error) {
|
|||
static bool RunIsolate(uword parameter) {
|
||||
Isolate* isolate = reinterpret_cast<Isolate*>(parameter);
|
||||
SpawnState* state = reinterpret_cast<SpawnState*>(isolate->spawn_data());
|
||||
isolate->set_spawn_data(NULL);
|
||||
isolate->set_spawn_data(0);
|
||||
{
|
||||
StartIsolateScope start_scope(isolate);
|
||||
StackZone zone(isolate);
|
||||
|
|
|
@ -165,7 +165,7 @@ Isolate::Isolate()
|
|||
stack_limit_(0),
|
||||
saved_stack_limit_(0),
|
||||
message_handler_(NULL),
|
||||
spawn_data_(NULL),
|
||||
spawn_data_(0),
|
||||
gc_prologue_callbacks_(),
|
||||
gc_epilogue_callbacks_(),
|
||||
deopt_cpu_registers_copy_(NULL),
|
||||
|
|
|
@ -36,7 +36,7 @@ MessageHandler::MessageHandler()
|
|||
task_(NULL),
|
||||
start_callback_(NULL),
|
||||
end_callback_(NULL),
|
||||
callback_data_(NULL) {
|
||||
callback_data_(0) {
|
||||
ASSERT(queue_ != NULL);
|
||||
ASSERT(oob_queue_ != NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue