Revision f230a1cf deps/v8/test/cctest/test-func-name-inference.cc
deps/v8/test/cctest/test-func-name-inference.cc | ||
---|---|---|
51 | 51 |
static void CheckFunctionName(v8::Handle<v8::Script> script, |
52 | 52 |
const char* func_pos_src, |
53 | 53 |
const char* ref_inferred_name) { |
54 |
Isolate* isolate = Isolate::Current();
|
|
54 |
Isolate* isolate = CcTest::i_isolate();
|
|
55 | 55 |
Factory* factory = isolate->factory(); |
56 | 56 |
|
57 | 57 |
// Get script source. |
... | ... | |
82 | 82 |
isolate->debug()->PrepareForBreakPoints(); |
83 | 83 |
Object* shared_func_info_ptr = |
84 | 84 |
isolate->debug()->FindSharedFunctionInfoInScript(i_script, func_pos); |
85 |
CHECK(shared_func_info_ptr != HEAP->undefined_value());
|
|
85 |
CHECK(shared_func_info_ptr != CcTest::heap()->undefined_value());
|
|
86 | 86 |
Handle<SharedFunctionInfo> shared_func_info( |
87 | 87 |
SharedFunctionInfo::cast(shared_func_info_ptr)); |
88 | 88 |
|
Also available in: Unified diff