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

Side by Side Diff: src/isolate.h

Issue 21022003: Revert new OS and CC detection and related changes since r15923. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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/macro-assembler-ia32.cc ('k') | src/isolate-inl.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 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 Handle<Context> context() { return context_; } 1407 Handle<Context> context() { return context_; }
1408 SaveContext* prev() { return prev_; } 1408 SaveContext* prev() { return prev_; }
1409 1409
1410 // Returns true if this save context is below a given JavaScript frame. 1410 // Returns true if this save context is below a given JavaScript frame.
1411 bool IsBelowFrame(JavaScriptFrame* frame) { 1411 bool IsBelowFrame(JavaScriptFrame* frame) {
1412 return (c_entry_fp_ == 0) || (c_entry_fp_ > frame->sp()); 1412 return (c_entry_fp_ == 0) || (c_entry_fp_ > frame->sp());
1413 } 1413 }
1414 1414
1415 private: 1415 private:
1416 Handle<Context> context_; 1416 Handle<Context> context_;
1417 #if V8_GNUC_PREREQ(4, 1) && !V8_GNUC_PREREQ(4, 3) 1417 #if __GNUC_VERSION__ >= 40100 && __GNUC_VERSION__ < 40300
1418 Handle<Context> dummy_; 1418 Handle<Context> dummy_;
1419 #endif 1419 #endif
1420 SaveContext* prev_; 1420 SaveContext* prev_;
1421 Address c_entry_fp_; 1421 Address c_entry_fp_;
1422 }; 1422 };
1423 1423
1424 1424
1425 class AssertNoContextChange BASE_EMBEDDED { 1425 class AssertNoContextChange BASE_EMBEDDED {
1426 #ifdef DEBUG 1426 #ifdef DEBUG
1427 public: 1427 public:
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 1513
1514 // Mark the native context with out of memory. 1514 // Mark the native context with out of memory.
1515 inline void Context::mark_out_of_memory() { 1515 inline void Context::mark_out_of_memory() {
1516 native_context()->set_out_of_memory(HEAP->true_value()); 1516 native_context()->set_out_of_memory(HEAP->true_value());
1517 } 1517 }
1518 1518
1519 1519
1520 } } // namespace v8::internal 1520 } } // namespace v8::internal
1521 1521
1522 #endif // V8_ISOLATE_H_ 1522 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/isolate-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698