OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 4021 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4032 __ bind(&slow); | 4032 __ bind(&slow); |
4033 __ li(a0, Operand(proxy->name())); | 4033 __ li(a0, Operand(proxy->name())); |
4034 __ Push(cp, a0); | 4034 __ Push(cp, a0); |
4035 __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); | 4035 __ CallRuntime(Runtime::kLoadContextSlotNoReferenceError, 2); |
4036 PrepareForBailout(expr, TOS_REG); | 4036 PrepareForBailout(expr, TOS_REG); |
4037 __ bind(&done); | 4037 __ bind(&done); |
4038 | 4038 |
4039 context()->Plug(v0); | 4039 context()->Plug(v0); |
4040 } else { | 4040 } else { |
4041 // This expression cannot throw a reference error at the top level. | 4041 // This expression cannot throw a reference error at the top level. |
4042 context()->HandleExpression(expr); | 4042 VisitInSameContext(expr); |
4043 } | 4043 } |
4044 } | 4044 } |
4045 | 4045 |
4046 | 4046 |
4047 bool FullCodeGenerator::TryLiteralCompare(Token::Value op, | 4047 bool FullCodeGenerator::TryLiteralCompare(Token::Value op, |
4048 Expression* left, | 4048 Expression* left, |
4049 Expression* right, | 4049 Expression* right, |
4050 Label* if_true, | 4050 Label* if_true, |
4051 Label* if_false, | 4051 Label* if_false, |
4052 Label* fall_through) { | 4052 Label* fall_through) { |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4379 __ Addu(at, a1, Operand(masm_->CodeObject())); | 4379 __ Addu(at, a1, Operand(masm_->CodeObject())); |
4380 __ Jump(at); | 4380 __ Jump(at); |
4381 } | 4381 } |
4382 | 4382 |
4383 | 4383 |
4384 #undef __ | 4384 #undef __ |
4385 | 4385 |
4386 } } // namespace v8::internal | 4386 } } // namespace v8::internal |
4387 | 4387 |
4388 #endif // V8_TARGET_ARCH_MIPS | 4388 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |