Replace calls_eval() by calls_non_strict_eval() where possible.
Review URL: http://codereview.chromium.org/8321002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9666 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d7f3985e33
commit
7d89f0f3c8
@ -1128,7 +1128,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var,
|
||||
Scope* s = scope();
|
||||
while (s != NULL) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ ldr(temp, ContextOperand(current, Context::EXTENSION_INDEX));
|
||||
__ tst(temp, temp);
|
||||
@ -1185,7 +1185,7 @@ MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
|
||||
|
||||
for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ ldr(temp, ContextOperand(context, Context::EXTENSION_INDEX));
|
||||
__ tst(temp, temp);
|
||||
|
@ -1109,7 +1109,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var,
|
||||
Scope* s = scope();
|
||||
while (s != NULL) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ cmp(ContextOperand(context, Context::EXTENSION_INDEX),
|
||||
Immediate(0));
|
||||
@ -1168,7 +1168,7 @@ MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
|
||||
|
||||
for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ cmp(ContextOperand(context, Context::EXTENSION_INDEX),
|
||||
Immediate(0));
|
||||
|
@ -1137,7 +1137,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var,
|
||||
Scope* s = scope();
|
||||
while (s != NULL) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ lw(temp, ContextOperand(current, Context::EXTENSION_INDEX));
|
||||
__ Branch(slow, ne, temp, Operand(zero_reg));
|
||||
@ -1191,7 +1191,7 @@ MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
|
||||
|
||||
for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ lw(temp, ContextOperand(context, Context::EXTENSION_INDEX));
|
||||
__ Branch(slow, ne, temp, Operand(zero_reg));
|
||||
|
@ -1085,7 +1085,7 @@ void FullCodeGenerator::EmitLoadGlobalCheckExtensions(Variable* var,
|
||||
Scope* s = scope();
|
||||
while (s != NULL) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ cmpq(ContextOperand(context, Context::EXTENSION_INDEX),
|
||||
Immediate(0));
|
||||
@ -1145,7 +1145,7 @@ MemOperand FullCodeGenerator::ContextSlotOperandCheckExtensions(Variable* var,
|
||||
|
||||
for (Scope* s = scope(); s != var->scope(); s = s->outer_scope()) {
|
||||
if (s->num_heap_slots() > 0) {
|
||||
if (s->calls_eval()) {
|
||||
if (s->calls_non_strict_eval()) {
|
||||
// Check that extension is NULL.
|
||||
__ cmpq(ContextOperand(context, Context::EXTENSION_INDEX),
|
||||
Immediate(0));
|
||||
|
Loading…
Reference in New Issue
Block a user