MCPcopy Create free account
hub / github.com/OpenMW/openmw / pushInt

Function pushInt

components/compiler/generator.cpp:283–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281namespace Compiler::Generator
282{
283 void pushInt(CodeContainer& code, Literals& literals, int value)
284 {
285 int index = literals.addInteger(value);
286 opPushInt(code, index);
287 opFetchIntLiteral(code);
288 }
289
290 void pushFloat(CodeContainer& code, Literals& literals, float value)
291 {

Callers 3

generateFunctionCodeMethod · 0.85
pushIntegerLiteralMethod · 0.85

Calls 3

opPushIntFunction · 0.85
opFetchIntLiteralFunction · 0.85
addIntegerMethod · 0.80

Tested by

no test coverage detected