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

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

Issue 6771052: Fix non-ia32 build. (Closed)
Patch Set: lint fix Created 9 years, 8 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
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/x64/macro-assembler-x64.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 2009 the V8 project authors. All rights reserved. 1 // Copyright 2009 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 * area is overwritten with the LR register by the RegExp code. When doing a 109 * area is overwritten with the LR register by the RegExp code. When doing a
110 * direct call from generated code, the return address is placed there by 110 * direct call from generated code, the return address is placed there by
111 * the calling code, as in a normal exit frame. 111 * the calling code, as in a normal exit frame.
112 */ 112 */
113 113
114 #define __ ACCESS_MASM(masm_) 114 #define __ ACCESS_MASM(masm_)
115 115
116 RegExpMacroAssemblerARM::RegExpMacroAssemblerARM( 116 RegExpMacroAssemblerARM::RegExpMacroAssemblerARM(
117 Mode mode, 117 Mode mode,
118 int registers_to_save) 118 int registers_to_save)
119 : masm_(new MacroAssembler(NULL, kRegExpCodeSize)), 119 : masm_(new MacroAssembler(Isolate::Current(), NULL, kRegExpCodeSize)),
120 mode_(mode), 120 mode_(mode),
121 num_registers_(registers_to_save), 121 num_registers_(registers_to_save),
122 num_saved_registers_(registers_to_save), 122 num_saved_registers_(registers_to_save),
123 entry_label_(), 123 entry_label_(),
124 start_label_(), 124 start_label_(),
125 success_label_(), 125 success_label_(),
126 backtrack_label_(), 126 backtrack_label_(),
127 exit_label_() { 127 exit_label_() {
128 ASSERT_EQ(0, registers_to_save % 2); 128 ASSERT_EQ(0, registers_to_save % 2);
129 __ jmp(&entry_label_); // We'll write the entry code later. 129 __ jmp(&entry_label_); // We'll write the entry code later.
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex)); 1278 __ ldr(pc, MemOperand(sp, stack_alignment, PostIndex));
1279 } 1279 }
1280 1280
1281 #undef __ 1281 #undef __
1282 1282
1283 #endif // V8_INTERPRETED_REGEXP 1283 #endif // V8_INTERPRETED_REGEXP
1284 1284
1285 }} // namespace v8::internal 1285 }} // namespace v8::internal
1286 1286
1287 #endif // V8_TARGET_ARCH_ARM 1287 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/x64/macro-assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698