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

Issue 9117034: New class for Date objects: caches individual date components. (Closed)

Created:
8 years, 11 months ago by rossberg
Modified:
8 years, 9 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

New class for Date objects: caches individual date components. First step, cache slots not used yet. R=ulan@chromium.org BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=10981

Patch Set 1 #

Total comments: 24

Patch Set 2 : Added ARM and x64 ports. #

Patch Set 3 : Removed type checks and write barriers; added Hydrogen instr for writing Date fields. #

Patch Set 4 : Add constant for index of first barrier-free slot. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+699 lines, -32 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/api.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 2 chunks +50 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.h View 1 2 2 chunks +38 lines, -1 line 0 comments Download
M src/arm/lithium-arm.cc View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M src/bootstrapper.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/date.js View 1 2 18 chunks +19 lines, -19 lines 0 comments Download
M src/hydrogen.cc View 1 2 2 chunks +28 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 2 chunks +42 lines, -1 line 0 comments Download
M src/ia32/full-codegen-ia32.cc View 1 2 3 2 chunks +49 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 2 chunks +44 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 2 chunks +39 lines, -1 line 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M src/macros.py View 1 2 3 1 chunk +16 lines, -1 line 0 comments Download
M src/objects.h View 1 2 3 6 chunks +59 lines, -1 line 0 comments Download
M src/objects.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/objects-debug.cc View 2 chunks +42 lines, -0 lines 0 comments Download
M src/objects-inl.h View 3 chunks +20 lines, -0 lines 0 comments Download
M src/objects-printer.cc View 1 2 2 chunks +23 lines, -0 lines 0 comments Download
M src/objects-visiting.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 3 2 chunks +49 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 1 chunk +41 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 2 chunks +36 lines, -1 line 0 comments Download
M src/x64/lithium-x64.cc View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M test/mjsunit/fuzz-natives.js View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
rossberg
8 years, 11 months ago (2012-01-24 15:54:33 UTC) #1
rossberg
Please do a pre-review. ARM and x64 still missing.
8 years, 11 months ago (2012-01-24 15:55:26 UTC) #2
ulan
First round of comments. https://chromiumcodereview.appspot.com/9117034/diff/1/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://chromiumcodereview.appspot.com/9117034/diff/1/src/hydrogen-instructions.h#newcode183 src/hydrogen-instructions.h:183: V(DateField) Don't forget SetDateField. https://chromiumcodereview.appspot.com/9117034/diff/1/src/hydrogen-instructions.h#newcode4514 ...
8 years, 11 months ago (2012-01-25 13:08:48 UTC) #3
rossberg
I removed all type checks in generated code, except in debug mode. Removed write barriers ...
8 years, 11 months ago (2012-01-25 15:48:37 UTC) #4
ulan
8 years, 9 months ago (2012-03-08 08:13:54 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698