Chromium Code Reviews| Index: src/wasm/asm-types.h |
| diff --git a/src/wasm/asm-types.h b/src/wasm/asm-types.h |
| index 303e5cdf8893ae26e0d780dedbc0a9ddafc3b654..692d37db8029a8e6c15ed4f32fc3e6ba4e766405 100644 |
| --- a/src/wasm/asm-types.h |
| +++ b/src/wasm/asm-types.h |
| @@ -47,8 +47,10 @@ class AsmOverloadedFunctionType; |
| V(Int32Array, "Int32Array", 19, kAsmHeap) \ |
| V(Float32Array, "Float32Array", 20, kAsmHeap) \ |
| V(Float64Array, "Float64Array", 21, kAsmHeap) \ |
| - V(FloatishDoubleQ, "floatish|double?", 22, kAsmFloatish | kAsmDoubleQ) \ |
| - V(FloatQDoubleQ, "float?|double?", 23, kAsmFloatQ | kAsmDoubleQ) \ |
| + V(Uint8ClampedArray, "Uint8CampledArray", 22, kAsmHeap) \ |
|
bradnelson
2016/06/13 22:42:10
Campled -> Clamped
However, I believe this one is
John
2016/06/14 14:55:02
But Campled is moar nice. :)
Anyway, I removed re
|
| + /* Pseudo-types used in representing heap access for fp types.*/ \ |
| + V(FloatishDoubleQ, "floatish|double?", 23, kAsmFloatish | kAsmDoubleQ) \ |
| + V(FloatQDoubleQ, "float?|double?", 24, kAsmFloatQ | kAsmDoubleQ) \ |
| /* None is used to represent errors in the type checker. */ \ |
| V(None, "<none>", 31, 0) |
| @@ -200,10 +202,10 @@ class AsmType { |
| } |
| // The type for fround(src). |
| - static AsmType* FroundType(Zone* zone, AsmType* src); |
| + static AsmType* FroundType(Zone* zone); |
| // The (variadic) type for min and max. |
| - static AsmType* MinMaxType(Zone* zone, AsmType* type); |
| + static AsmType* MinMaxType(Zone* zone, AsmType* dest, AsmType* src); |
| std::string Name(); |
| // IsExactly returns true if this is the exact same type as that. For |