Ensure we enable/disable the bootstrapping flag

TBR=jkummerow@chromium.org

Review URL: https://codereview.chromium.org/1213683005.

Cr-Commit-Position: refs/heads/master@{#29424}
This commit is contained in:
Toon Verwaest 2015-07-01 17:39:09 +02:00
parent fdc5c1343c
commit e32f9cfc10

View File

@ -1007,7 +1007,7 @@ THREADED_TEST(PropertyHandlerInPrototype) {
}
bool is_bootstrapping = true;
bool is_bootstrapping = false;
static void PrePropertyHandlerGet(
Local<Name> key, const v8::PropertyCallbackInfo<v8::Value>& info) {
ApiTestFuzzer::Fuzz();
@ -2604,7 +2604,9 @@ THREADED_TEST(InterceptorICGetterExceptions) {
// Generous limit for bootstrapping.
templ->SetHandler(
v8::NamedPropertyHandlerConfiguration(InterceptorICExceptionGetter));
is_bootstrapping = true;
LocalContext context(0, templ, v8::Handle<Value>());
is_bootstrapping = false;
call_ic_function3 = v8_compile("function h(x) { return x; }; h")->Run();
v8::Handle<Value> value = CompileRun(
"function f() {"