Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 3f72defaec375c03c49b662cad3b54805fd076c0..2562b4045a9f3fcd3118a1fa9e7089c387211277 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -3159,8 +3159,8 @@ void FullCodeGenerator::EmitSwapElements(ZoneList<Expression*>* args) { |
__ j(below_equal, &slow_case); |
// Bring addresses into index1 and index2. |
- __ lea(index_1, CodeGenerator::FixedArrayElementOperand(elements, index_1)); |
- __ lea(index_2, CodeGenerator::FixedArrayElementOperand(elements, index_2)); |
+ __ lea(index_1, FixedArrayElementOperand(elements, index_1)); |
+ __ lea(index_2, FixedArrayElementOperand(elements, index_2)); |
// Swap elements. Use object and temp as scratch registers. |
__ mov(object, Operand(index_1, 0)); |
@@ -3220,10 +3220,10 @@ void FullCodeGenerator::EmitGetFromCache(ZoneList<Expression*>* args) { |
// tmp now holds finger offset as a smi. |
ASSERT(kSmiTag == 0 && kSmiTagSize == 1); |
__ mov(tmp, FieldOperand(cache, JSFunctionResultCache::kFingerOffset)); |
- __ cmp(key, CodeGenerator::FixedArrayElementOperand(cache, tmp)); |
+ __ cmp(key, FixedArrayElementOperand(cache, tmp)); |
__ j(not_equal, ¬_found); |
- __ mov(eax, CodeGenerator::FixedArrayElementOperand(cache, tmp, 1)); |
+ __ mov(eax, FixedArrayElementOperand(cache, tmp, 1)); |
__ jmp(&done); |
__ bind(¬_found); |