Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: src/arm64/lithium-arm64.h

Issue 324093002: ARM/ARM64: Optimise HLoadNamedField and HStoreNamedField. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Upload the correct patch (minor diff in hydrogen.h) Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/arm64/lithium-arm64.h
diff --git a/src/arm64/lithium-arm64.h b/src/arm64/lithium-arm64.h
index 18dd927d815d5a6e5cab8f13b3caf2ab08110d26..57e1123d44ba8719310fe608b8b423f058a0763f 100644
--- a/src/arm64/lithium-arm64.h
+++ b/src/arm64/lithium-arm64.h
@@ -1672,13 +1672,15 @@ class LLoadContextSlot V8_FINAL : public LTemplateInstruction<1, 1, 0> {
};
-class LLoadNamedField V8_FINAL : public LTemplateInstruction<1, 1, 0> {
+class LLoadNamedField V8_FINAL : public LTemplateInstruction<1, 2, 0> {
public:
- explicit LLoadNamedField(LOperand* object) {
+ LLoadNamedField(LOperand* object, LOperand* object_properties = NULL) {
inputs_[0] = object;
+ inputs_[1] = object_properties;
}
LOperand* object() { return inputs_[0]; }
+ LOperand* object_properties() { return inputs_[1]; }
DECLARE_CONCRETE_INSTRUCTION(LoadNamedField, "load-named-field")
DECLARE_HYDROGEN_ACCESSOR(LoadNamedField)
@@ -2551,18 +2553,21 @@ class LStoreKeyedGeneric V8_FINAL : public LTemplateInstruction<0, 4, 0> {
};
-class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 2> {
+class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 3, 2> {
public:
LStoreNamedField(LOperand* object, LOperand* value,
- LOperand* temp0, LOperand* temp1) {
+ LOperand* temp0, LOperand* temp1,
+ LOperand* object_properties = NULL) {
inputs_[0] = object;
inputs_[1] = value;
+ inputs_[2] = object_properties;
temps_[0] = temp0;
temps_[1] = temp1;
}
LOperand* object() { return inputs_[0]; }
LOperand* value() { return inputs_[1]; }
+ LOperand* object_properties() { return inputs_[2]; }
LOperand* temp0() { return temps_[0]; }
LOperand* temp1() { return temps_[1]; }

Powered by Google App Engine
This is Rietveld 408576698