|
Improve code generation for the HRandom instruction.
Since the per-context random number generator is now
properly seeded upon context creation, we do not need
to check for lazy-initialization anymore, and so we
can implement the HRandom instruction w/o having to
call into the C function (which means we don't need
to MarkAsCall anymore).
TEST=cctest/test-random
R=yangguo@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=16684
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+170 lines, -195 lines) |
Patch |
|
M |
src/arm/lithium-arm.h
|
View
|
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-arm.cc
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
2
|
1 chunk |
+37 lines, -53 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
|
1 chunk |
+39 lines, -58 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.h
|
View
|
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ia32/lithium-ia32.cc
|
View
|
|
1 chunk |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
|
1 chunk |
+37 lines, -63 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.h
|
View
|
|
1 chunk |
+11 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/x64/lithium-x64.cc
|
View
|
|
1 chunk |
+7 lines, -3 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|