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

Unified Diff: src/arm/lithium-arm.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
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/hydrogen-instructions.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm/lithium-arm.h
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h
index 127badcfe929691bcb595b7fce40dab89361da9c..9ee5e20dacae67a31fac118158cfd1164c73e48b 100644
--- a/src/arm/lithium-arm.h
+++ b/src/arm/lithium-arm.h
@@ -1572,13 +1572,15 @@ class LReturn V8_FINAL : public LTemplateInstruction<0, 3, 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)
@@ -2147,16 +2149,19 @@ class LSmiUntag V8_FINAL : public LTemplateInstruction<1, 1, 0> {
};
-class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 2, 1> {
+class LStoreNamedField V8_FINAL : public LTemplateInstruction<0, 3, 1> {
public:
- LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp) {
+ LStoreNamedField(LOperand* object, LOperand* value, LOperand* temp,
+ LOperand* object_properties = NULL) {
inputs_[0] = object;
inputs_[1] = value;
+ inputs_[2] = object_properties;
temps_[0] = temp;
}
LOperand* object() { return inputs_[0]; }
LOperand* value() { return inputs_[1]; }
+ LOperand* object_properties() { return inputs_[2]; }
LOperand* temp() { return temps_[0]; }
DECLARE_CONCRETE_INSTRUCTION(StoreNamedField, "store-named-field")
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698