Some missed three Isolate::Current calls... delete them anyway
BUG=2487 R=yangguo@chromium.org LOG=n Review URL: https://codereview.chromium.org/1466323002 Cr-Commit-Position: refs/heads/master@{#32178}
This commit is contained in:
parent
a61a6f9998
commit
3b3413442f
@ -66,7 +66,7 @@ static bool all_zeroes(const byte* beg, const byte* end) {
|
||||
|
||||
TEST(CopyBytes) {
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Isolate* isolate = CcTest::i_isolate();
|
||||
HandleScope handles(isolate);
|
||||
|
||||
const int data_size = 1 * KB;
|
||||
@ -140,7 +140,7 @@ TEST(CopyBytes) {
|
||||
|
||||
TEST(LoadConstants) {
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Isolate* isolate = CcTest::i_isolate();
|
||||
HandleScope handles(isolate);
|
||||
|
||||
int64_t refConstants[64];
|
||||
@ -182,7 +182,7 @@ TEST(LoadConstants) {
|
||||
|
||||
TEST(LoadAddress) {
|
||||
CcTest::InitializeVM();
|
||||
Isolate* isolate = Isolate::Current();
|
||||
Isolate* isolate = CcTest::i_isolate();
|
||||
HandleScope handles(isolate);
|
||||
|
||||
MacroAssembler assembler(isolate, NULL, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user