aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4bytecodegenerator_p.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-08-03 11:40:33 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-08-03 11:15:43 +0000
commita88bc4e5aa0dfbf71cbe53c1dd8bfbae4d2a90f6 (patch)
treef7bdab35ea616050c5c00f245a74ea2636fc98fb /src/qml/compiler/qv4bytecodegenerator_p.h
parenteabcd4c2dd15e120aa5b79eb66a2af394e3a55c1 (diff)
Where applicable, rename Temp* to Register*
Change-Id: Ib7839ac09f520aaff3fadfdb37ea63d85a257bfd Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4bytecodegenerator_p.h')
-rw-r--r--src/qml/compiler/qv4bytecodegenerator_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/compiler/qv4bytecodegenerator_p.h b/src/qml/compiler/qv4bytecodegenerator_p.h
index 8034ac9327..bfb1ada6e4 100644
--- a/src/qml/compiler/qv4bytecodegenerator_p.h
+++ b/src/qml/compiler/qv4bytecodegenerator_p.h
@@ -193,8 +193,8 @@ public:
return currentExceptionHandler;
}
- int newTemp();
- int newTempArray(int n);
+ int newRegister();
+ int newRegisterArray(int n);
QByteArray finalize();
@@ -233,9 +233,9 @@ private:
QVector<int> labels;
QVector<JumpData> jumps;
ExceptionHandler *currentExceptionHandler;
- int tempCount = 0;
+ int regCount = 0;
public:
- int currentTemp = 0;
+ int currentReg = 0;
private:
int currentLine = -1;
};