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

Side by Side Diff: src/isolate.cc

Issue 12093089: Support pass-through of stub caller arguments (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix bugs Created 7 years, 10 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
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 2102 matching lines...) Expand 10 before | Expand all | Expand 10 after
2113 HandleScope scope(this); 2113 HandleScope scope(this);
2114 Deoptimizer::EnsureCodeForDeoptimizationEntry( 2114 Deoptimizer::EnsureCodeForDeoptimizationEntry(
2115 Deoptimizer::LAZY, 2115 Deoptimizer::LAZY,
2116 kDeoptTableSerializeEntryCount - 1); 2116 kDeoptTableSerializeEntryCount - 1);
2117 } 2117 }
2118 2118
2119 if (!Serializer::enabled()) { 2119 if (!Serializer::enabled()) {
2120 // Ensure that the stub failure trampoline has been generated. 2120 // Ensure that the stub failure trampoline has been generated.
2121 HandleScope scope(this); 2121 HandleScope scope(this);
2122 CodeStub::GenerateFPStubs(); 2122 CodeStub::GenerateFPStubs();
2123 StubFailureTrampolineStub().GetCode(); 2123 int i = 0;
2124 for (; i <= StubFailureTrampolineStub::kMaxExtraExpressionStackCount; ++i) {
2125 StubFailureTrampolineStub(i).GetCode();
2126 }
2124 } 2127 }
2125 2128
2126 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); 2129 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start();
2127 2130
2128 if (FLAG_parallel_marking) { 2131 if (FLAG_parallel_marking) {
2129 if (FLAG_marking_threads < 1) { 2132 if (FLAG_marking_threads < 1) {
2130 FLAG_marking_threads = 1; 2133 FLAG_marking_threads = 1;
2131 } 2134 }
2132 marking_thread_ = new MarkingThread*[FLAG_marking_threads]; 2135 marking_thread_ = new MarkingThread*[FLAG_marking_threads];
2133 for (int i = 0; i < FLAG_marking_threads; i++) { 2136 for (int i = 0; i < FLAG_marking_threads; i++) {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
2267 2270
2268 #ifdef DEBUG 2271 #ifdef DEBUG
2269 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ 2272 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \
2270 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); 2273 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_);
2271 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) 2274 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET)
2272 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) 2275 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET)
2273 #undef ISOLATE_FIELD_OFFSET 2276 #undef ISOLATE_FIELD_OFFSET
2274 #endif 2277 #endif
2275 2278
2276 } } // namespace v8::internal 2279 } } // namespace v8::internal
OLDNEW
« src/frames.cc ('K') | « src/ia32/lithium-ia32.cc ('k') | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698