Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Unified Diff: src/execution.cc

Issue 2840018: [Isolates] Moved more compilation-related globals (builtins, runtime, &c.)... (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: rebase Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/disassembler.cc ('k') | src/factory.cc » ('j') | src/runtime.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/execution.cc
===================================================================
--- src/execution.cc (revision 4955)
+++ src/execution.cc (working copy)
@@ -431,7 +431,7 @@
Object** args[argc] = argv; \
ASSERT(has_pending_exception != NULL); \
return Call(Isolate::Current()->name##_fun(), \
- Isolate::Current()->builtins(), argc, args, \
+ Isolate::Current()->js_builtins_object(), argc, args, \
has_pending_exception); \
} while (false)
@@ -504,7 +504,8 @@
}
Handle<Object> char_at =
- GetProperty(Isolate::Current()->builtins(), Factory::char_at_symbol());
+ GetProperty(Isolate::Current()->js_builtins_object(),
+ Factory::char_at_symbol());
if (!char_at->IsJSFunction()) {
return Factory::undefined_value();
}
@@ -536,7 +537,7 @@
Object** args[1] = { Handle<Object>::cast(data).location() };
Handle<Object> result =
Call(Isolate::Current()->instantiate_fun(),
- Isolate::Current()->builtins(), 1, args, exc);
+ Isolate::Current()->js_builtins_object(), 1, args, exc);
if (*exc) return Handle<JSFunction>::null();
return Handle<JSFunction>::cast(result);
}
@@ -565,7 +566,7 @@
Object** args[1] = { Handle<Object>::cast(data).location() };
Handle<Object> result =
Call(Isolate::Current()->instantiate_fun(),
- Isolate::Current()->builtins(), 1, args, exc);
+ Isolate::Current()->js_builtins_object(), 1, args, exc);
if (*exc) return Handle<JSObject>::null();
return Handle<JSObject>::cast(result);
}
@@ -577,7 +578,7 @@
bool* exc) {
Object** args[2] = { instance.location(), instance_template.location() };
Execution::Call(Isolate::Current()->configure_instance_fun(),
- Isolate::Current()->builtins(), 2, args, exc);
+ Isolate::Current()->js_builtins_object(), 2, args, exc);
}
@@ -593,7 +594,8 @@
bool caught_exception = false;
Handle<Object> result =
TryCall(Isolate::Current()->get_stack_trace_line_fun(),
- Isolate::Current()->builtins(), argc, args, &caught_exception);
+ Isolate::Current()->js_builtins_object(), argc, args,
+ &caught_exception);
if (caught_exception || !result->IsString()) return Factory::empty_symbol();
return Handle<String>::cast(result);
}
« no previous file with comments | « src/disassembler.cc ('k') | src/factory.cc » ('j') | src/runtime.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698