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

Side by Side Diff: src/type-info.cc

Issue 5597007: Fix Win64 compilation. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix linter Created 10 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/runtime.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 TRBinaryOpIC::GENERIC) { 330 TRBinaryOpIC::GENERIC) {
331 continue; 331 continue;
332 } 332 }
333 } else if (kind == Code::COMPARE_IC) { 333 } else if (kind == Code::COMPARE_IC) {
334 if (target->compare_state() == CompareIC::GENERIC) continue; 334 if (target->compare_state() == CompareIC::GENERIC) continue;
335 } else { 335 } else {
336 if (kind == Code::CALL_IC && state == MONOMORPHIC && 336 if (kind == Code::CALL_IC && state == MONOMORPHIC &&
337 target->check_type() != RECEIVER_MAP_CHECK) continue; 337 target->check_type() != RECEIVER_MAP_CHECK) continue;
338 if (state != MONOMORPHIC && state != MEGAMORPHIC) continue; 338 if (state != MONOMORPHIC && state != MEGAMORPHIC) continue;
339 } 339 }
340 code_positions->Add(info->pc() - code->instruction_start()); 340 code_positions->Add(
341 static_cast<int>(info->pc() - code->instruction_start()));
341 source_positions->Add(position); 342 source_positions->Add(position);
342 } 343 }
343 } else { 344 } else {
344 ASSERT(RelocInfo::IsPosition(mode)); 345 ASSERT(RelocInfo::IsPosition(mode));
345 position = info->data(); 346 position = static_cast<int>(info->data());
346 } 347 }
347 } 348 }
348 } 349 }
349 350
350 } } // namespace v8::internal 351 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698