| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
| 8 | 8 |
| 9 // Note on Mips implementation: | 9 // Note on Mips implementation: |
| 10 // | 10 // |
| (...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1314 | 1314 |
| 1315 void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { | 1315 void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { |
| 1316 Comment cnmt(masm_, "[ SuperReference "); | 1316 Comment cnmt(masm_, "[ SuperReference "); |
| 1317 | 1317 |
| 1318 __ lw(LoadDescriptor::ReceiverRegister(), | 1318 __ lw(LoadDescriptor::ReceiverRegister(), |
| 1319 MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); | 1319 MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
| 1320 | 1320 |
| 1321 Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); | 1321 Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); |
| 1322 __ li(LoadDescriptor::NameRegister(), home_object_symbol); | 1322 __ li(LoadDescriptor::NameRegister(), home_object_symbol); |
| 1323 | 1323 |
| 1324 if (FLAG_vector_ics) { | 1324 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 1325 __ li(VectorLoadICDescriptor::SlotRegister(), | 1325 Operand(SmiFromSlot(expr->HomeObjectFeedbackSlot()))); |
| 1326 Operand(SmiFromSlot(expr->HomeObjectFeedbackSlot()))); | 1326 CallLoadIC(NOT_CONTEXTUAL); |
| 1327 CallLoadIC(NOT_CONTEXTUAL); | |
| 1328 } else { | |
| 1329 CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); | |
| 1330 } | |
| 1331 | 1327 |
| 1332 Label done; | 1328 Label done; |
| 1333 __ Branch(&done, ne, v0, Operand(isolate()->factory()->undefined_value())); | 1329 __ Branch(&done, ne, v0, Operand(isolate()->factory()->undefined_value())); |
| 1334 __ CallRuntime(Runtime::kThrowNonMethodError, 0); | 1330 __ CallRuntime(Runtime::kThrowNonMethodError, 0); |
| 1335 __ bind(&done); | 1331 __ bind(&done); |
| 1336 } | 1332 } |
| 1337 | 1333 |
| 1338 | 1334 |
| 1339 void FullCodeGenerator::EmitSetHomeObjectIfNeeded(Expression* initializer, | 1335 void FullCodeGenerator::EmitSetHomeObjectIfNeeded(Expression* initializer, |
| 1340 int offset) { | 1336 int offset) { |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1389 __ lw(temp, ContextOperand(next, Context::EXTENSION_INDEX)); | 1385 __ lw(temp, ContextOperand(next, Context::EXTENSION_INDEX)); |
| 1390 __ Branch(slow, ne, temp, Operand(zero_reg)); | 1386 __ Branch(slow, ne, temp, Operand(zero_reg)); |
| 1391 // Load next context in chain. | 1387 // Load next context in chain. |
| 1392 __ lw(next, ContextOperand(next, Context::PREVIOUS_INDEX)); | 1388 __ lw(next, ContextOperand(next, Context::PREVIOUS_INDEX)); |
| 1393 __ Branch(&loop); | 1389 __ Branch(&loop); |
| 1394 __ bind(&fast); | 1390 __ bind(&fast); |
| 1395 } | 1391 } |
| 1396 | 1392 |
| 1397 __ lw(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); | 1393 __ lw(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); |
| 1398 __ li(LoadDescriptor::NameRegister(), Operand(proxy->var()->name())); | 1394 __ li(LoadDescriptor::NameRegister(), Operand(proxy->var()->name())); |
| 1399 if (FLAG_vector_ics) { | 1395 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 1400 __ li(VectorLoadICDescriptor::SlotRegister(), | 1396 Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
| 1401 Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); | |
| 1402 } | |
| 1403 | 1397 |
| 1404 ContextualMode mode = (typeof_state == INSIDE_TYPEOF) | 1398 ContextualMode mode = (typeof_state == INSIDE_TYPEOF) |
| 1405 ? NOT_CONTEXTUAL | 1399 ? NOT_CONTEXTUAL |
| 1406 : CONTEXTUAL; | 1400 : CONTEXTUAL; |
| 1407 CallLoadIC(mode); | 1401 CallLoadIC(mode); |
| 1408 } | 1402 } |
| 1409 | 1403 |
| 1410 | 1404 |
| 1411 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var, | 1405 MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var, |
| 1412 Label* slow) { | 1406 Label* slow) { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1479 PrepareForBailoutForId(proxy->BeforeId(), NO_REGISTERS); | 1473 PrepareForBailoutForId(proxy->BeforeId(), NO_REGISTERS); |
| 1480 Variable* var = proxy->var(); | 1474 Variable* var = proxy->var(); |
| 1481 | 1475 |
| 1482 // Three cases: global variables, lookup variables, and all other types of | 1476 // Three cases: global variables, lookup variables, and all other types of |
| 1483 // variables. | 1477 // variables. |
| 1484 switch (var->location()) { | 1478 switch (var->location()) { |
| 1485 case Variable::UNALLOCATED: { | 1479 case Variable::UNALLOCATED: { |
| 1486 Comment cmnt(masm_, "[ Global variable"); | 1480 Comment cmnt(masm_, "[ Global variable"); |
| 1487 __ lw(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); | 1481 __ lw(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); |
| 1488 __ li(LoadDescriptor::NameRegister(), Operand(var->name())); | 1482 __ li(LoadDescriptor::NameRegister(), Operand(var->name())); |
| 1489 if (FLAG_vector_ics) { | 1483 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 1490 __ li(VectorLoadICDescriptor::SlotRegister(), | 1484 Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
| 1491 Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); | |
| 1492 } | |
| 1493 CallGlobalLoadIC(var->name()); | 1485 CallGlobalLoadIC(var->name()); |
| 1494 context()->Plug(v0); | 1486 context()->Plug(v0); |
| 1495 break; | 1487 break; |
| 1496 } | 1488 } |
| 1497 | 1489 |
| 1498 case Variable::PARAMETER: | 1490 case Variable::PARAMETER: |
| 1499 case Variable::LOCAL: | 1491 case Variable::LOCAL: |
| 1500 case Variable::CONTEXT: { | 1492 case Variable::CONTEXT: { |
| 1501 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable" | 1493 Comment cmnt(masm_, var->IsContextSlot() ? "[ Context variable" |
| 1502 : "[ Stack variable"); | 1494 : "[ Stack variable"); |
| (...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2179 __ bind(&l_next); | 2171 __ bind(&l_next); |
| 2180 | 2172 |
| 2181 __ LoadRoot(load_name, Heap::knext_stringRootIndex); // "next" | 2173 __ LoadRoot(load_name, Heap::knext_stringRootIndex); // "next" |
| 2182 __ lw(a3, MemOperand(sp, 1 * kPointerSize)); // iter | 2174 __ lw(a3, MemOperand(sp, 1 * kPointerSize)); // iter |
| 2183 __ Push(load_name, a3, a0); // "next", iter, received | 2175 __ Push(load_name, a3, a0); // "next", iter, received |
| 2184 | 2176 |
| 2185 // result = receiver[f](arg); | 2177 // result = receiver[f](arg); |
| 2186 __ bind(&l_call); | 2178 __ bind(&l_call); |
| 2187 __ lw(load_receiver, MemOperand(sp, kPointerSize)); | 2179 __ lw(load_receiver, MemOperand(sp, kPointerSize)); |
| 2188 __ lw(load_name, MemOperand(sp, 2 * kPointerSize)); | 2180 __ lw(load_name, MemOperand(sp, 2 * kPointerSize)); |
| 2189 if (FLAG_vector_ics) { | 2181 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 2190 __ li(VectorLoadICDescriptor::SlotRegister(), | 2182 Operand(SmiFromSlot(expr->KeyedLoadFeedbackSlot()))); |
| 2191 Operand(SmiFromSlot(expr->KeyedLoadFeedbackSlot()))); | |
| 2192 } | |
| 2193 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); | 2183 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
| 2194 CallIC(ic, TypeFeedbackId::None()); | 2184 CallIC(ic, TypeFeedbackId::None()); |
| 2195 __ mov(a0, v0); | 2185 __ mov(a0, v0); |
| 2196 __ mov(a1, a0); | 2186 __ mov(a1, a0); |
| 2197 __ sw(a1, MemOperand(sp, 2 * kPointerSize)); | 2187 __ sw(a1, MemOperand(sp, 2 * kPointerSize)); |
| 2198 CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD); | 2188 CallFunctionStub stub(isolate(), 1, CALL_AS_METHOD); |
| 2199 __ CallStub(&stub); | 2189 __ CallStub(&stub); |
| 2200 | 2190 |
| 2201 __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); | 2191 __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
| 2202 __ Drop(1); // The function is still on the stack; drop it. | 2192 __ Drop(1); // The function is still on the stack; drop it. |
| 2203 | 2193 |
| 2204 // if (!result.done) goto l_try; | 2194 // if (!result.done) goto l_try; |
| 2205 __ Move(load_receiver, v0); | 2195 __ Move(load_receiver, v0); |
| 2206 | 2196 |
| 2207 __ push(load_receiver); // save result | 2197 __ push(load_receiver); // save result |
| 2208 __ LoadRoot(load_name, Heap::kdone_stringRootIndex); // "done" | 2198 __ LoadRoot(load_name, Heap::kdone_stringRootIndex); // "done" |
| 2209 if (FLAG_vector_ics) { | 2199 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 2210 __ li(VectorLoadICDescriptor::SlotRegister(), | 2200 Operand(SmiFromSlot(expr->DoneFeedbackSlot()))); |
| 2211 Operand(SmiFromSlot(expr->DoneFeedbackSlot()))); | |
| 2212 } | |
| 2213 CallLoadIC(NOT_CONTEXTUAL); // v0=result.done | 2201 CallLoadIC(NOT_CONTEXTUAL); // v0=result.done |
| 2214 __ mov(a0, v0); | 2202 __ mov(a0, v0); |
| 2215 Handle<Code> bool_ic = ToBooleanStub::GetUninitialized(isolate()); | 2203 Handle<Code> bool_ic = ToBooleanStub::GetUninitialized(isolate()); |
| 2216 CallIC(bool_ic); | 2204 CallIC(bool_ic); |
| 2217 __ Branch(&l_try, eq, v0, Operand(zero_reg)); | 2205 __ Branch(&l_try, eq, v0, Operand(zero_reg)); |
| 2218 | 2206 |
| 2219 // result.value | 2207 // result.value |
| 2220 __ pop(load_receiver); // result | 2208 __ pop(load_receiver); // result |
| 2221 __ LoadRoot(load_name, Heap::kvalue_stringRootIndex); // "value" | 2209 __ LoadRoot(load_name, Heap::kvalue_stringRootIndex); // "value" |
| 2222 if (FLAG_vector_ics) { | 2210 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 2223 __ li(VectorLoadICDescriptor::SlotRegister(), | 2211 Operand(SmiFromSlot(expr->ValueFeedbackSlot()))); |
| 2224 Operand(SmiFromSlot(expr->ValueFeedbackSlot()))); | |
| 2225 } | |
| 2226 CallLoadIC(NOT_CONTEXTUAL); // v0=result.value | 2212 CallLoadIC(NOT_CONTEXTUAL); // v0=result.value |
| 2227 context()->DropAndPlug(2, v0); // drop iter and g | 2213 context()->DropAndPlug(2, v0); // drop iter and g |
| 2228 break; | 2214 break; |
| 2229 } | 2215 } |
| 2230 } | 2216 } |
| 2231 } | 2217 } |
| 2232 | 2218 |
| 2233 | 2219 |
| 2234 void FullCodeGenerator::EmitGeneratorResume(Expression *generator, | 2220 void FullCodeGenerator::EmitGeneratorResume(Expression *generator, |
| 2235 Expression *value, | 2221 Expression *value, |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2356 a2, a3, kRAHasBeenSaved, kDontSaveFPRegs); | 2342 a2, a3, kRAHasBeenSaved, kDontSaveFPRegs); |
| 2357 } | 2343 } |
| 2358 | 2344 |
| 2359 | 2345 |
| 2360 void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { | 2346 void FullCodeGenerator::EmitNamedPropertyLoad(Property* prop) { |
| 2361 SetSourcePosition(prop->position()); | 2347 SetSourcePosition(prop->position()); |
| 2362 Literal* key = prop->key()->AsLiteral(); | 2348 Literal* key = prop->key()->AsLiteral(); |
| 2363 DCHECK(!prop->IsSuperAccess()); | 2349 DCHECK(!prop->IsSuperAccess()); |
| 2364 | 2350 |
| 2365 __ li(LoadDescriptor::NameRegister(), Operand(key->value())); | 2351 __ li(LoadDescriptor::NameRegister(), Operand(key->value())); |
| 2366 if (FLAG_vector_ics) { | 2352 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 2367 __ li(VectorLoadICDescriptor::SlotRegister(), | 2353 Operand(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
| 2368 Operand(SmiFromSlot(prop->PropertyFeedbackSlot()))); | 2354 CallLoadIC(NOT_CONTEXTUAL); |
| 2369 CallLoadIC(NOT_CONTEXTUAL); | |
| 2370 } else { | |
| 2371 CallLoadIC(NOT_CONTEXTUAL, prop->PropertyFeedbackId()); | |
| 2372 } | |
| 2373 } | 2355 } |
| 2374 | 2356 |
| 2375 | 2357 |
| 2376 void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { | 2358 void FullCodeGenerator::EmitNamedSuperPropertyLoad(Property* prop) { |
| 2377 // Stack: receiver, home_object. | 2359 // Stack: receiver, home_object. |
| 2378 SetSourcePosition(prop->position()); | 2360 SetSourcePosition(prop->position()); |
| 2379 Literal* key = prop->key()->AsLiteral(); | 2361 Literal* key = prop->key()->AsLiteral(); |
| 2380 DCHECK(!key->value()->IsSmi()); | 2362 DCHECK(!key->value()->IsSmi()); |
| 2381 DCHECK(prop->IsSuperAccess()); | 2363 DCHECK(prop->IsSuperAccess()); |
| 2382 | 2364 |
| 2383 __ Push(key->value()); | 2365 __ Push(key->value()); |
| 2384 __ CallRuntime(Runtime::kLoadFromSuper, 3); | 2366 __ CallRuntime(Runtime::kLoadFromSuper, 3); |
| 2385 } | 2367 } |
| 2386 | 2368 |
| 2387 | 2369 |
| 2388 void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { | 2370 void FullCodeGenerator::EmitKeyedPropertyLoad(Property* prop) { |
| 2389 SetSourcePosition(prop->position()); | 2371 SetSourcePosition(prop->position()); |
| 2390 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); | 2372 Handle<Code> ic = CodeFactory::KeyedLoadIC(isolate()).code(); |
| 2391 if (FLAG_vector_ics) { | 2373 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 2392 __ li(VectorLoadICDescriptor::SlotRegister(), | 2374 Operand(SmiFromSlot(prop->PropertyFeedbackSlot()))); |
| 2393 Operand(SmiFromSlot(prop->PropertyFeedbackSlot()))); | 2375 CallIC(ic); |
| 2394 CallIC(ic); | |
| 2395 } else { | |
| 2396 CallIC(ic, prop->PropertyFeedbackId()); | |
| 2397 } | |
| 2398 } | 2376 } |
| 2399 | 2377 |
| 2400 | 2378 |
| 2401 void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { | 2379 void FullCodeGenerator::EmitKeyedSuperPropertyLoad(Property* prop) { |
| 2402 // Stack: receiver, home_object, key. | 2380 // Stack: receiver, home_object, key. |
| 2403 SetSourcePosition(prop->position()); | 2381 SetSourcePosition(prop->position()); |
| 2404 | 2382 |
| 2405 __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); | 2383 __ CallRuntime(Runtime::kLoadKeyedFromSuper, 3); |
| 2406 } | 2384 } |
| 2407 | 2385 |
| (...skipping 2219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4627 | 4605 |
| 4628 void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { | 4606 void FullCodeGenerator::EmitLoadJSRuntimeFunction(CallRuntime* expr) { |
| 4629 // Push the builtins object as the receiver. | 4607 // Push the builtins object as the receiver. |
| 4630 Register receiver = LoadDescriptor::ReceiverRegister(); | 4608 Register receiver = LoadDescriptor::ReceiverRegister(); |
| 4631 __ lw(receiver, GlobalObjectOperand()); | 4609 __ lw(receiver, GlobalObjectOperand()); |
| 4632 __ lw(receiver, FieldMemOperand(receiver, GlobalObject::kBuiltinsOffset)); | 4610 __ lw(receiver, FieldMemOperand(receiver, GlobalObject::kBuiltinsOffset)); |
| 4633 __ push(receiver); | 4611 __ push(receiver); |
| 4634 | 4612 |
| 4635 // Load the function from the receiver. | 4613 // Load the function from the receiver. |
| 4636 __ li(LoadDescriptor::NameRegister(), Operand(expr->name())); | 4614 __ li(LoadDescriptor::NameRegister(), Operand(expr->name())); |
| 4637 if (FLAG_vector_ics) { | 4615 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 4638 __ li(VectorLoadICDescriptor::SlotRegister(), | 4616 Operand(SmiFromSlot(expr->CallRuntimeFeedbackSlot()))); |
| 4639 Operand(SmiFromSlot(expr->CallRuntimeFeedbackSlot()))); | 4617 CallLoadIC(NOT_CONTEXTUAL); |
| 4640 CallLoadIC(NOT_CONTEXTUAL); | |
| 4641 } else { | |
| 4642 CallLoadIC(NOT_CONTEXTUAL, expr->CallRuntimeFeedbackId()); | |
| 4643 } | |
| 4644 } | 4618 } |
| 4645 | 4619 |
| 4646 | 4620 |
| 4647 void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { | 4621 void FullCodeGenerator::EmitCallJSRuntimeFunction(CallRuntime* expr) { |
| 4648 ZoneList<Expression*>* args = expr->arguments(); | 4622 ZoneList<Expression*>* args = expr->arguments(); |
| 4649 int arg_count = args->length(); | 4623 int arg_count = args->length(); |
| 4650 | 4624 |
| 4651 // Record source position of the IC call. | 4625 // Record source position of the IC call. |
| 4652 SetSourcePosition(expr->position()); | 4626 SetSourcePosition(expr->position()); |
| 4653 CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS); | 4627 CallFunctionStub stub(isolate(), arg_count, NO_CALL_FUNCTION_FLAGS); |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5068 | 5042 |
| 5069 | 5043 |
| 5070 void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { | 5044 void FullCodeGenerator::VisitForTypeofValue(Expression* expr) { |
| 5071 DCHECK(!context()->IsEffect()); | 5045 DCHECK(!context()->IsEffect()); |
| 5072 DCHECK(!context()->IsTest()); | 5046 DCHECK(!context()->IsTest()); |
| 5073 VariableProxy* proxy = expr->AsVariableProxy(); | 5047 VariableProxy* proxy = expr->AsVariableProxy(); |
| 5074 if (proxy != NULL && proxy->var()->IsUnallocated()) { | 5048 if (proxy != NULL && proxy->var()->IsUnallocated()) { |
| 5075 Comment cmnt(masm_, "[ Global variable"); | 5049 Comment cmnt(masm_, "[ Global variable"); |
| 5076 __ lw(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); | 5050 __ lw(LoadDescriptor::ReceiverRegister(), GlobalObjectOperand()); |
| 5077 __ li(LoadDescriptor::NameRegister(), Operand(proxy->name())); | 5051 __ li(LoadDescriptor::NameRegister(), Operand(proxy->name())); |
| 5078 if (FLAG_vector_ics) { | 5052 __ li(VectorLoadICDescriptor::SlotRegister(), |
| 5079 __ li(VectorLoadICDescriptor::SlotRegister(), | 5053 Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); |
| 5080 Operand(SmiFromSlot(proxy->VariableFeedbackSlot()))); | |
| 5081 } | |
| 5082 // Use a regular load, not a contextual load, to avoid a reference | 5054 // Use a regular load, not a contextual load, to avoid a reference |
| 5083 // error. | 5055 // error. |
| 5084 CallLoadIC(NOT_CONTEXTUAL); | 5056 CallLoadIC(NOT_CONTEXTUAL); |
| 5085 PrepareForBailout(expr, TOS_REG); | 5057 PrepareForBailout(expr, TOS_REG); |
| 5086 context()->Plug(v0); | 5058 context()->Plug(v0); |
| 5087 } else if (proxy != NULL && proxy->var()->IsLookupSlot()) { | 5059 } else if (proxy != NULL && proxy->var()->IsLookupSlot()) { |
| 5088 Comment cmnt(masm_, "[ Lookup slot"); | 5060 Comment cmnt(masm_, "[ Lookup slot"); |
| 5089 Label done, slow; | 5061 Label done, slow; |
| 5090 | 5062 |
| 5091 // Generate code for loading from variables potentially shadowed | 5063 // Generate code for loading from variables potentially shadowed |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5449 Assembler::target_address_at(pc_immediate_load_address)) == | 5421 Assembler::target_address_at(pc_immediate_load_address)) == |
| 5450 reinterpret_cast<uint32_t>( | 5422 reinterpret_cast<uint32_t>( |
| 5451 isolate->builtins()->OsrAfterStackCheck()->entry())); | 5423 isolate->builtins()->OsrAfterStackCheck()->entry())); |
| 5452 return OSR_AFTER_STACK_CHECK; | 5424 return OSR_AFTER_STACK_CHECK; |
| 5453 } | 5425 } |
| 5454 | 5426 |
| 5455 | 5427 |
| 5456 } } // namespace v8::internal | 5428 } } // namespace v8::internal |
| 5457 | 5429 |
| 5458 #endif // V8_TARGET_ARCH_MIPS | 5430 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |