Changeset 215533 in webkit for trunk/Source/JavaScriptCore/b3/testb3.cpp
- Timestamp:
- Apr 19, 2017, 3:05:51 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/b3/testb3.cpp
r215407 r215533 15171 15171 proc.pinRegister(pinned); 15172 15172 15173 proc.setWasmBoundsCheckGenerator([=] (CCallHelpers& jit, GPRReg pinnedGPR , unsigned actualOffset) {15173 proc.setWasmBoundsCheckGenerator([=] (CCallHelpers& jit, GPRReg pinnedGPR) { 15174 15174 CHECK_EQ(pinnedGPR, pinned); 15175 CHECK_EQ(actualOffset, offset);15176 15175 15177 15176 // This should always work because a function this simple should never have callee … … 15186 15185 if (pointerType() != Int32) 15187 15186 left = root->appendNew<Value>(proc, Trunc, Origin(), left); 15188 Wasm::PageCount maximum; 15189 root->appendNew<WasmBoundsCheckValue>(proc, Origin(), left, pinned, offset, maximum); 15187 root->appendNew<WasmBoundsCheckValue>(proc, Origin(), left, pinned, offset); 15190 15188 Value* result = root->appendNew<Const32Value>(proc, Origin(), 0x42); 15191 15189 root->appendNewControlValue(proc, Return, Origin(), result);
Note:
See TracChangeset
for help on using the changeset viewer.