Reviewers: rossberg,

Message:
Please take a look.

The first patch set contains your CLs 9117034 and 9307083.

Tests are coming later.


https://chromiumcodereview.appspot.com/9572008/diff/7001/src/date.cc
File src/date.cc (right):

https://chromiumcodereview.appspot.com/9572008/diff/7001/src/date.cc#newcode46
src/date.cc:46: static const int kYearsOffset = 400000;
The above constants are from runtime.cc

https://chromiumcodereview.appspot.com/9572008/diff/7001/src/date.cc#newcode77
src/date.cc:77: void DateCache::YearMonthDayFromDays(
Code in this function up to line 127 is from runtime.cc

https://chromiumcodereview.appspot.com/9572008/diff/7001/src/date.cc#newcode158
src/date.cc:158: int DateCache::DaysFromYearMonth(int year, int month) {
Code in this function is from runtime.cc

Description:
Introduce JSDate class that caches date components and implement date library
functions in C++.

Developed together with Andreas Rossberg based on:
  https://chromiumcodereview.appspot.com/9117034/
  https://chromiumcodereview.appspot.com/9307083/

[email protected]


Please review this at https://chromiumcodereview.appspot.com/9572008/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M include/v8.h
  M src/SConscript
  M src/api.cc
  M src/arm/full-codegen-arm.cc
  M src/arm/lithium-arm.h
  M src/arm/lithium-arm.cc
  M src/arm/lithium-codegen-arm.cc
  M src/assembler.h
  M src/assembler.cc
  M src/bootstrapper.cc
  A src/date.h
  A src/date.cc
  M src/date.js
  M src/hydrogen-instructions.h
  M src/hydrogen.cc
  M src/ia32/full-codegen-ia32.cc
  M src/ia32/lithium-codegen-ia32.cc
  M src/ia32/lithium-ia32.h
  M src/ia32/lithium-ia32.cc
  M src/isolate.h
  M src/macros.py
  M src/objects-debug.cc
  M src/objects-inl.h
  M src/objects-printer.cc
  M src/objects-visiting.cc
  M src/objects.h
  M src/objects.cc
  M src/runtime.h
  M src/runtime.cc
  M src/serialize.cc
  M src/x64/full-codegen-x64.cc
  M src/x64/lithium-codegen-x64.cc
  M src/x64/lithium-x64.h
  M src/x64/lithium-x64.cc
  M test/mjsunit/fuzz-natives.js
  M tools/gyp/v8.gyp


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to