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

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

Issue 6965006: Update mips infrastructure files. (Closed) Base URL: http://github.com/v8/v8.git@bleeding_edge
Patch Set: Fix additional style issues. Created 9 years, 7 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
OLDNEW
1 // Copyright 2006-2010 the V8 project authors. All rights reserved. 1 // Copyright 2006-2010 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 * bool direct_call) 99 * bool direct_call)
100 * The call is performed by NativeRegExpMacroAssembler::Execute() 100 * The call is performed by NativeRegExpMacroAssembler::Execute()
101 * (in regexp-macro-assembler.cc). 101 * (in regexp-macro-assembler.cc).
102 */ 102 */
103 103
104 #define __ ACCESS_MASM(masm_) 104 #define __ ACCESS_MASM(masm_)
105 105
106 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS( 106 RegExpMacroAssemblerMIPS::RegExpMacroAssemblerMIPS(
107 Mode mode, 107 Mode mode,
108 int registers_to_save) 108 int registers_to_save)
109 : masm_(new MacroAssembler(NULL, kRegExpCodeSize)), 109 : masm_(new MacroAssembler(Isolate::Current(), NULL, kRegExpCodeSize)),
110 mode_(mode), 110 mode_(mode),
111 num_registers_(registers_to_save), 111 num_registers_(registers_to_save),
112 num_saved_registers_(registers_to_save), 112 num_saved_registers_(registers_to_save),
113 entry_label_(), 113 entry_label_(),
114 start_label_(), 114 start_label_(),
115 success_label_(), 115 success_label_(),
116 backtrack_label_(), 116 backtrack_label_(),
117 exit_label_() { 117 exit_label_() {
118 ASSERT_EQ(0, registers_to_save % 2); 118 ASSERT_EQ(0, registers_to_save % 2);
119 __ jmp(&entry_label_); // We'll write the entry code later. 119 __ jmp(&entry_label_); // We'll write the entry code later.
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 469 }
470 470
471 471
472 #undef __ 472 #undef __
473 473
474 #endif // V8_INTERPRETED_REGEXP 474 #endif // V8_INTERPRETED_REGEXP
475 475
476 }} // namespace v8::internal 476 }} // namespace v8::internal
477 477
478 #endif // V8_TARGET_ARCH_MIPS 478 #endif // V8_TARGET_ARCH_MIPS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698