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

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

Issue 10534006: Remove TLS access for current Zone. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.h ('k') | src/interface.h » ('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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 * int* capture_output_array, 94 * int* capture_output_array,
95 * bool at_start, 95 * bool at_start,
96 * byte* stack_area_base, 96 * byte* stack_area_base,
97 * bool direct_call) 97 * bool direct_call)
98 */ 98 */
99 99
100 #define __ ACCESS_MASM(masm_) 100 #define __ ACCESS_MASM(masm_)
101 101
102 RegExpMacroAssemblerIA32::RegExpMacroAssemblerIA32( 102 RegExpMacroAssemblerIA32::RegExpMacroAssemblerIA32(
103 Mode mode, 103 Mode mode,
104 int registers_to_save) 104 int registers_to_save,
105 : masm_(new MacroAssembler(Isolate::Current(), NULL, kRegExpCodeSize)), 105 Zone* zone)
106 : NativeRegExpMacroAssembler(zone),
107 masm_(new MacroAssembler(Isolate::Current(), NULL, kRegExpCodeSize)),
106 mode_(mode), 108 mode_(mode),
107 num_registers_(registers_to_save), 109 num_registers_(registers_to_save),
108 num_saved_registers_(registers_to_save), 110 num_saved_registers_(registers_to_save),
109 entry_label_(), 111 entry_label_(),
110 start_label_(), 112 start_label_(),
111 success_label_(), 113 success_label_(),
112 backtrack_label_(), 114 backtrack_label_(),
113 exit_label_() { 115 exit_label_() {
114 ASSERT_EQ(0, registers_to_save % 2); 116 ASSERT_EQ(0, registers_to_save % 2);
115 __ jmp(&entry_label_); // We'll write the entry code later. 117 __ jmp(&entry_label_); // We'll write the entry code later.
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1392 } 1394 }
1393 1395
1394 1396
1395 #undef __ 1397 #undef __
1396 1398
1397 #endif // V8_INTERPRETED_REGEXP 1399 #endif // V8_INTERPRETED_REGEXP
1398 1400
1399 }} // namespace v8::internal 1401 }} // namespace v8::internal
1400 1402
1401 #endif // V8_TARGET_ARCH_IA32 1403 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/regexp-macro-assembler-ia32.h ('k') | src/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698