Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index a62462bec4dd3aeb7ecfa1a9d4261c8374d70259..6bab01bb85267500236c5eaf30a851f0a123c646 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -119,7 +119,7 @@ void FullCodeGenerator::Generate() { |
handler_table_ = |
isolate()->factory()->NewFixedArray(function()->handler_count(), TENURED); |
profiling_counter_ = isolate()->factory()->NewJSGlobalPropertyCell( |
- Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget))); |
+ Handle<Smi>(Smi::FromInt(FLAG_interrupt_budget), isolate())); |
SetFunctionPosition(function()); |
Comment cmnt(masm_, "[ function compiled by full code generator"); |
@@ -2304,7 +2304,7 @@ void FullCodeGenerator::VisitCall(Call* expr) { |
VariableProxy* proxy = callee->AsVariableProxy(); |
Property* property = callee->AsProperty(); |
- if (proxy != NULL && proxy->var()->is_possibly_eval()) { |
+ if (proxy != NULL && proxy->var()->is_possibly_eval(isolate())) { |
// In a call to eval, we first call %ResolvePossiblyDirectEval to |
// resolve the function we need to call and the receiver of the call. |
// Then we call the resolved function using the given arguments. |