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

Side by Side Diff: src/x64/regexp-macro-assembler-x64.cc

Issue 23480067: remove ISOLATE (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/string-stream.cc ('k') | test/cctest/test-alloc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 980 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 __ bind(&exit_with_exception); 991 __ bind(&exit_with_exception);
992 // Exit with Result EXCEPTION(-1) to signal thrown exception. 992 // Exit with Result EXCEPTION(-1) to signal thrown exception.
993 __ Set(rax, EXCEPTION); 993 __ Set(rax, EXCEPTION);
994 __ jmp(&return_rax); 994 __ jmp(&return_rax);
995 } 995 }
996 996
997 FixupCodeRelativePositions(); 997 FixupCodeRelativePositions();
998 998
999 CodeDesc code_desc; 999 CodeDesc code_desc;
1000 masm_.GetCode(&code_desc); 1000 masm_.GetCode(&code_desc);
1001 Isolate* isolate = ISOLATE; 1001 Isolate* isolate = this->isolate();
1002 Handle<Code> code = isolate->factory()->NewCode( 1002 Handle<Code> code = isolate->factory()->NewCode(
1003 code_desc, Code::ComputeFlags(Code::REGEXP), 1003 code_desc, Code::ComputeFlags(Code::REGEXP),
1004 masm_.CodeObject()); 1004 masm_.CodeObject());
1005 PROFILE(isolate, RegExpCodeCreateEvent(*code, *source)); 1005 PROFILE(isolate, RegExpCodeCreateEvent(*code, *source));
1006 return Handle<HeapObject>::cast(code); 1006 return Handle<HeapObject>::cast(code);
1007 } 1007 }
1008 1008
1009 1009
1010 void RegExpMacroAssemblerX64::GoTo(Label* to) { 1010 void RegExpMacroAssemblerX64::GoTo(Label* to) {
1011 BranchOrBacktrack(no_condition, to); 1011 BranchOrBacktrack(no_condition, to);
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 } 1440 }
1441 } 1441 }
1442 1442
1443 #undef __ 1443 #undef __
1444 1444
1445 #endif // V8_INTERPRETED_REGEXP 1445 #endif // V8_INTERPRETED_REGEXP
1446 1446
1447 }} // namespace v8::internal 1447 }} // namespace v8::internal
1448 1448
1449 #endif // V8_TARGET_ARCH_X64 1449 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/string-stream.cc ('k') | test/cctest/test-alloc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698