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

Side by Side Diff: src/platform-win32.cc

Issue 260003006: Added a Isolate* parameter to Serializer::enabled(). (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 533
534 // Returns a string identifying the current timezone for the 534 // Returns a string identifying the current timezone for the
535 // timestamp taking into account daylight saving. 535 // timestamp taking into account daylight saving.
536 char* Win32Time::LocalTimezone(TimezoneCache* cache) { 536 char* Win32Time::LocalTimezone(TimezoneCache* cache) {
537 // Return the standard or DST time zone name based on whether daylight 537 // Return the standard or DST time zone name based on whether daylight
538 // saving is in effect at the given time. 538 // saving is in effect at the given time.
539 return InDST(cache) ? cache->dst_tz_name_ : cache->std_tz_name_; 539 return InDST(cache) ? cache->dst_tz_name_ : cache->std_tz_name_;
540 } 540 }
541 541
542 542
543 void OS::PostSetUp() { 543 void OS::PostSetUp(bool serializer_enabled) {
544 // Math functions depend on CPU features therefore they are initialized after 544 // Math functions depend on CPU features therefore they are initialized after
545 // CPU. 545 // CPU.
546 MathSetup(); 546 MathSetup();
547 #if V8_TARGET_ARCH_IA32 547 #if V8_TARGET_ARCH_IA32
548 OS::MemMoveFunction generated_memmove = CreateMemMoveFunction(); 548 OS::MemMoveFunction generated_memmove = CreateMemMoveFunction();
549 if (generated_memmove != NULL) { 549 if (generated_memmove != NULL) {
550 memmove_function = generated_memmove; 550 memmove_function = generated_memmove;
551 } 551 }
552 #endif 552 #endif
553 } 553 }
(...skipping 959 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 ASSERT(result); 1513 ASSERT(result);
1514 } 1514 }
1515 1515
1516 1516
1517 1517
1518 void Thread::YieldCPU() { 1518 void Thread::YieldCPU() {
1519 Sleep(0); 1519 Sleep(0);
1520 } 1520 }
1521 1521
1522 } } // namespace v8::internal 1522 } } // namespace v8::internal
OLDNEW
« src/objects-visiting-inl.h ('K') | « src/platform-posix.cc ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698